Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Econometrics›Panel Hausman Test
Regression modelEconometrics / time series

Panel Hausman Test

Hausman Specification Test for Panel Data · Also known as: Hausman endogeneity test, Wu-Hausman test, fixed-vs-random effects test, Hausman chi-squared test

The Hausman specification test for panel data determines whether individual-specific effects are correlated with the regressors — a correlation that would make the random effects estimator inconsistent. A statistically significant result favours the fixed effects model; a non-significant result supports the more efficient random effects model.

ScholarGate
  1. Regression model
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Panel Hausman Test
Fixed Effects ModelPanel Data AnalysisPanel Fixed Effects ModelPanel OLSPanel Random Effects Mod…Bayesian Hausman TestBayesian Panel Data Anal…Robust Fixed Effects Mod…Robust Panel Data Analys…Robust Random Effects Mo…

+3 more

When to use it

Apply the Hausman test after estimating a panel model when you are uncertain whether to use fixed or random effects. It is appropriate when the panel contains enough within-unit variation to estimate fixed effects reliably and the number of time periods is not too small. Do not use it when all regressors are time-invariant (fixed effects cannot identify them), when the panel is very short (T = 2 or 3), when the robust or clustered version of the test is not available and errors are heteroscedastic, or when theoretical reasoning already strongly mandates one specification (e.g., a designed experiment favours random effects; a self-selected cross-section favours fixed effects).

Strengths & limitations

Strengths
  • Provides a formal, objective statistical criterion for choosing between fixed and random effects rather than relying on subjective judgment.
  • Computationally simple: requires only the two sets of estimates and their covariance matrices.
  • Has a known asymptotic chi-squared distribution under the null, making inference straightforward.
  • Directly tests the key identifying assumption of the random effects model — orthogonality of individual effects and regressors.
  • Widely implemented in all major econometric software (Stata, R, Python, EViews).
Limitations
  • The classical version of the test is invalid when errors are heteroscedastic or clustered; a robust Hausman test or a regression-based Mundlak test is required in those cases.
  • The test has low power in short panels (small T) or when within-unit variation is limited, potentially failing to detect endogeneity that is present.
  • A rejection does not identify which specific regressor is endogenous — further investigation is needed.
  • The test cannot be applied to time-invariant regressors, which disappear under fixed effects.

Frequently asked

What does rejecting the Hausman test mean?

A rejection (small p-value) indicates that the fixed effects and random effects estimates differ systematically. This implies that the unobserved individual-specific effects are correlated with at least one regressor, making the random effects estimator inconsistent. You should use the fixed effects model.

What should I do if the Hausman test statistic is negative?

A negative test statistic signals that the estimated covariance matrix difference is not positive semi-definite, often due to heteroscedasticity. Use the robust regression-based version of the test (Mundlak approach) or a bootstrap Hausman test instead of the classical form.

Can I run the Hausman test if my panel has time-invariant variables?

Not directly, because fixed effects sweeps out time-invariant variables. The test can only be applied to the subset of time-varying regressors. For time-invariant variables consider the Hausman-Taylor estimator or a correlated random effects approach.

Is the Hausman test the only way to choose between FE and RE?

No. The Mundlak (1978) auxiliary regression test is a flexible alternative that is robust to heteroscedasticity. Correlated random effects models (Chamberlain 1982) also test the same hypothesis. Theoretical reasoning about whether individual effects are a random draw from a population or fixed parameters is equally important.

How many degrees of freedom does the Hausman statistic have?

The degrees of freedom equal the number of time-varying regressors included in the test — typically all regressors except the constant and time-invariant variables.

Sources

  1. Hausman, J. A. (1978). Specification tests in econometrics. Econometrica, 46(6), 1251–1271. DOI: 10.2307/1913827 ↗
  2. Wooldridge, J. M. (2010). Econometric Analysis of Cross Section and Panel Data (2nd ed.). MIT Press. ISBN: 978-0262232586

How to cite this page

ScholarGate. (2026, June 3). Hausman Specification Test for Panel Data. ScholarGate. https://scholargate.app/en/econometrics/panel-hausman-test

Related methods

Fixed Effects ModelPanel Data AnalysisPanel Fixed Effects ModelPanel OLSPanel Random Effects Model

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Fixed Effects ModelEconometrics↔ compare
  • Panel Data AnalysisEconometrics↔ compare
  • Panel Fixed Effects ModelEconometrics↔ compare
  • Panel OLSEconometrics↔ compare
  • Panel Random Effects ModelEconometrics↔ compare
Compare side by side →

Referenced by

Bayesian Hausman TestBayesian Panel Data AnalysisFixed Effects ModelPanel Data AnalysisPanel Fixed Effects ModelPanel OLSPanel Random Effects ModelRobust Fixed Effects ModelRobust Panel Data AnalysisRobust Random Effects ModelStructural Break Fixed Effects ModelStructural Break Hausman TestStructural Break Random Effects Model

Similar methods

Hausman TestRobust Hausman TestStructural Break Hausman TestFixed Effects Panel ModelPanel Random Effects ModelRandom Effects Panel ModelBayesian Hausman TestPanel Data Analysis

Related reference concepts

EconometricsMultiple or Simultaneous Equation Models • Multiple VariablesSingle Equation Models • Single VariablesMathematical and Quantitative MethodsInstrumental Variables (IV) EstimationInstrumental Variables (IV) Estimation

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Panel Hausman Test (Hausman Specification Test for Panel Data). Retrieved 2026-07-21 from https://scholargate.app/en/econometrics/panel-hausman-test · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Jerry A. Hausman
Year
1978
Type
Specification test
DataType
Panel data (balanced or unbalanced)
Subfamily
Econometrics / time series
Related methods
Fixed Effects ModelPanel Data AnalysisPanel Fixed Effects ModelPanel OLSPanel Random Effects Model
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account