- Introduced by
- Jerry A. Hausman (base test, 1978); structural break extension developed in panel econometrics literature
- Year
- 1978 (base); extended through 1990s–2000s
- Type
- Specification test
- Family
- Econometrics / time series
What does it do?
The structural break Hausman test applies the Hausman (1978) specification test to panel or time-series data in which the relationship may shift at one or more break points.
The break dates are located first, and the fixed-effects versus random-effects comparison is then run within each sub-sample treated as stable. The aim is a model choice that is not distorted by a regime change that a pooled test would average over.
The intuition behind the method
The standard Hausman test compares a fixed-effects estimator, which remains consistent when unobserved individual effects are correlated with the regressors but is less efficient, with a random-effects estimator, which is efficient under the random-effects assumption but inconsistent when that assumption fails. A large gap between the two coefficient vectors is evidence against random effects. If the coefficients or error variances change at a break, a single pooled comparison mixes differences from different regimes, so the gap may be inflated or masked. Running the comparison separately within each stable period addresses this, but the result is only as reliable as the break dates it relies on.
History
The Hausman specification test was introduced by Jerry A. Hausman in 1978 in Econometrica as a general way to compare an estimator that is consistent under misspecification with one that is efficient under the null. No originator or date is attributed to the structural-break extension on this page. Break-dating methods of the type used here, including the Bai-Perron procedure, are reviewed in Perron (2006). Applying break dates first and then running a regime-by-regime Hausman comparison, as described here, is a practical approach and is not presented in the cited literature as an established standard procedure.
When to use it
Use this approach for panel data observed over a span in which a policy change, crisis, or other discrete event may have shifted the relationship, when the question is whether fixed or random effects is appropriate within each stable period. It is relevant when a preliminary break test rejects parameter stability. Do not use the standard pooled Hausman test in that situation, since a break can distort the pooled statistic. It is also less suitable for very short panels, where few time periods per regime may make the asymptotic chi-squared approximation unreliable. How many periods are adequate depends on the panel, so the approximation should be checked by simulation or a robustness check. If no break is suspected, the standard Hausman test is the simpler choice.
Limitations and considerations
- Break dates are estimated, and the within-regime tests take them as given. A mislocated break can leave a sub-sample that mixes two relationships, so the test can mislead even though each sub-sample appears stable.
- Splitting the sample reduces the number of observations in each regime, which lowers the power of each Hausman test, most severely when the panel has few time periods per unit.
- Running one test per regime inflates the overall type I error rate unless a correction is applied across the tests. A Bonferroni adjustment, which divides the nominal significance level by the number of regimes, is a simple way to control the joint rate, at the cost of lower power in each regime.
- The procedure assumes a common break date for all units, so it does not capture units that change at different times.
- The Hausman statistic relies on an asymptotic chi-squared approximation, which may be poor in small panels.
- Both estimators require strict exogeneity of the regressors with respect to the idiosyncratic error. Under the null, random effects also requires that the individual effects are uncorrelated with the regressors. The test compares the two estimators under this null but does not establish that the assumption holds.
- The classic variance-difference form of H assumes homoskedastic, serially uncorrelated idiosyncratic errors, and the chi-squared reference may be invalid otherwise. Under heteroskedasticity or serial correlation, a robust version, such as an auxiliary-regression form, should be used.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Avoids applying one pooled fixed-effects versus random-effects comparison to a sample whose relationship changes, which is the case where the pooled test can give a wrong verdict.
- Gives a separate verdict for each regime, so the model choice can differ between periods when the evidence differs.
- Uses the Hausman (1978) statistic within each sub-sample in its standard form, so the test and its chi-squared reference distribution are the familiar ones, under the same assumptions as the pooled test.
- Once break dates are taken as given, each regime can be analysed with the standard fixed-effects and random-effects estimators.
Applications
- Choosing between fixed and random effects in macroeconomic panels spanning the Global Financial Crisis, where the relationship may differ before and after the crisis.
- Energy and environmental panels that include a policy change, such as a carbon tax adoption or energy-price deregulation, comparing fixed and random effects on each side of the change.
- Growth regressions covering countries before and after a liberalisation episode, where slope coefficients may differ between the two phases.
- Finance panels where a regulatory change may alter whether unobserved firm effects are correlated with the regressors.
- Health economics panels spanning a major health-policy reform or a pandemic shock, comparing within-regime fixed-effects and random-effects results.
How it works
How it works
Before the specification test, estimate the break dates with a procedure designed for regression models. The Bai-Perron procedure, which estimates one or more break dates by least squares and selects the number of breaks with a sequential test, is the standard choice here, and Perron (2006) gives an overview of break-dating methods of this type. The sample is then divided into sub-samples over which the relationship is assumed stable. Zivot-Andrews is a unit-root test with an endogenous break and is not designed for dating breaks in a regression specification, so it should not be used for this step.
Within each sub-sample, estimate the fixed-effects model, which removes unobserved individual effects by demeaning within units, and the random-effects model, which keeps those effects in a composite error and estimates the model by GLS. Both estimators must use the same sub-sample and the same regressors, otherwise their coefficient difference is not meaningful.
For each regime, compute H as the quadratic form in the difference between the fixed-effects and random-effects coefficient vectors, weighted by the inverse of the difference between their variance matrices, as in the formula above. Under the null that random effects is consistent and efficient, H is asymptotically chi-squared, provided the classic variance-difference form is valid for the error structure (see limitations). Its degrees of freedom equal the rank of the variance difference, which is the number of coefficients both estimators identify. Time-invariant regressors are not identified by the fixed-effects estimator and drop out of the comparison, so the count should be checked for the model at hand rather than taken as the total number of regressors.
Formula
H = (\hat{\beta}_{FE} - \hat{\beta}_{RE})^{\top} [\text{Var}(\hat{\beta}_{FE}) - \text{Var}(\hat{\beta}_{RE})]^{-1} (\hat{\beta}_{FE} - \hat{\beta}_{RE})Compare H with the chi-squared critical value in each sub-sample. Rejection in a regime means the random-effects assumption is doubtful there, and fixed effects is the safer choice for that segment. Because one test is run per regime, the probability of at least one false rejection across segments exceeds the nominal level of any single test. Apply a correction across the regimes, such as a Bonferroni adjustment, before concluding that several regimes reject.
Combine the segment results into a choice. If the same estimator is supported in every regime, that estimator is the appropriate choice across the sample, but a pooled model should be used only after the break test has been checked, because agreement on the estimator does not show that the coefficients and error variances are stable. If the conclusion differs across regimes, regime-specific fixed-effects or random-effects models are the natural option. Where a full change in the relationship is suspected, allowing coefficients and error variances to differ across regimes is more coherent than adding a break dummy, which shifts only the intercept.
Common pitfalls
- Running a single pooled Hausman test over the full sample when a break is present. The pooled statistic can overstate or understate the fixed-effects versus random-effects difference, leading to the wrong model choice.
- Treating an estimated break date as known. Its uncertainty is not reflected in the within-regime tests unless it is explicitly accounted for.
- Assuming one common break date when different units change at different times. Splitting the sample at a single date then mixes regimes within some units.
- Setting the degrees of freedom to the total number of regressors rather than the number of coefficients actually compared. Time-invariant regressors drop out of the fixed-effects comparison.
Frequently asked questions
Do I need to know the break date in advance?
No. The break date is first estimated with a break test, such as the Bai-Perron procedure, and the sample is then split at that estimate. Because the same data are used to locate the break and to run the Hausman comparison, the second step is conditional on the first. This pre-test dependence should be acknowledged rather than treated as negligible.
What if the Hausman test gives opposite conclusions in the two regimes?
That is a meaningful finding: it suggests the random-effects assumption holds in one period but not the other. The appropriate response is to use regime-specific estimators, random effects for the stable regime and fixed effects for the regime where random effects is rejected, rather than a single pooled model.
How is this different from just including a structural break dummy in the standard Hausman test?
A break dummy shifts the intercept but leaves the slope coefficients and the within-regime covariance structure unchanged. Splitting the sample at the break date allows all coefficients and error variances to differ across regimes, which is the appropriate treatment when a full structural change is suspected.
Can I apply this with more than one break?
Yes. The Bai-Perron procedure can identify multiple breaks, producing three or more sub-samples, and a separate Hausman test is run within each. The power of each test decreases as breaks are added, because the sub-samples become smaller.
Does this test require a balanced panel?
No, but an unbalanced panel complicates the within-regime sample sizes. With an unbalanced panel, check that each regime has enough observations per unit to sustain both the fixed-effects and random-effects estimators before running the Hausman comparison.
Related methods
Sources
Hausman, J. A. (1978). Specification tests in econometrics. Econometrica, 46(6), 1251–1271.
Open DOI referencePerron, P. (2006). Dealing with structural breaks. In T. C. Mills & K. Patterson (Eds.), Palgrave Handbook of Econometrics, Vol. 1 (pp. 278–352). Palgrave Macmillan.
Open publication reference