Gauss–Markov theorem

Not to be confused with Gauss–Markov process.
"BLUE" redirects here. For queue management algorithm, see Blue (queue management algorithm).

In statistics, the Gauss–Markov theorem, named after Carl Friedrich Gauss and Andrey Markov, states that in a linear regression model in which the errors have expectation zero and are uncorrelated and have equal variances, the best linear unbiased estimator (BLUE) of the coefficients is given by the ordinary least squares (OLS) estimator. Here "best" means giving the lowest variance of the estimate, as compared to other unbiased, linear estimators. The errors do not need to be normal, nor do they need to be independent and identically distributed (only uncorrelated with mean zero and homoscedastic with finite variance). The requirement that the estimator be unbiased cannot be dropped, since biased estimators exist with lower variance. See, for example, the James–Stein estimator (which also drops linearity) or ridge regression.

Statement

Suppose we have in matrix notation,

 \underline{y} = X \underline{\beta} + \underline{\varepsilon},\quad (\underline{y},\underline{\varepsilon} \in \mathbb{R}^n, \underline{\beta} \in \mathbb{R}^K \text{ and } X\in\mathbb{R}^{n\times K})

expanding to,

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

where \beta_j are non-random but unobservable parameters,  X_{ij} are non-random and observable (called the "explanatory variables"), \varepsilon_i are random, and so y_i are random. The random variables \varepsilon_i 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 \beta_{K+1} with a newly introduced last column of X being unity i.e., X_{i(K+1)} = 1 for all  i .

The Gauss–Markov assumptions are

(i.e., all disturbances have the same variance; that is "homoscedasticity"), and

for  i\neq j that is, the error terms are uncorrelated. A linear estimator of  \beta_j  is a linear combination

\widehat\beta_j = c_{1j}y_1+\cdots+c_{nj}y_n

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

E(\widehat\beta_j)=\beta_j\,

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

E \left(\left(\sum_{j=1}^K\lambda_j(\widehat\beta_j-\beta_j)\right)^2\right);

i.e., 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  \beta of parameters  \beta_j is one with the smallest mean squared error for every vector  \lambda of linear combination parameters. This is equivalent to the condition that

V(\tilde\beta)- V(\widehat\beta)

is a positive semi-definite matrix for every other linear unbiased estimator \tilde\beta.

The ordinary least squares estimator (OLS) is the function

\widehat\beta=(X'X)^{-1}X'y

of  y and  X (where X' denotes the transpose of  X ) that minimizes the sum of squares of residuals (misprediction amounts):

\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.

The theorem now states that the OLS estimator is a 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 a_1y_1+\cdots+a_ny_n whose coefficients do not depend upon the unobservable  \beta but whose expected value is always zero.

Proof

Let  \tilde\beta = Cy be another linear estimator of  \beta and let C be given by  (X'X)^{-1}X' + D , where D is a k \times n nonzero 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  \hat\beta , the OLS estimator.

The expectation of  \tilde\beta is:


\begin{align}
E(Cy) &= E(((X'X)^{-1}X' + D)(X\beta + \varepsilon)) \\
&= ((X'X)^{-1}X' + D)X\beta + ((X'X)^{-1}X' + D)\underbrace{E(\varepsilon)}_0 \\
&= (X'X)^{-1}X'X\beta + DX\beta \\
&= (I_k + DX)\beta. \\
\end{align}

Therefore,  \tilde\beta is unbiased if and only if  DX = 0 .

The variance of  \tilde\beta is


\begin{align}
V(\tilde\beta) &= V(Cy) = CV(y)C' = \sigma^2 CC' \\
&= \sigma^2((X'X)^{-1}X' + D)(X(X'X)^{-1} + D') \\
&= \sigma^2((X'X)^{-1}X'X(X'X)^{-1} + (X'X)^{-1}X'D' + DX(X'X)^{-1} + DD') \\
&= \sigma^2(X'X)^{-1} + \sigma^2(X'X)^{-1} (\underbrace{DX}_{0})' + \sigma^2 \underbrace{DX}_{0} (X'X)^{-1} + \sigma^2DD' \\
&= \underbrace{\sigma^2(X'X)^{-1}}_{V(\hat\beta)} + \sigma^2DD'.
\end{align}

Since DD' is a positive semidefinite matrix,  V(\tilde\beta) exceeds  V(\hat\beta) by a positive semidefinite matrix.

Remarks on the proof

As it has been stated before, the condition of V(\tilde\beta)- V(\widehat\beta) is equivalent to the property that the best linear unbiased estimator of  l^t\beta is  l^t\widehat\beta (best in the sense that it has minimum variance). To see this, let  l^t\tilde\beta another linear unbiased estimator of  l^t\beta .


\begin{align}
V(l^t\tilde\beta) &= l^t V(\tilde\beta) l=\underbrace{\sigma^2 l^t (X'X)^{-1}l}_{V(l^t\hat\beta)}+l^tDD^tl \\
&= {V(l^t\hat\beta)}+(D^tl)^t(D^tl)={V(l^t\hat\beta)}+||D^tl||\geq {V(l^t\hat\beta)}\\
\end{align}

Therefore,  V(l^t\tilde\beta)\geq V(l^t\hat\beta) .

Moreover, suppose that the equality holds ( V(l^t\tilde\beta)= V(l^t\hat\beta) ). It happens if and only if  D^tl=0 . Remembering that, from the proof above, we have \tilde\beta= ((X'X)^{-1}X' + D) Y , then:


\begin{align}
l^t\tilde\beta= & l^t(X'X)^{-1}X'Y + l^tDY
= & l^t\widehat\beta +\underbrace{(D^tl)^t}_{=0}Y=l^t\widehat\beta
\end{align}

This proves that the equality holds if and only if  l^t\tilde\beta=l^t\widehat\beta which gives the unicity of the OLS estimator as a BLUE.

Generalized least squares estimator

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

Gauss–Markov theorem as stated in econometrics

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

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  y = \beta_{0} + \beta_{1} x^2, \, qualifies as linear while  y = \beta_{0} + \beta_{1}^2 x can be transformed to be linear by replacing \beta_{1}^2 by another parameter, say \gamma. An equation with a parameter dependent on an independent variable does not qualify as linear, for example y = \beta_{0} + \beta_{1}(x) \cdot x, where \beta_{1}(x) is a function of x.

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:

Y = A L^{\alpha}K^{1 - \alpha} e^{\varepsilon} \,

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

\ln Y=\ln A + \alpha \ln L + (1 - \alpha) \ln K + \varepsilon = \beta_{0} + \beta_{1} \ln L + \beta_{2} \ln K + \varepsilon

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

Strict exogeneity

For all n observations, the expectation—conditional on the regressors—of the error term is zero:[5]

\operatorname{E}[\,\varepsilon_{i}\, | \, \mathbf{X} ] = \operatorname{E}[\,\varepsilon_{i}\, | \, \mathbf{x_{1}}, \dots, \mathbf{x_{n}} ] = 0.

where \mathbf{x}_{i} = \begin{bmatrix} x_{i1} & x_{i2} & \dots & x_{ik} \end{bmatrix}^{\mathsf{T}} is the data vector of regressors for the ith observation, and consequently \mathbf{X} = \begin{bmatrix} \mathbf{x_{1}^{\mathsf{T}}} & \mathbf{x_{2}^{\mathsf{T}}} & \dots & \mathbf{x_{n}^{\mathsf{T}}} \end{bmatrix}^{\mathsf{T}} is the data matrix or design matrix.

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

\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

This assumption is violated if the explanatory variables are stochastic, for instance when they are measured with error, or are endogenous.[6] 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 \mathbf{X} must be non-singular, i.e. it must have full rank.

\operatorname{rank}(\mathbf{X}) = k

Otherwise \mathbf{X} 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.[7]

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.[8] 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.

\operatorname{E}[\,\boldsymbol{\varepsilon} \boldsymbol{\varepsilon^{\mathsf{T}}} \, | \, \mathbf{X} ] = \operatorname{Var}[\,\boldsymbol{\varepsilon}| \, \mathbf{X} ] = \begin{bmatrix} \sigma^{2} & 0 & \dots & 0 \\ 0 & \sigma^{2} & \dots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \dots & \sigma^{2} \end{bmatrix} = \sigma^{2} \mathbf{I} \quad \text{with } \sigma^{2} > 0

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

Heteroskedacity 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. Heteroskedacity 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."[11] 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 non-spherical errors, the generalized least squares estimator can be shown to be BLUE.[12]

See also

Other unbiased statistics

Notes

  1. Aitken, A. C. (1935). "On Least Squares and Linear Combinations of Observations". Proceedings of the Royal Society of Edinburgh 55: 42–48.
  2. Huang, David S. (1970). Regression and Econometric Methods. New York: John Wiley & Sons. pp. 127–147. ISBN 0-471-41754-8.
  3. Hayashi, Fumio (2000). Econometrics. Princeton University Press. p. 13. ISBN 0-691-01018-8.
  4. Kennedy 2003, p. 110.
  5. Hayashi, Fumio (2000). Econometrics. Princeton University Press. p. 7. ISBN 0-691-01018-8.
  6. Johnston, John (1972). Econometric Methods (Second ed.). New York: McGraw-Hill. pp. 267–291. ISBN 0-07-032679-7.
  7. Wooldridge, Jeffrey (2012). Introductory Econometrics (Fifth international ed.). South-Western. p. 220. ISBN 978-1-111-53439-4.
  8. Johnston, John (1972). Econometric Methods (Second ed.). New York: McGraw-Hill. pp. 159–168. ISBN 0-07-032679-7.
  9. Hayashi, Fumio (2000). Econometrics. Princeton University Press. p. 10. ISBN 0-691-01018-8.
  10. Greene 2012, p. 23-note.
  11. Greene 2010, p. 22.
  12. Kennedy 2003, p. 135.

References

Use of BLUE in physics

  • L. Lyons, D. Gibaut, P. Clifford (1998). "How to combine correlated estimates of a single physical quantity". Nucl. Instr. and Meth. A270: 110. 
  • L. Lyons, A. J. Martin, D. H. Saxon (1990). "On the determination of the b lifetime by combining the results of different experiments". Phys. Rev. D41: 982–985. doi:10.1103/physrevd.41.982. 

External links

This article is issued from Wikipedia - version of the Tuesday, March 29, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.