Prove the Gauss–Markov theorem: under with , and of full column rank, the OLS estimator has the smallest covariance matrix among all linear unbiased estimators. Why does this not rule out ridge regression doing better in MSE?
Supervised learning, Gauss–Markov theorem
Level L5 Expert. Length Long. Nature Mat Mathematical.
What's being asked
A clean matrix proof: any linear unbiased estimator is OLS plus a perturbation with , and the covariance adds a positive semi-definite term.
Key idea
Write any linear unbiased estimator as with . Unbiasedness forces , and then .
Steps
- A linear estimator has the form with a fixed matrix. Write for some matrix .
- Unbiasedness: , using . For this to hold for all we need .
- Covariance: . Expand: .
- The cross terms vanish: and so . This leaves .
- Hence , which is positive semi-definite since .
- Consequently for any vector , . OLS is the best linear unbiased estimator (BLUE). Equality holds only if .
- Why ridge is not excluded: ridge is linear but biased, so it is outside the class of unbiased estimators. By trading a little bias for a big drop in variance it can have smaller MSE (see the ridge MSE result). Gauss–Markov also says nothing about non-linear estimators.
Common mistakes
- Forgetting that is needed for unbiasedness, and so that the cross terms vanish.
- Saying OLS is the best estimator of any kind. It is best only among linear unbiased ones.
- Assuming it needs normal errors. Only zero mean, equal variance and uncorrelated errors are used.
How long your answer should be
One page; 8–10 minutes.
Last checked on 4 December 2026.
Read this
Previous in Supervised learning: Write the optimality (KKT) conditions for the lasso . Using them, what is the smallest at which , and how do you verify that is the solution for , , ?
Next in Supervised learning: How do you prove that the Gaussian kernel is a valid (positive semi-definite) kernel, using only the linear kernel and closure rules?