IMS, Ch. 7
Smith College
Feb 13, 2026
\[ y_i - \bar{y} = y_i + (\hat{y}_i - \hat{y}_i) - \bar{y} \]
Rearrange terms:
\[ \underbrace{y_i - \bar{y}}_{\text{null residual}} = (\underbrace{y_i - \hat{y}_i}_{\text{model residual}}) + (\underbrace{\hat{y}_i - \bar{y}}_{\text{model improvement}}) \]
It can be shown that (not obvious):
\[ \underbrace{\sum_{i} (y_i - \bar{y})^2}_{SST} = \underbrace{\sum_{i} (y_i - \hat{y}_i)^2}_{SSE} + \underbrace{\sum_{i} (\hat{y}_i - \bar{y})^2}_{SSM} \]
Consider the relationship between weight (kilograms) and height (centimeters) of 507 physically active individuals.
height and weight.Recall the RailTrail example
weekday has the form:\[ \widehat{volume} = \hat{\beta}_0 + \hat{\beta}_1 \cdot weekday \]
weekday