Jan 21, 2025
Lab 01 due on TODAY at 11:59pm
Push work to GitHub repo
Submit final PDF on Gradescope + mark pages for each question
HW 01 will be assigned on Thursday
Root mean square error, RMSE: A measure of the average error (average difference between observed and predicted values of the outcome)
R-squared,
📋 sta221-sp25.netlify.app/ae/ae-01-model-assessment.html
Open ae-01
from last class. Complete Part 2.
When we have a quantitative response,
The simple linear regression model can be represented using vectors and matrices as
What are the dimensions of
Goal: Find estimator
Let
Then
Let
The gradient of
Let
Then the gradient of
If
Proof in HW 01.
Find
Find
The Hessian matrix,
If the Hessian matrix is…
positive-definite, then we have found a minimum.
negative-definite, then we have found a maximum.
neither positive or negative-definite, then we have found a saddle point
Show that
Now that we have
Hat matrix:
Recall that the residuals are the difference between the observed and predicted values
Introduced matrix representation for simple linear regression