Course Schedule

Week One: Introduction: Git, R Studio, and the Tidyverse


Week Two: Regression Overview


Week Three: More Regression


Week Four: Data


Week Five


Week Six


Week Seven


Week Eight


Week Nine


Week Ten


Week Eleven


Week Twelve


Week Thirteen


Week Fourteen

  • Monday November 21: no class, fall break
  • Wednesday November 23: no class, fall break
  • Friday November 25: no class, fall break


Week Fifteen


Week Sixteen


Week Seventeen


A PDF of the syllabus is available.

Course Description

This course will introduce linear models and generalized linear models using the software package R. In addition to the necessary linear algebra and statistical computing, the course will emphasize reproducible research using R Markdown, version control with GitHub, and report writing.

Learning Outcomes:

  • Ability to run statistical analyses in R while saving code and output in a single “package”.
  • Ability to interpret computer output from linear models.
  • Understand the derivation of generalized least squares estimates.
  • To know when the Gauss-Markov theorem applies and what it provides.
  • To use diagnostic plots to check the assumptions of linear models.
  • To interpret results from Poisson and logistic regression models.
  • Ability to state the scope of inference for a study.
  • To understand when causal inference can be made from observational studies.

Prerequisites

  • Required: STAT 412 or STAT 512 or similar

Textbooks

  • Regression and Other Stories, by Andrew Gelman, Jennifer Hill, and Aki Vehtari (Preferred)
  • Data Analysis Using Regression and Multilevel/Hierarchical Models, by Andrew Gelman and Jennifer Hill

Additional Resources

Analysis, data visualization, and version control procedures will be implemented with:

  • R / R Studio
  • Git / Github

For additional resources see:

Office Hours

  • Tuesday: 10:30 - 12
  • Friday: 11:30 - 1

Course Policies

Grading Policy

  • 30% of your grade will be determined by weekly homework assignments. Students are allowed and encouraged to work with classmates on homework assignments, but each student is required to complete their own homework.

  • 20% of your grade will be determined by a midterm exam.

  • 20% of your grade will be determined by a final exam.

  • 30% of your grade will be determined by two projects.

Collaboration

University policy states that, unless otherwise specified, students may not collaborate on graded material. Any exceptions to this policy will be stated explicitly for individual assignments. If you have any questions about the limits of collaboration, you are expected to ask for clarification.

In this class students are encouraged to collaborate on homework assignments, but exams and projects should be completed without collaboration.

Academic Misconduct

Section 420 of the Student Conduct Code describes academic misconduct as including but not limited to plagiarism, cheating, multiple submissions, or facilitating others’ misconduct. Possible sanctions for academic misconduct range from an oral reprimand to expulsion from the university.

Disabilities Policy

Federal law mandates the provision of services at the university-level to qualified students with disabilities. If you have a documented disability for which you are or may be requesting an accommodation(s), you are encouraged to contact the Office of Disability Services as soon as possible.

COVID-19 Information

Face masks will be recommended, but not required, for students, faculty and staff in campus buildings at Montana State University. Face coverings can help slow the spread of the virus that causes COVID-19 via droplets from sneezes, coughs or even talking over distances up to 6 feet. Since people can carry and spread the virus without showing any symptoms of it — or with very mild symptoms — wearing a face covering can help protect those around you and the community at large. Montana State University strongly recommends students, faculty and staff wear face masks in indoor public spaces, in accordance with the Centers for Disease Control recommendations. Montana State University encourages students, faculty and staff to take advantage of convenient, on-campus clinics for the COVID-19 vaccine. Schedule your appointment by going to: www.montana.edu/health/coronavirus.

Please evaluate your own health status regularly and refrain from attending class and other on-campus events if you are ill. MSU students who miss class due to illness will be given opportunities to access course materials online. You are encouraged to seek appropriate medical attention for treatment of illness. In the event of contagious illness, please do not come to class or to campus to turn in work. Instead notify me by email about your absence as soon as practical, so that accommodations can be made. Please note that documentation (a Doctor’s note) for medical excuses is not required. MSU University Health Partners - as part their commitment to maintain patient confidentiality, to encourage more appropriate use of healthcare resources, and to support meaningful dialogue between instructors and students - does not provide such documentation.