Gauss–Markov theorem
![Gauss–Markov theorem](https://everipedia.org/cdn-cgi/image/width=828/https://epcdn-vz.azureedge.net/static/images/no-image-slide-big.png)
Gauss–Markov theorem
![Gauss–Markov theorem](https://everipedia.org/cdn-cgi/image/width=828/https://epcdn-vz.azureedge.net/static/images/no-image-slide-big.png)
In statistics, the Gauss–Markov theorem states that in a linear regression model in which the errors are uncorrelated, have equal variances and expectation value of zero, the best linear unbiased estimator (BLUE) of the coefficients is given by the ordinary least squares (OLS) estimator, provided it exists. 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.
The theorem was named after Carl Friedrich Gauss and Andrey Markov.
Statement
Suppose we have in matrix notation,
expanding to,
They have mean zero:
They are homoscedastic, that is all have the same finite variance: for all and
Distinct error terms are uncorrelated:
The ordinary least squares estimator (OLS) is the function
Proof
Remarks on the proof
Generalized least squares estimator
Gauss–Markov theorem as stated in econometrics
Linearity
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:
But it can be expressed in linear form by taking the natural logarithm of both sides:[4]
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 not necessarily minimize the residuals of the original equation.
Strict exogeneity
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
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.
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."[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 spherical errors, the generalized least squares estimator can be shown to be BLUE.[12]
See also
Linear regression
Measurement uncertainty
Other unbiased statistics
Best linear unbiased prediction (BLUP)
Minimum-variance unbiased estimator (MVUE)