# Syllabus¶

# Email list¶

The course has an email list that reaches all TAs as well as the professors: stats191-win1617-staff@lists.stanford.edu

**As a general rule, you should send course related to this email
list.**

# Evaluation¶

For those taking 4 units:

- 5 assignments (50%)
- data analysis project (20%)
- final exam (30%) (according to Stanford calendar: T 03/21 @ 8:30AM)

For those taking 3 units:

- 5 assignments (70%)
- final exam (30%) (according to Stanford calendar: T 03/21 @ 8:30AM)

# Schedule & Location¶

MWF 9:30-10:20, NVIDIA Auditorium

# Textbook¶

- Regression Analysis by Example, Chaterjee, Hadi & Price.

# Computing environment¶

We will use R for most calculations. Class notes are in the form of jupyter notebooks.

# Prerequisites¶

An introductory statistics course, such as STATS 60.

# Course description¶

By the end of the course, students should be able to:

- Enter tabular data using R.
- Plot data using R, to help in exploratory data analysis.
- Formulate regression models for the data, while understanding some of the limitations and assumptions implicit in using these models.
- Fit models using R and interpret the output.
- Test for associations in a given model.
- Use diagnostic plots and tests to assess the adequacy of a particular model.
- Find confidence intervals for the effects of different explanatory variables in the model.
- Use some basic model selection procedures, as found in
R, to find a
*best*model in a class of models. - Fit simple ANOVA models in R, treating them as special cases of multiple regression models.
- Fit simple logistic and Poisson regression models.

# Project¶

The data analysis project description describes what is needed for your project.

# Topics¶

- Course introduction and review: HTML, notebook
- Some tips on R: HTML, notebook
- Simple linear regression: HTML, notebook
- Diagnostics for simple linear regression: HTML, notebook
- Multiple linear regression: HTML, notebook
- Diagnostics for multiple linear regression: HTML, notebook
- Interactions and qualitative variables: HTML, notebook
- Analysis of variance: HTML, notebook
- Transformations: HTML, notebook
- Correlated errors: HTML, notebook
- Selection: HTML, notebook
- Penalized regression: HTML, notebook
- Data snooping: HTML, notebook
- Logistic: HTML, notebook
- Poisson: HTML, notebook