Skip to content

Sargan–Hansen Test

An overidentification test for instrumental-variable or GMM models that asks whether surplus instruments are jointly orthogonal to fitted residual moments, conditional on at least one maintained valid identifying set.

Version
v1 · 2026-08-30 · History
Domain-specific #
2707
Origin domain
economics
Subdomain
econometrics and generalized method of moments
Aliases
Test of overidentifying restrictions, Hansen J test, Sargan test

Core Idea

The Sargan–Hansen family tests the joint moment restrictions left over when an instrumental-variable or GMM model has more instruments than endogenous parameters to identify. After estimating the model, it measures how far sample moments between instruments and residuals depart from zero. Under the maintained model and regularity conditions, the optimized GMM criterion produces a chi-squared statistic with degrees of freedom equal to the number of overidentifying restrictions.

The classical Sargan form is tied to homoskedastic linear IV assumptions; Hansen's J statistic uses an appropriate GMM weighting/covariance estimate and can be robust to heteroskedasticity under its conditions. Rejection says the restrictions are jointly incompatible with the data and maintained specification.

Scope of Application

The test is literal in IV, two-stage least squares, panel IV, and GMM model diagnostics.

  • Linear IV. Checking surplus exclusion restrictions under stated error assumptions.
  • GMM. Testing the full vector of overidentifying moments.
  • Panel estimators. Auditing growing lag-instrument sets while guarding against proliferation.
  • Causal studies. Reporting a limited falsification check alongside design arguments.
  • Specification comparison. Seeing whether added instruments make moments jointly inconsistent.
  • Simulation. Studying size and power under weak or invalid instruments.
  • Replication. Verifying degrees of freedom, weighting, and covariance choices.

Clarity

State model, endogenous variables, every instrument and exclusion rationale, moment vector, estimator, weighting matrix, covariance assumptions, clustering/dependence adjustment, statistic, degrees of freedom, sample size, and p-value. Report strength diagnostics and instrument count separately. Interpret rejection as joint misspecification and nonrejection as failure to reject, never validation.

Manages Complexity

The test compresses many moment discrepancies into one calibrated statistic and uses surplus identifying information as an internal consistency check. That convenience sacrifices localization and depends on asymptotics. Instrument proliferation can yield deceptively weak tests, while a rejected statistic may reflect structural, dynamic, covariance, or exclusion misspecification.

Abstract Reasoning

  1. Specify parameters and population moment restrictions.
  2. Check that moments outnumber estimated parameters.
  3. Estimate the model with the declared IV/GMM procedure.
  4. Compute residual sample moments.
  5. Choose a valid weighting and covariance estimate.
  6. Form the minimized quadratic statistic and degrees of freedom.
  7. Compare with the reference distribution.
  8. Diagnose the joint package and perform separate strength/sensitivity analyses.

Knowledge Transfer

The test exemplifies hypothesis testing: a maintained restriction generates a reference distribution for a discrepancy statistic. Its special leverage comes from redundant moment conditions; the null/alternative parent travels, while instruments and GMM geometry keep this domain-specific.

Null-versus-Alternative Hypothesis Testing is the strict parent because the statistic calibrates observed moment discrepancy against a null distribution and yields a reject-or-not decision at a chosen level. The transferable pattern is reserve redundant constraints → fit with necessary constraints → test whether the surplus constraints remain compatible.

Relationships to Other Abstractions

Local relationship map for Sargan–Hansen TestParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Sargan–Hansen TestDOMAINPrime abstraction: Hypothesis Testing (Null vs. Alternative) — is a kind ofHypothesis Test…PRIME

Current abstraction Sargan–Hansen Test Domain-specific

Parents (1) — more general patterns this builds on

Neighborhood in Abstraction Space

Sargan–Hansen Test sits in a sparse region of the domain-specific corpus (87th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Causal Identification & Endogeneity (9 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-09-08