Applied Linear Models

Term

Fall 2026

Updated

November 01, 2026

Linear models permeate statistics. They provide a foundation for applications ranging from modeling observational data to inference in designed experiments to spatial statistics and time series analysis to predictive modeling and more. This course is an introduction to linear models covering standard topics in model specification, estimation, inference, diagnostics, transformations, and several important extensions.

Instructor: Trevor Ruiz (he/him) [email]

Class meetings: TR 12:00pm–1:50pm in 180-272

Office hours: TR 2:30pm–4:00pm in 25-236

Final project due: Thursday 12/17/26 3:30pm

A tentative schedule for the term and detailed course policies can be found in the [course syllabus]. Please note the syllabus is subject to change. Readings, assignments, and materials (notes, scripts, etc.) will be posted below on a rolling basis.

Week 1 (8/24)

Regression and linear algebra review; random variables and random vectors

Week 2 (8/31)

Least squares estimates and their properties

  • Handout 2 [pdf]
  • Homework 2 [pdf], due Thursday 9/10 [solutions]
  • Week 2 slides [html]
  • Scripts:
    • Simulating sampling variability [script]
    • Centering the predictor [script]
    • The shape of the sampling distribution [script]

Week 3 (9/7)

Inference in regression and model diagnostics

  • Handout 3 [pdf]
  • Homework 3 [pdf], due Thursday 9/17 [solutions]
  • Week 3 slides [html]
  • Scripts:
    • Inference and diagnostics [script]

Week 4 (9/14)

Transformations; unusual observations

  • Handout 4 [pdf]
  • Midterm 1 study guide [html]
  • Midterm 1 practice problems [pdf] [solutions]
  • Week 4 slides [html]
  • Scripts:
    • Troubleshooting on simulated data [script]
    • How the data were simulated [script]
    • Computing leverage, standardized residuals, and influence [script]

Week 5 (9/21)

An end-to-end analysis; midterm 1

  • Handout 5 [pdf]
  • Data analysis activity [slides]
  • Scripts:
    • Data analysis activity [script]

Week 6 (9/28)

The general linear model

Week 7 (10/5)

F tests

Week 8 (10/12)

Simulation-based inference; polynomial and nonlinear models

Week 9 (10/19)

Categorical predictors and interactions

  • Handout 9 [pdf]
  • Week 9 slides [html]
  • Model specification activity [pdf]
  • Scripts:
    • polynomial and nonlinear models [script]
    • categorical variables and interactions [script]

Week 10 (10/26)

Variable selection

Week 11 (11/2)

Variable selection cont’d; midterm 2

  • Midterm 2 study guide [html]
  • Midterm 2 practice problems [pdf]