# Hausman test

Jump to: navigation, search

The Hausman test (also called the Wu–Hausman test, Hausman specification test, and Durbin–Wu–Hausman test) is a statistical hypothesis test in econometrics named after James Durbin,[1] De-Min Wu[2] and Jerry A. Hausman.[3][citation needed][clarification needed] The test evaluates the consistency of an estimator when compared to an alternative, less efficient, estimator which is already known to be consistent.[4] It helps one evaluate if a statistical model corresponds to the data.

## Details

Consider the linear model y = bX + e, where y is the dependent variable and X is vector of regressors, b is a vector of coefficients and e is the error term. We have two estimators for b: b0 and b1. Under the null hypothesis, both of these estimators are consistent, but b1 is efficient (has the smallest asymptotic variance), at least in the class of estimators containing b0. Under the alternative hypothesis, b0 is consistent, whereas b1 isn’t.

Then the Wu–Hausman statistic is:[5]

$H=(b_{1}-b_{0})'\big(\operatorname{Var}(b_{0})-\operatorname{Var}(b_{1})\big)^\dagger(b_{1}-b_{0}),$

where denotes the Moore–Penrose pseudoinverse. Under the null hypothesis, this statistic has asymptotically the chi-squared distribution with the number of degrees of freedom equal to the rank of matrix Var(b0) − Var(b1).

If we reject the null hypothesis, it means that b1 is inconsistent. This test can be used to check for the endogeneity of a variable (by comparing instrumental variable (IV) estimates to ordinary least squares (OLS) estimates). It can also be used to check the validity of extra instruments by comparing IV estimates using a full set of instruments Z to IV estimates that use a proper subset of Z. Note that in order for the test to work in the latter case, we must be certain of the validity of the subset of Z and that subset must have enough instruments to identify the parameters of the equation.

Hausman also showed that the covariance between an efficient estimator and the difference of an efficient and inefficient estimator is zero.

## Panel data

Hausman test can be also used to differentiate between fixed effects model and random effects model in panel data. In this case, Random effects (RE) is preferred under the null hypothesis due to higher efficiency, while under the alternative Fixed effects (FE) is at least consistent and thus preferred.

 H0 is true H1 is true b1 (RE estimator) Consistent Efficient Inconsistent b0 (FE estimator) Consistent Inefficient Consistent

## References

1. ^ Durbin, James (1954). "Errors in variables". Review of the International Statistical Institute 22: 23–32. doi:10.2307/1401917.
2. ^ Wu, De-Min (July 1973). "Alternative Tests of Independence between Stochastic Regressors and Disturbances". Econometrica 41 (4): 733–750. ISSN 0012-9682. JSTOR 1914093.
3. ^ Hausman, J. A. (November 1978). "Specification Tests in Econometrics". Econometrica 46 (6): 1251–1271. ISSN 0012-9682. JSTOR 1913827.
4. ^ Greene, William. Econometric Analysis (7 ed.). Pearson. pp. 234–237. ISBN 0-13-139538-6.
5. ^ Greene, William H. (2008). Econometric Analysis (6th ed.). Pearson. ISBN 9780135132456.[page needed]

## Further reading

• Baltagi, Badi H. (1999). Econometrics (Second ed.). Berlin: Springer. pp. 290–294. ISBN 3-540-63617-X.
• Kmenta, Jan (1986). Elements of Econometrics (Second ed.). New York: Macmillan. pp. 365–366. ISBN 0-02-365070-2.
• Ruud, Paul A. (2000). An Introduction to Classical Econometric Theory. New York: Oxford University Press. pp. 578–585. ISBN 0-19-511164-8.