Overview 1The plan of this section
Least squares is orthogonal projection. Seeing it that way gives every distribution and test in regression at once.
- The hat matrix (Prop. 1.1) and Cochran's theorem (Lemma 1.2), giving the sampling distribution of and (Thm 1.3).
- The F test for nested models (Thm 1.4), with one-way ANOVA (Example 1.5).
- Confidence and prediction intervals (Prop. 1.6), collinearity (Example 1.7) and model selection (Def. 1.8).
is a projection; projections of normal vectors give , and statistics.