Gauss–Markov theorem

Short description: Theorem related to ordinary least squares

Part of a series on

Regression analysis
Models

* Linear regression
* Simple regression
* Polynomial regression
* General linear model

* Generalized linear model
* Discrete choice
* Binomial regression
* Binary regression
* Logistic regression
* Multinomial logit
* Mixed logit
* Probit
* Multinomial probit
* Ordered logit
* Ordered probit
* Poisson

* Multilevel model
* Fixed effects
* Random effects
* Linear mixed-effects model
* Nonlinear mixed-effects model

* Nonlinear regression
* Nonparametric
* Semiparametric
* Robust
* Quantile
* Isotonic
* Principal components
* Least angle
* Local
* Segmented

* Errors-in-variables

Estimation

* Least squares
* Linear
* Non-linear

* Ordinary
* Weighted
* Generalized

* Partial
* Total
* Non-negative
* Ridge regression
* Regularized

* Least absolute deviations
* Iteratively reweighted
* Bayesian
* Bayesian multivariate

Background

* Regression validation
* Mean and predicted response
* Errors and residuals
* Goodness of fit
* Studentized residual
* Gauss–Markov theorem

* v
* t
* e

In statistics, the Gauss–Markov theorem (or simply Gauss theorem for some authors)[1] states that the ordinary least squares (OLS) estimator has the lowest sampling variance within the class of linear unbiased estimators, if the errors in the linear regression model are uncorrelated, have equal variances and expectation value of zero.[2] The errors do not need to be normal for the theorem to apply, nor do they need to be independent and identically distributed (only uncorrelated with mean zero and homoscedastic with finite variance).

The requirement for unbiasedness cannot be dropped, since biased estimators exist with lower variance and mean squared error. For example, the James–Stein estimator (which also drops linearity) and ridge regression typically outperform ordinary least squares. In fact, ordinary least squares is rarely even an admissible estimator, as Stein's phenomenon shows--when estimating more than two unknown variables, ordinary least squares will always perform worse (in mean squared error) than Stein's estimator.

Moreover, the Gauss-Markov theorem does not apply when considering more principled loss functions, such as the assigned likelihood or Kullback–Leibler divergence, except in the limited case of normally-distributed errors.

As a result of these discoveries, statisticians typically motivate ordinary least squares by the principle of maximum likelihood instead, or by considering it as a kind of approximate Bayesian inference.

The theorem is named after Carl Friedrich Gauss and Andrey Markov. Gauss provided the original proof,[3] which was later substantially generalized by Markov.[4]

## Contents

* 1 Statement
* 1.1 Remark
* 2 Proof
* 2.1 Remarks on the proof
* 3 Generalized least squares estimator
* 4 Gauss–Markov theorem as stated in econometrics
* 4.1 Linearity
* 4.2 Strict exogeneity
* 4.3 Full rank
* 4.4 Spherical errors
* 5 See also
* 5.1 Other unbiased statistics
* 6 References
* 7 Further reading
* 8 External links

## Statement

Suppose we have, in matrix notation, the linear relationship

[math]\displaystyle{ y = X \beta + \varepsilon,\quad (y,\varepsilon \in \mathbb{R}^n, \beta \in \mathbb{R}^K \text{ and } X\in\mathbb{R}^{n\times K}) }[/math]

expanding to,

[math]\displaystyle{ y_i=\sum_{j=1}^{K}\beta_j X_{ij}+\varepsilon_i \quad \forall i=1,2,\ldots,n }[/math]

where [math]\displaystyle{ \beta_j }[/math] are non-random but unobservable parameters, [math]\displaystyle{ X_{ij} }[/math] are non-random and observable (called the "explanatory variables"), [math]\displaystyle{ \varepsilon_i }[/math] are random, and so [math]\displaystyle{ y_i }[/math] are random. The random variables [math]\displaystyle{ \varepsilon_i }[/math] are called the "disturbance", "noise" or simply "error" (will be contrasted with "residual" later in the article; see errors and residuals in statistics). Note that to include a constant in the model above, one can choose to introduce the constant as a variable [math]\displaystyle{ \beta_{K+1} }[/math] with a newly introduced last column of X being unity i.e., [math]\displaystyle{ X_{i(K+1)} = 1 }[/math] for all [math]\displaystyle{ i }[/math]. Note that though [math]\displaystyle{ y_i, }[/math] as sample responses, are observable, the following statements and arguments including assumptions, proofs and the others assume under the only condition of knowing [math]\displaystyle{ X_{ij}, }[/math] but not [math]\displaystyle{ y_i. }[/math]

The Gauss–Markov assumptions concern the set of error random variables, [math]\displaystyle{ \varepsilon_i }[/math]:

* They have mean zero: [math]\displaystyle{ \operatorname{E}[\varepsilon_i]=0. }[/math]
* They are homoscedastic, that is all have the same finite variance: [math]\displaystyle{ \operatorname{Var}(\varepsilon_i)= \sigma^2 \lt \infty }[/math] for all [math]\displaystyle{ i }[/math] and
* Distinct error terms are uncorrelated: [math]\displaystyle{ \text{Cov}(\varepsilon_i,\varepsilon_j) = 0, \forall i \neq j. }[/math]

A linear estimator of [math]\displaystyle{ \beta_j }[/math] is a linear combination

[math]\displaystyle{ \widehat\beta_j = c_{1j}y_1+\cdots+c_{nj}y_n }[/math]

in which the coefficients [math]\displaystyle{ c_{ij} }[/math] are not allowed to depend on the underlying coefficients [math]\displaystyle{ \beta_j }[/math], since those are not observable, but are allowed to depend on the values [math]\displaystyle{ X_{ij} }[/math], since these data are observable. (The dependence of the coefficients on each [math]\displaystyle{ X_{ij} }[/math] is typically nonlinear; the estimator is linear in each [math]\displaystyle{ y_i }[/math] and hence in each random [math]\displaystyle{ \varepsilon, }[/math] which is why this is "linear" regression.) The estimator is said to be unbiased if and only if

[math]\displaystyle{ \operatorname{E}\left [\widehat\beta_j \right ]=\beta_j }[/math]

regardless of the values of [math]\displaystyle{ X_{ij} }[/math]. Now, let [math]\displaystyle{ \sum_{j=1}^K\lambda_j\beta_j }[/math] be some linear combination of the coefficients. Then the mean squared error of the corresponding estimation is

[math]\displaystyle{ \operatorname{E} \left [\left (\sum_{j=1}^K\lambda_j \left(\widehat\beta_j-\beta_j \right ) \right)^2\right ], }[/math]

in other words, it is the expectation of the square of the weighted sum (across parameters) of the differences between the estimators and the corresponding parameters to be estimated. (Since we are considering the case in which all the parameter estimates are unbiased, this mean squared error is the same as the variance of the linear combination.) The best linear unbiased estimator (BLUE) of the vector [math]\displaystyle{ \beta }[/math] of parameters [math]\displaystyle{ \beta_j }[/math] is one with the smallest mean squared error for every vector [math]\displaystyle{ \lambda }[/math] of linear combination parameters. This is equivalent to the condition that

[math]\displaystyle{ \operatorname{Var}\left(\widetilde\beta\right)- \operatorname{Var} \left( \widehat \beta \right) }[/math]

is a positive semi-definite matrix for every other linear unbiased estimator [math]\displaystyle{ \widetilde\beta }[/math].

The ordinary least squares estimator (OLS) is the function

[math]\displaystyle{ \widehat\beta=(X^\operatorname{T}X)^{-1}X^\operatorname{T}y }[/math]

of [math]\displaystyle{ y }[/math] and [math]\displaystyle{ X }[/math] (where [math]\displaystyle{ X^\operatorname{T} }[/math] denotes the transpose of [math]\displaystyle{ X }[/math]) that minimizes the sum of squares of residuals (misprediction amounts):

[math]\displaystyle{ \sum_{i=1}^n \left(y_i-\widehat{y}_i\right)^2=\sum_{i=1}^n \left(y_i-\sum_{j=1}^K \widehat\beta_j X_{ij}\right)^2. }[/math]

The theorem now states that the OLS estimator is a best linear unbiased estimator (BLUE).

The main idea of the proof is that the least-squares estimator is uncorrelated with every linear unbiased estimator of zero, i.e., with every linear combination [math]\displaystyle{ a_1y_1+\cdots+a_ny_n }[/math] whose coefficients do not depend upon the unobservable [math]\displaystyle{ \beta }[/math] but whose expected value is always zero.

### Remark

Proof that the OLS indeed minimizes the sum of squares of residuals may proceed as follows with a calculation of the Hessian matrix and showing that it is positive definite.

The MSE function we want to minimize is [math]\displaystyle{ f(\beta_0,\beta_1,\dots,\beta_p) = \sum_{i=1}^n (y_i-\beta_0-\beta_1x_{i1}-\dots-\beta_px_{ip})^2 }[/math] for a multiple regression model with p variables. The first derivative is [math]\displaystyle{ \begin{aligned} \frac{d}{d\boldsymbol{\beta}}f &= -2X^\operatorname{T} \left(\mathbf{y}-X\boldsymbol{\beta}\right)\\\ &=-2\begin{bmatrix} \sum_{i=1}^{n} (y_i - \dots - \beta_px_{ip})\\\ \sum_{i=1}^nx_{i1} (y_i-\dots-\beta_px_{ip})\\\ \vdots\\\ \sum_{i=1}^nx_{ip} (y_i-\dots-\beta_px_{ip}) \end{bmatrix}\\\ &= \mathbf{0}_{p+1}, \end{aligned} }[/math] where [math]\displaystyle{ X^\operatorname{T} }[/math] is the design matrix [math]\displaystyle{ X=\begin{bmatrix} 1 & x_{11} & \cdots & x_{1p}\\\ 1 & x_{21} & \cdots & x_{2p}\\\ &&\vdots\\\ 1 & x_{n1} & \cdots & x_{np} \end{bmatrix}\in \R^{n\times(p+1)}; \qquad n\geq p+1 }[/math]

The Hessian matrix of second derivatives is [math]\displaystyle{ \mathcal{H} = 2\begin{bmatrix} n & \sum_{i=1}^n x_{i1} & \cdots & \sum_{i=1}^n x_{ip} \\\ \sum_{i=1}^n x_{i1}& \sum_{i=1}^n x_{i1}^2 & \cdots & \sum_{i=1}^nx_{i1}x_{ip}\\\ \vdots & \vdots &\ddots & \vdots \\\ \sum_{i=1}^n x_{ip} & \sum_{i=1}^n x_{ip}x_{i1}& \cdots & \sum_{i=1}^n x_{ip}^2 \end{bmatrix} = 2X^\operatorname{T}X }[/math]

Assuming the columns of [math]\displaystyle{ X }[/math] are linearly independent so that [math]\displaystyle{ X^\operatorname{T} X }[/math] is invertible, let [math]\displaystyle{ X=\begin{bmatrix}\mathbf{v_1}& \mathbf{v_2}& \cdots & \mathbf{v}_{p+1}\end{bmatrix} }[/math], then [math]\displaystyle{ k_1\mathbf{v_1} + \dots + k_{p+1} \mathbf{v}_{p+1} = \mathbf 0\iff k_1= \dots =k_{p+1}=0 }[/math]

Now let [math]\displaystyle{ \mathbf{k} = (k_1,\dots,k_{p+1})^T \in \R^{(p+1)\times 1} }[/math] be an eigenvector of [math]\displaystyle{ \mathcal{H} }[/math].

[math]\displaystyle{ \mathbf{k} \ne \mathbf{0} \implies \left(k_1\mathbf{v_1}+\dots+k_{p+1}\mathbf{v}_{p+1}\right)^2 \gt 0 }[/math]

In terms of vector multiplication, this means [math]\displaystyle{ \begin{bmatrix} k_1 & \cdots & k_{p+1} \end{bmatrix} \begin{bmatrix}\mathbf{v_1} \\\ \vdots \\\ \mathbf{v}_{p+1}\end{bmatrix} \begin{bmatrix}\mathbf{v_1} & \cdots & \mathbf{v}_{p+1}\end{bmatrix} \begin{bmatrix}k_1 \\\ \vdots\\\ k_{p+1}\end{bmatrix} = \mathbf{k}^\operatorname{T}\mathcal{H}\mathbf{k} = \lambda \mathbf{k}^\operatorname{T}\mathbf{k}\gt 0 }[/math] where [math]\displaystyle{ \lambda }[/math] is the eigenvalue corresponding to [math]\displaystyle{ \mathbf{k} }[/math]. Moreover, [math]\displaystyle{ \mathbf{k}^\operatorname{T}\mathbf{k} = \sum_{i=1}^{p+1}k_i^2 \gt 0 \implies \lambda \gt 0 }[/math]

Finally, as eigenvector [math]\displaystyle{ \mathbf{k} }[/math] was arbitrary, it means all eigenvalues of [math]\displaystyle{ \mathcal{H} }[/math] are positive, therefore [math]\displaystyle{ \mathcal{H} }[/math] is positive definite. Thus, [math]\displaystyle{ \boldsymbol{\beta} = \left(X^\operatorname{T}X\right)^{-1}X^\operatorname{T}Y }[/math] is indeed a global minimum.

Or, just see that for all vectors [math]\displaystyle{ \mathbf{v}, \mathbf{v}^\operatorname{T} X^\operatorname{T} X \mathbf{v} = \|\mathbf{X}\mathbf{v}\|^2 \ge 0 }[/math]. So the Hessian is positive definite if full rank.

## Proof

Let [math]\displaystyle{ \tilde\beta = Cy }[/math] be another linear estimator of [math]\displaystyle{ \beta }[/math] with [math]\displaystyle{ C = (X^\operatorname{T}X)^{-1}X^\operatorname{T} + D }[/math] where [math]\displaystyle{ D }[/math] is a [math]\displaystyle{ K \times n }[/math] non-zero matrix. As we're restricting to unbiased estimators, minimum mean squared error implies minimum variance. The goal is therefore to show that such an estimator has a variance no smaller than that of [math]\displaystyle{ \widehat\beta, }[/math] the OLS estimator. We calculate:

[math]\displaystyle{ \begin{align} \operatorname{E} \left[ \tilde\beta \right] &= \operatorname{E}[Cy] \\\ &= \operatorname{E} \left [\left ((X^\operatorname{T}X)^{-1}X^\operatorname{T} + D \right )(X\beta + \varepsilon) \right ]\\\ &= \left ((X^\operatorname{T}X)^{-1}X^\operatorname{T} + D \right )X\beta + \left ((X^\operatorname{T}X)^{-1}X^\operatorname{T} + D \right ) \operatorname{E}[\varepsilon] \\\ &= \left ((X^\operatorname{T}X)^{-1}X^\operatorname{T} + D \right )X\beta && \operatorname{E}[\varepsilon] =0 \\\ &= (X^\operatorname{T}X)^{-1}X^\operatorname{T}X\beta + DX\beta \\\ &= (I_K + DX)\beta. \\\ \end{align} }[/math]

Therefore, since [math]\displaystyle{ \beta }[/math] is unobservable, [math]\displaystyle{ \tilde\beta }[/math] is unbiased if and only if [math]\displaystyle{ DX = 0 }[/math]. Then:

[math]\displaystyle{ \begin{align} \operatorname{Var}\left(\tilde\beta\right) &= \operatorname{Var}(Cy) \\\ &= C \text{ Var}(y)C^\operatorname{T} \\\ &= \sigma^2 CC^\operatorname{T} \\\ &= \sigma^2 \left ((X^\operatorname{T}X)^{-1}X^\operatorname{T} + D \right ) \left (X(X^\operatorname{T}X)^{-1} + D^\operatorname{T} \right ) \\\ &= \sigma^2 \left ((X^\operatorname{T}X)^{-1}X^\operatorname{T}X(X^\operatorname{T}X)^{-1} + (X^\operatorname{T}X)^{-1}X^\operatorname{T}D^\operatorname{T} + DX(X^\operatorname{T}X)^{-1} + DD^\operatorname{T} \right) \\\ &= \sigma^2(X^\operatorname{T}X)^{-1} + \sigma^2(X^\operatorname{T}X)^{-1} (DX)^\operatorname{T} + \sigma^2 DX (X^\operatorname{T}X)^{-1} + \sigma^2DD^\operatorname{T} \\\ &= \sigma^2(X^\operatorname{T}X)^{-1}+ \sigma^2DD^\operatorname{T} && DX =0 \\\ &= \operatorname{Var}\left(\widehat\beta\right) + \sigma^2DD^\operatorname{T} && \sigma^2(X^\operatorname{T}X)^{-1} = \operatorname{Var}\left(\widehat\beta\right) \end{align} }[/math]

Since [math]\displaystyle{ DD^\operatorname{T} }[/math] is a positive semidefinite matrix, [math]\displaystyle{ \operatorname{Var}\left( \tilde \beta \right) }[/math] exceeds [math]\displaystyle{ \operatorname{Var}\left(\widehat\beta\right) }[/math] by a positive semidefinite matrix.

### Remarks on the proof

As it has been stated before, the condition of [math]\displaystyle{ \operatorname{Var} \left( \tilde \beta \right)- \operatorname{Var} \left(\widehat\beta\right) }[/math] is a positive semidefinite matrix is equivalent to the property that the best linear unbiased estimator of [math]\displaystyle{ \ell^\operatorname{T}\beta }[/math] is [math]\displaystyle{ \ell^\operatorname{T}\widehat\beta }[/math] (best in the sense that it has minimum variance). To see this, let [math]\displaystyle{ \ell^\operatorname{T}\tilde\beta }[/math] another linear unbiased estimator of [math]\displaystyle{ \ell^\operatorname{T}\beta }[/math].

[math]\displaystyle{ \begin{align} \operatorname{Var}\left(\ell^\operatorname{T}\tilde\beta\right) &= \ell^\operatorname{T} \operatorname{Var} \left(\tilde\beta\right) \ell \\\ &=\sigma^2 \ell^\operatorname{T} (X^\operatorname{T}X)^{-1}\ell+\ell^\operatorname{T}DD^\operatorname{T}\ell \\\ &= \operatorname{Var}\left(\ell^\operatorname{T}\widehat\beta\right)+(D^\operatorname{T}\ell)^t(D^\operatorname{T}\ell) && \sigma^2 \ell^\operatorname{T} (X^\operatorname{T}X)^{-1}\ell = \operatorname{Var}\left(\ell^\operatorname{T}\widehat\beta\right) \\\ &= \operatorname{Var}\left(\ell^\operatorname{T}\widehat\beta\right) +\|D^\operatorname{T}\ell\|\\\ & \geq \operatorname{Var}\left(\ell^\operatorname{T}\widehat\beta\right) \end{align} }[/math]

Moreover, equality holds if and only if [math]\displaystyle{ D^\operatorname{T}\ell=0 }[/math]. We calculate

[math]\displaystyle{ \begin{align} \ell^\operatorname{T}\tilde\beta &= \ell^\operatorname{T} \left (((X^\operatorname{T}X)^{-1}X^\operatorname{T} + D) Y \right ) && \text{ from above}\\\ &= \ell^\operatorname{T}(X^\operatorname{T}X)^{-1}X^\operatorname{T}Y + \ell^\operatorname{T}DY \\\ &= \ell^\operatorname{T}\widehat\beta +(D^\operatorname{T}\ell)^t Y \\\ &=\ell^\operatorname{T}\widehat\beta && D^\operatorname{T}\ell = 0 \end{align} }[/math]

This proves that the equality holds if and only if [math]\displaystyle{ \ell^\operatorname{T}\tilde\beta=\ell^\operatorname{T}\widehat\beta }[/math] which gives the uniqueness of the OLS estimator as a BLUE.

## Generalized least squares estimator

The generalized least squares (GLS), developed by Aitken,[5] extends the Gauss–Markov theorem to the case where the error vector has a non-scalar covariance matrix.[6] The Aitken estimator is also a BLUE.

## Gauss–Markov theorem as stated in econometrics

In most treatments of OLS, the regressors (parameters of interest) in the design matrix [math]\displaystyle{ \mathbf{X} }[/math] are assumed to be fixed in repeated samples. This assumption is considered inappropriate for a predominantly nonexperimental science like econometrics.[7] Instead, the assumptions of the Gauss–Markov theorem are stated conditional on [math]\displaystyle{ \mathbf{X} }[/math].

### Linearity

The dependent variable is assumed to be a linear function of the variables specified in the model. The specification must be linear in its parameters. This does not mean that there must be a linear relationship between the independent and dependent variables. The independent variables can take non-linear forms as long as the parameters are linear. The equation [math]\displaystyle{ y = \beta_{0} + \beta_{1} x^2, }[/math] qualifies as linear while [math]\displaystyle{ y = \beta_{0} + \beta_{1}^2 x }[/math] can be transformed to be linear by replacing [math]\displaystyle{ \beta_{1}^2 }[/math] by another parameter, say [math]\displaystyle{ \gamma }[/math]. An equation with a parameter dependent on an independent variable does not qualify as linear, for example [math]\displaystyle{ y = \beta_{0} + \beta_{1}(x) \cdot x }[/math], where [math]\displaystyle{ \beta_{1}(x) }[/math] is a function of [math]\displaystyle{ x }[/math].

Data transformations are often used to convert an equation into a linear form. For example, the Cobb–Douglas function—often used in economics—is nonlinear:

[math]\displaystyle{ Y = A L^\alpha K^{1 - \alpha} e^\varepsilon }[/math]

But it can be expressed in linear form by taking the natural logarithm of both sides:[8]

[math]\displaystyle{ \ln Y=\ln A + \alpha \ln L + (1 - \alpha) \ln K + \varepsilon = \beta_0 + \beta_1 \ln L + \beta_2 \ln K + \varepsilon }[/math]

This assumption also covers specification issues: assuming that the proper functional form has been selected and there are no omitted variables.

One should be aware, however, that the parameters that minimize the residuals of the transformed equation do not necessarily minimize the residuals of the original equation.

### Strict exogeneity

For all [math]\displaystyle{ n }[/math] observations, the expectation—conditional on the regressors—of the error term is zero:[9]

[math]\displaystyle{ \operatorname{E}[\,\varepsilon_{i}\mid \mathbf{X} ] = \operatorname{E}[\,\varepsilon_{i}\mid \mathbf{x}_{1}, \dots, \mathbf{x}_{n} ] = 0. }[/math]

where [math]\displaystyle{ \mathbf{x}_i = \begin{bmatrix} x_{i1} & x_{i2} & \cdots & x_{ik} \end{bmatrix}^{\operatorname{T}} }[/math] is the data vector of regressors for the ith observation, and consequently [math]\displaystyle{ \mathbf{X} = \begin{bmatrix} \mathbf{x}_{1}^{\operatorname{T}} & \mathbf{x}_{2}^{\operatorname{T}} & \cdots & \mathbf{x}_{n}^{\operatorname{T}} \end{bmatrix}^{\operatorname{T}} }[/math] is the data matrix or design matrix.

Geometrically, this assumption implies that [math]\displaystyle{ \mathbf{x}_{i} }[/math] and [math]\displaystyle{ \varepsilon_{i} }[/math] are orthogonal to each other, so that their inner product (i.e., their cross moment) is zero.

[math]\displaystyle{ \operatorname{E}[\,\mathbf{x}_{j} \cdot \varepsilon_{i}\,] = \begin{bmatrix} \operatorname{E}[\,{x}_{j1} \cdot \varepsilon_{i}\,] \\\ \operatorname{E}[\,{x}_{j2} \cdot \varepsilon_{i}\,] \\\ \vdots \\\ \operatorname{E}[\,{x}_{jk} \cdot \varepsilon_{i}\,] \end{bmatrix} = \mathbf{0} \quad \text{for all } i, j \in n }[/math]

This assumption is violated if the explanatory variables are measured with error, or are endogenous.[10] Endogeneity can be the result of simultaneity, where causality flows back and forth between both the dependent and independent variable. Instrumental variable techniques are commonly used to address this problem.

### Full rank

The sample data matrix [math]\displaystyle{ \mathbf{X} }[/math] must have full column rank.

[math]\displaystyle{ \operatorname{rank}(\mathbf{X}) = k }[/math]

Otherwise [math]\displaystyle{ \mathbf{X}^\operatorname{T} \mathbf{X} }[/math] is not invertible and the OLS estimator cannot be computed.

A violation of this assumption is perfect multicollinearity, i.e. some explanatory variables are linearly dependent. One scenario in which this will occur is called "dummy variable trap," when a base dummy variable is not omitted resulting in perfect correlation between the dummy variables and the constant term.[11]

Multicollinearity (as long as it is not "perfect") can be present resulting in a less efficient, but still unbiased estimate. The estimates will be less precise and highly sensitive to particular sets of data.[12] Multicollinearity can be detected from condition number or the variance inflation factor, among other tests.

### Spherical errors

The outer product of the error vector must be spherical.

[math]\displaystyle{ \operatorname{E}[\,\boldsymbol{\varepsilon} \boldsymbol{\varepsilon}^{\operatorname{T}} \mid \mathbf{X} ] = \operatorname{Var}[\,\boldsymbol{\varepsilon} \mid \mathbf{X} ] = \begin{bmatrix} \sigma^{2} & 0 & \cdots & 0 \\\ 0 & \sigma^{2} & \cdots & 0 \\\ \vdots & \vdots & \ddots & \vdots \\\ 0 & 0 & \cdots & \sigma^{2} \end{bmatrix} = \sigma^{2} \mathbf{I} \quad \text{with } \sigma^{2} \gt 0 }[/math]

This implies the error term has uniform variance (homoscedasticity) and no serial correlation.[13] If this assumption is violated, OLS is still unbiased, but inefficient. The term "spherical errors" will describe the multivariate normal distribution: if [math]\displaystyle{ \operatorname{Var}[\,\boldsymbol{\varepsilon}\mid \mathbf{X} ] = \sigma^{2} \mathbf{I} }[/math] in the multivariate normal density, then the equation [math]\displaystyle{ f(\varepsilon)=c }[/math] is the formula for a ball centered at μ with radius σ in n-dimensional space.[14]

Heteroskedasticity occurs when the amount of error is correlated with an independent variable. For example, in a regression on food expenditure and income, the error is correlated with income. Low income people generally spend a similar amount on food, while high income people may spend a very large amount or as little as low income people spend. Heteroskedastic can also be caused by changes in measurement practices. For example, as statistical offices improve their data, measurement error decreases, so the error term declines over time.

This assumption is violated when there is autocorrelation. Autocorrelation can be visualized on a data plot when a given observation is more likely to lie above a fitted line if adjacent observations also lie above the fitted regression line. Autocorrelation is common in time series data where a data series may experience "inertia." If a dependent variable takes a while to fully absorb a shock. Spatial autocorrelation can also occur geographic areas are likely to have similar errors. Autocorrelation may be the result of misspecification such as choosing the wrong functional form. In these cases, correcting the specification is one possible way to deal with autocorrelation.

In the presence of spherical errors, the generalized least squares estimator can be shown to be BLUE.[6]

## See also

* Independent and identically distributed random variables
* Linear regression
* Measurement uncertainty

### Other unbiased statistics

* Best linear unbiased prediction (BLUP)
* Minimum-variance unbiased estimator (MVUE)

## References

1. ↑ See chapter 7 of Johnson, R.A.; Wichern, D.W. (2002). Applied multivariate statistical analysis. 5. Prentice hall.
2. ↑ Theil, Henri (1971). "Best Linear Unbiased Estimation and Prediction". Principles of Econometrics. New York: John Wiley & Sons. pp. 119–124. ISBN 0-471-85845-5. https://archive.org/details/principlesofecon0000thei.
3. ↑ Plackett, R. L. (1949). "A Historical Note on the Method of Least Squares". Biometrika 36 (3/4): 458–460. doi:10.2307/2332682.
4. ↑ David, F. N.; Neyman, J. (1938). "Extension of the Markoff theorem on least squares". Statistical Research Memoirs 2: 105–116. OCLC 4025782.
5. ↑ Aitken, A. C. (1935). "On Least Squares and Linear Combinations of Observations". Proceedings of the Royal Society of Edinburgh 55: 42–48. doi:10.1017/S0370164600014346.
6. ↑ 6.0 6.1 Huang, David S. (1970). Regression and Econometric Methods. New York: John Wiley & Sons. pp. 127–147. ISBN 0-471-41754-8. https://archive.org/details/regressioneconom0000huan.
7. ↑ Hayashi, Fumio (2000). Econometrics. Princeton University Press. p. 13. ISBN 0-691-01018-8. https://books.google.com/books?id=QyIW8WUIyzcC&pg=PA13.
8. ↑ Walters, A. A. (1970). An Introduction to Econometrics. New York: W. W. Norton. p. 275. ISBN 0-393-09931-8.
9. ↑ Hayashi, Fumio (2000). Econometrics. Princeton University Press. p. 7. ISBN 0-691-01018-8. https://books.google.com/books?id=QyIW8WUIyzcC&pg=PA7.
10. ↑ Johnston, John (1972). Econometric Methods (Second ed.). New York: McGraw-Hill. pp. 267–291. ISBN 0-07-032679-7. https://archive.org/details/econometricmetho0000john_t7q9/page/267.
11. ↑ Wooldridge, Jeffrey (2012). Introductory Econometrics (Fifth international ed.). South-Western. p. 220. ISBN 978-1-111-53439-4. https://archive.org/details/introductoryecon00wool_406.
12. ↑ Johnston, John (1972). Econometric Methods (Second ed.). New York: McGraw-Hill. pp. 159–168. ISBN 0-07-032679-7. https://archive.org/details/econometricmetho0000john_t7q9/page/159.
13. ↑ Hayashi, Fumio (2000). Econometrics. Princeton University Press. p. 10. ISBN 0-691-01018-8. https://books.google.com/books?id=QyIW8WUIyzcC&pg=PA10.
14. ↑ Ramanathan, Ramu (1993). "Nonspherical Disturbances". Statistical Methods in Econometrics. Academic Press. pp. 330–351. ISBN 0-12-576830-3. https://archive.org/details/statisticalmetho00rama.

## Further reading

* Davidson, James (2000). "Statistical Analysis of the Regression Model". Econometric Theory. Oxford: Blackwell. pp. 17–36. ISBN 0-631-17837-6.
* Goldberger, Arthur (1991). "Classical Regression". A Course in Econometrics. Cambridge: Harvard University Press. pp. 160–169. ISBN 0-674-17544-1. https://archive.org/details/courseeconometri00gold_524.
* Theil, Henri (1971). "Least Squares and the Standard Linear Model". Principles of Econometrics. New York: John Wiley & Sons. pp. 101–162. ISBN 0-471-85845-5. https://archive.org/details/principlesofecon0000thei.

## External links

* Earliest Known Uses of Some of the Words of Mathematics: G (brief history and explanation of the name)
* Proof of the Gauss Markov theorem for multiple linear regression (makes use of matrix algebra)
* A Proof of the Gauss Markov theorem using geometry

* v
* t
* e

Least squares and regression analysis

Computational statistics|

* Least squares
* Linear least squares
* Non-linear least squares
* Iteratively reweighted least squares

Correlation and dependence|

* Pearson product-moment correlation
* Rank correlation (Spearman's rho
* Kendall's tau)
* Partial correlation
* Confounding variable

Regression analysis|

* Ordinary least squares
* Partial least squares
* Total least squares
* Ridge regression

Regression as a
statistical model|

| Linear regression|

* Simple linear regression
* Ordinary least squares
* Generalized least squares
* Weighted least squares
* General linear model

|

Predictor structure|

* Polynomial regression
* Growth curve (statistics)
* Segmented regression
* Local regression

Non-standard|

* Nonlinear regression
* Nonparametric
* Semiparametric
* Robust
* Quantile
* Isotonic

Non-normal errors|

* Generalized linear model
* Binomial
* Poisson
* Logistic

Decomposition of variance|

* Analysis of variance
* Analysis of covariance
* Multivariate AOV

Model exploration|

* Stepwise regression
* Model selection
* Mallows's Cp
* AIC
* BIC
* Model specification
* Regression validation

Background|

* Mean and predicted response
* Gauss–Markov theorem
* Errors and residuals
* Goodness of fit
* Studentized residual
* Minimum mean-square error

Design of experiments|

* Response surface methodology
* Optimal design
* Bayesian design

Numerical approximation|

* Numerical analysis
* Approximation theory
* Numerical integration
* Gaussian quadrature
* Orthogonal polynomials
* Chebyshev polynomials
* Chebyshev nodes

Applications|

* Curve fitting
* Calibration curve
* Numerical smoothing and differentiation
* System identification
* Moving least squares

* Regression analysis category
* Statistics category
*   * Statistics outline
* Statistics topics

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Gauss–Markov theorem. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Gauss–Markov_theorem&oldid=3379674"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template