The Sargan–Hansen test or Sargan's
The Sargan test is based on the assumption that model parameters are identified via a priori restrictions on the coefficients, and tests the validity of over-identifying restrictions. The test statistic can be computed from residuals from instrumental variables regression by constructing a quadratic form based on the cross-product of the residuals and exogenous variables. Under the null hypothesis that the over-identifying restrictions are valid, the statistic is asymptotically distributed as a chi-square variable with
This version of the Sargan statistic was developed for models estimated using instrumental variables from ordinary time series or cross-sectional data. When longitudinal ("panel data") data are available, it is possible to extend such statistics for testing exogeneity hypotheses for subsets of explanatory variables. Testing of over-identifying assumptions is less important in longitudinal applications because realizations of time varying explanatory variables in different time periods are potential instruments, i.e., over-identifying restrictions are automatically built into models estimated using longitudinal data.