Feb 12, 2026
HW 02 due TODAY at 11:59pm
Exam 01: Tuesday, February 17 (in-class + take-home)
Friday’s lab: Exam 01 review - due Sunday at 11:59pm
In-class: 75 minutes during February 17 lecture
Take-home: due February 19 at 9am
If you miss any part of the exam for an excused absence (with academic dean’s note or other official documentation), the final exam grade will be imputed for the exam 01 grade
Exploratory data analysis
Fitting and interpreting linear regression models
Model evaluation
Different types of predictors
Inference for regression
Matrix representation of regression
Hat matrix
Finding the least-squares estimator
Assumptions for least-squares regression
Statistical model (population-level model)
\[ \mathbf{y} = \mathbf{X}\boldsymbol{\beta} + \boldsymbol{\epsilon}, \quad \epsilon \sim N(\mathbf{0}, \sigma^2_{\epsilon}\mathbf{I}) \]
Estimated regression model (sample-level model)
\[ \hat{\mathbf{y}} = \mathbf{X}\hat{\boldsymbol{\beta}}\quad \quad \mathbf{e} = \mathbf{y} - \hat{\mathbf{y}} \]
\[ \mathbf{y} = \mathbf{X}\boldsymbol{\beta} + \boldsymbol{\epsilon} \]
\[ \mathbf{y} = \mathbf{X}\boldsymbol{\beta} + \boldsymbol{\epsilon} \]
Find \(Var(\hat{\boldsymbol{\beta}})\) under the usual assumptions.
Assume \(Var(\boldsymbol{\epsilon}) = \mathbf{XV}\), such that \(\mathbf{V}\) has the appropriate dimensions. All other assumptions hold.
What are the dimensions of \(\mathbf{XV}\)?
Derive \(Var(\hat{\boldsymbol{\beta}})\). What are the dimensions of \(\mathbf{V}\)?
Show
\[ SSR = \mathbf{y}^\mathsf{T}\mathbf{y} - \hat{\boldsymbol{\beta}}^\mathsf{T}\mathbf{X}^\mathsf{T}\mathbf{y} \]