Math 2.0

Statistics Linear inference and regression Theorem

Gauss–Markov theorem

Builds on General linear modelOrdinary least squaresCovariance matrixBias of an estimatorVariancePositive semidefinite matrixHeteroscedasticity

Statement

Let XX be a fixed real n×pn \times p matrix of rank pp, and let β∈ℝp\beta \in \R^p be an unknown parameter. Let ε\varepsilon be a random vector in ℝn\R^n and y=Xβ+ε.y = X\beta + \varepsilon. Assume the following.

  1. E[ε]=0E[\varepsilon] = 0.
  2. Cov⁡(ε)=σ2In\operatorname{Cov}(\varepsilon) = \sigma^2 I_n for some unknown σ2>0\sigma^2 > 0, so the errors are uncorrelated and homoscedastic.

Let β^=(XTX)−1XTy\hat\beta = (X^T X)^{-1} X^T y be the ordinary least squares estimator. Let β~=Cy\tilde\beta = C y be any estimator with CC a fixed p×np \times n matrix such that E[β~]=βE[\tilde\beta] = \beta for every β∈ℝp\beta \in \R^p. Then β^\hat\beta is unbiased, and the matrix Cov⁡(β~)−Cov⁡(β^)\operatorname{Cov}(\tilde\beta) - \operatorname{Cov}(\hat\beta) is positive semidefinite. In particular, Var⁡(cTβ~)≥Var⁡(cTβ^)\operatorname{Var}(c^T \tilde\beta) \ge \operatorname{Var}(c^T \hat\beta) for every c∈ℝpc \in \R^p.

Remarks

Write C=(XTX)−1XT+DC = (X^T X)^{-1} X^T + D. Unbiasedness for every β\beta forces DX=0D X = 0. Then Cov⁡(β~)=σ2CCT=σ2(XTX)−1+σ2DDT\operatorname{Cov}(\tilde\beta) = \sigma^2 C C^T = \sigma^2 (X^T X)^{-1} + \sigma^2 D D^T, because the cross terms contain DXD X. The matrix DDTD D^T is positive semidefinite, which gives the claim.

For the model yi=μ+εiy_i = \mu + \varepsilon_i, the estimator β^\hat\beta is the sample mean. Here the theorem says that the sample mean has the smallest variance among all weighted averages ∑iciyi\sum_i c_i y_i with ∑ici=1\sum_i c_i = 1.

The errors need not be normal or independent. If the covariance matrix of ε\varepsilon is not a multiple of InI_n, then ordinary least squares is still unbiased but in general no longer best. The theorem compares only linear unbiased estimators: a biased estimator, such as a ridge estimator, can have a smaller mean squared error.

Going deeper

For a student

The hypotheses are only about the first two moments of the errors: mean zero, equal variances and no correlation. When the errors are also normal, a stronger result holds: least squares is then the minimum-variance unbiased estimator among all unbiased estimators, linear or not. When the variances differ or the errors are correlated with a known covariance structure, one transforms the model to restore the hypotheses. That leads to generalized and weighted least squares. The theorem says nothing about biased estimators, and shrinkage methods trade a small bias for a large drop in variance.

Reading path

To understand this page from the ground up, read these 8 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Bias of an estimator concept
  2. Covariance matrix concept
  3. General linear model concept
  4. Heteroscedasticity concept
  5. Ordinary least squares concept
  6. Positive semidefinite matrix concept
  7. Variance concept
  8. Gauss–Markov theorem statement

Where this leads

1 page builds on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Gauss–Markov_theorem
About this page
TagN3YMNMWANM
URIm2://N3YMNMWANM
Kindstatement, theorem
WritingW0 stub
MSC62J05
StatusThis copy of the site has no build data. Run m2 status N3YMNMWANM.
AboutOrdinary least squares, Linear regression
UsesGeneral linear model, Ordinary least squares, Covariance matrix, Bias of an estimator, Variance, Positive semidefinite matrix, Heteroscedasticity
Same as

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

Used by