Solution

ID: past-exam-of-the-options-i-course-of-the-university-of-oxford/2004/o/o2/ii/solution

For , the usual unbiased estimator of variance is
The fitted mean lies in the two-dimensional span of the constant design vector and . Orthogonal projection of the Gaussian error onto its complement gives independent standardized normal coordinates. Hence
This residual projection is independent of the fitted-coefficient projection. If maximum likelihood for variance is intended instead, its estimator is , with ; the denominator differs, not the residual degrees of freedom.

New to topics? Read the docs here!