- Introduced by
- Jerry A. Hausman
- Year
- 1978 (nonlinear extension developed through 1980s–1990s)
- Type
- Specification / endogeneity test
- Family
- Econometrics / time series
What does it do?
The Nonlinear Hausman test adapts Hausman's (1978) endogeneity test to nonlinear models such as probit, logit, Tobit, and count-data regressions.
It asks whether suspected regressors are correlated with the error term, which matters because an endogenous regressor can bias nonlinear estimates. The nonlinear version is usually implemented through a control function, described in the procedure below.
The intuition behind the method
In a linear model, the classic Hausman test compares OLS and IV estimates: if they differ significantly, OLS is inconsistent because of endogeneity. In nonlinear models such as probit, logit, and Tobit, OLS is no longer a natural benchmark, so the test is usually run through a control function. The suspected regressor is split into the part explained by the instruments and a first-stage residual. Adding that residual to the nonlinear model and testing its significance shows whether the regressor is endogenous. If it is not, the simpler nonlinear model without instruments is consistent and more efficient.
History
The Hausman specification test was introduced by Jerry A. Hausman in his 1978 Econometrica paper, which shows how an efficient estimator and a consistent but less efficient one can be compared to test for misspecification. The paper's tests cover instrumental variable, time-series cross-section, and simultaneous-equation models. Nonlinear extensions, including the control function test for probit, logit, Tobit, and count-data models, followed in later work.
When to use it
Use the Nonlinear Hausman test when the structural model is inherently nonlinear, such as a binary or ordered outcome (probit or logit), a censored outcome (Tobit), or count data (Poisson), and you suspect that one or more regressors are endogenous, for example through omitted variables, simultaneity, or measurement error. The test requires instruments that are correlated with the suspected regressors but not with the structural error, and it cannot be meaningfully applied without them. Do not use it when the outcome is continuous and the model is linear, where the standard Hausman test applies. Do not treat a passed test as a substitute for a theoretical argument for the exclusion restrictions, since the test does not validate them.
Limitations and considerations
- Requires valid instrumental variables; weak or invalid instruments lead to misleading test results.
- Standard errors from the two-step control function procedure require correction because the first-stage estimation introduces generated regressors. A practical correction is to bootstrap the full two-step procedure, re-estimating the first-stage regression and the augmented nonlinear model in each replication, and to base inference on the bootstrap distribution of the residual coefficient(s). Analytic corrections must be derived for the specific model.
- The test loses power in small samples where the difference between estimators is imprecisely estimated.
- In highly nonlinear settings, the Wald form of the test may have poor finite-sample size properties.
- Identification relies on exclusion restrictions that must be justified theoretically, not statistically.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Builds on the Hausman (1978) principle of comparing estimators, applied here through a control function suited to nonlinear models such as probit, logit, Tobit, and count-data regressions.
- The control function version can be run in two stages with standard regression and maximum likelihood software.
- Gives a direct test of the exogeneity assumption instead of an informal argument.
- Can target specific regressors, so only the suspected endogenous variables are tested rather than assuming all are endogenous.
- If exogeneity is not rejected, the more efficient unadjusted nonlinear estimator has a formal justification.
Applications
- Checking whether a suspected endogenous explanatory variable in a probit or logit model for a binary outcome needs IV-type correction.
- Checking endogeneity of a regressor in a Tobit model for a censored outcome.
- Checking endogeneity in a count-data (for example Poisson) regression where a regressor may be determined jointly with the outcome.
- In panel settings, nonlinear models can be estimated with random effects or fixed effects. A separate Hausman comparison of these two estimators assesses whether individual effects are correlated with the regressors. It is a different test from the control function residual test described above and has its own assumptions.
How it works
How it works
Regress each suspected endogenous regressor on all instruments and exogenous variables using OLS. Save the first-stage residuals v̂. These residuals capture the variation in the endogenous variable that is not explained by the instruments.
Formula
\hat{v} = x - \hat{x}(z, \gamma)Add the first-stage residuals v̂ as extra regressors in the structural nonlinear model. For a probit with binary outcome y, the augmented specification is P(y = 1 | x, x_endog, v̂) = Φ(x′β + δv̂), where Φ is the standard normal distribution function and δ is the coefficient on the residual term. The same augmentation applies to logit, Tobit, and count-data models, with the residual entering the linear index of the structural model. The augmented model is estimated by maximum likelihood or another appropriate nonlinear estimator.
The primary test statistic is the Wald statistic on the coefficient(s) δ of the first-stage residuals in the augmented model. The null hypothesis is H0: δ = 0, which means the suspected regressor is exogenous, against the alternative of endogeneity. Under the null the statistic follows a chi-square distribution with degrees of freedom equal to the number of suspected endogenous regressors, since each one contributes one residual term. The Hausman-type quadratic form in the mechanics block compares the IV and nonlinear coefficient vectors. It is a separate comparison with its own assumptions and is not the statistic reported by the control function procedure described here.
Formula
H = (\hat{\beta}_{IV} - \hat{\beta}_{NL})^{\top} [\hat{V}_{IV} - \hat{V}_{NL}]^{-1} (\hat{\beta}_{IV} - \hat{\beta}_{NL})If the Wald statistic on the residual coefficient(s) is significant, reject exogeneity and use an IV-based estimator, such as IV-probit or a control-function IV estimator, to obtain consistent estimates. If it is not significant, the unadjusted nonlinear model is preferred because it is more efficient under exogeneity.
Common pitfalls
- Using weak instruments that are only weakly correlated with the endogenous regressor. This inflates the variance of the test statistic and makes the test unreliable. Check the first-stage F-statistic; a common heuristic is F > 10, which comes from the weak-instrument literature and applies directly to a linear first stage. Because the residuals are built from that first stage, the same concern carries over to the nonlinear test.
- Failing to correct second-step standard errors for generated regressors; naive standard errors from the augmented model understate uncertainty.
- Treating a failure to reject the null as definitive proof of exogeneity; low power in small samples means the test may simply lack the ability to detect endogeneity.
- Comparing OLS and IV-probit coefficient estimates directly is not valid because linear and nonlinear coefficients are not on the same scale. Compare estimators only after rescaling, or use the control function residual test, which avoids this comparison.
Frequently asked questions
How is the Nonlinear Hausman test different from the standard (linear) Hausman test?
The standard Hausman test compares OLS and IV estimates in a linear model. In nonlinear models the OLS benchmark is no longer natural, so the test is typically implemented via the control function approach: first-stage residuals are added to the nonlinear model and their significance is tested. The idea of testing for endogeneity is shared, but the mechanics are adapted to the nonlinear likelihood.
What is the control function approach and how does it implement the test?
The control function approach adds the first-stage residuals from an OLS regression of the endogenous variable on the instruments into the structural nonlinear model. If these residuals are jointly significant (Wald test), the null of exogeneity is rejected. The statistic is chi-square distributed with degrees of freedom equal to the number of suspected endogenous regressors.
Why must I correct the standard errors in the second stage?
The first-stage residuals are estimated, not observed. Including estimated regressors in the second stage introduces additional uncertainty not captured by the nominal second-stage standard errors. Ignoring this leads to underestimated standard errors and over-rejection of the null. Bootstrapping the full two-step procedure is the most common remedy.
What happens if my instruments are weak?
Weak instruments, meaning those with a low first-stage partial F-statistic (below 10), lead to imprecise first-stage residuals, which in turn make the Hausman test statistic unreliable. The test may fail to detect real endogeneity (low power) or reject spuriously. Strengthen identification by finding better instruments or using limited-information maximum likelihood.
Can I use the Nonlinear Hausman test with panel data?
Yes, with care. In panel nonlinear models such as random-effects probit, a Hausman comparison of random-effects and fixed-effects estimators checks whether individual effects are correlated with the regressors. This is a separate comparison from the control function residual test, with its own assumptions.
Related methods
Sources
Hausman, J. A. (1978). Specification tests in econometrics. Econometrica, 46(6), 1251–1271.
Open DOI referenceWooldridge, J. M. (2010). Econometric Analysis of Cross Section and Panel Data (2nd ed.). MIT Press.
ISBN: 978-0262232586