Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2007/ii/paper-4/5i/solution

The normal-model log-likelihood is up to a constant. Differentiating gives the maximum-likelihood estimators
Let . The fitted component and residual are orthogonal jointly normal projections and hence independent. Therefore
The prediction error is normal with mean zero and variance , and is independent of the residual variance estimate. Dividing by the independent estimated standard deviation yields
Thus the prediction interval in a normal linear model is
The extra includes the new observation's independent noise; omitting it would give a confidence interval for its conditional mean instead.

New to topics? Read the docs here!