Fourier Hausman Test

Econometrics
Introduced by
Extends Hausman (1978) using Gallant's (1981) Fourier flexible functional form; applied in panel/time-series settings by Christopoulos & Leon-Ledesma (2004) and subsequent literature
Year
2000s–2010s
Type
Specification / endogeneity test
Family
Econometrics / time series

What does it do?

The Fourier Hausman test is a variant of the classical Hausman endogeneity test in which the regression is augmented with sine and cosine terms of time.

The terms are intended to absorb smooth, gradual nonlinearity, so that the endogeneity comparison is less likely to be driven by a misspecified trend. It applies to time-series or panel equations for which valid external instruments are available.

The intuition behind the method

The classical Hausman test compares OLS and IV estimates of the same coefficients; a large difference is taken as evidence that at least one regressor is correlated with the error term. In time-series data, a smooth drift or gradual regime change left out of a linear equation can also make OLS and IV differ, so the test may flag endogeneity that is really a specification problem. Adding Fourier terms gives the equation flexibility to represent smooth movement over the sample without fixing a break date in advance. The test then asks whether endogeneity remains once that smooth component is included. The terms cannot identify a specific break, and they do not remove endogeneity if it is present.

History

The test builds on the classical Hausman (1978) endogeneity test and on Gallant's (1981) Fourier flexible functional form, which uses trigonometric terms to approximate smooth functions. Combining the two gives an extension of the classical test rather than a standardised, named procedure with a long documented history. Users should therefore state the Fourier specification, the frequency selection criterion and the form of the statistic that they used.

When to use it

Use the Fourier Hausman test for an endogeneity check in a time-series or panel equation when there is a reason to expect gradual nonlinearity or smooth shifts in the relationship, when at least one credible instrument is available for each suspected endogenous regressor, and when the series are stationary or have been appropriately detrended. It is intended as an alternative to the plain Hausman test when a linear specification looks inadequate over the sample period. Do not use it when a structural break is abrupt and its date is known, since a break-date or dummy-variable approach is more direct in that case. It is also unsuitable when no valid instruments exist, because the comparison requires IV estimates, or when the sample is so short that the additional Fourier terms use up most of the available degrees of freedom.

Limitations and considerations

  • Requires at least one valid external instrument for each suspected endogenous regressor; without credible instruments the test has no meaningful comparison.
  • Each added frequency uses degrees of freedom, so the test is costly in short samples.
  • Frequency selection by an information criterion is a data-dependent pre-test step, which can affect the size of the final test.
  • Power may be lower than the plain Hausman test when the true relationship is linear and contains no smooth shifts, because the Fourier terms then absorb variation that could otherwise help identify the endogeneity.
  • The chi-squared reference distribution assumes stationary or appropriately detrended series. With unit-root or trending regressors the asymptotic reference may not hold, so the order of integration of the variables should be checked first, for example with the Fourier unit root test.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Allows smooth, gradual nonlinearity in the equation without requiring the researcher to specify a break date or a transition function.
  • The sine and cosine terms are bounded and, at the sample Fourier frequencies, mutually orthogonal, which keeps the augmented regressors numerically well behaved.
  • The test keeps the structure of the classical Hausman comparison, so results can be interpreted in the familiar OLS-versus-IV framework.
  • Applies to single-equation time-series models and to panel settings in which the same instruments are available.

Applications

  • Checking whether a regressor in a time-series equation is endogenous when the outcome may have drifted gradually over the sample.
  • Validating instrument exogeneity in a model where a smooth trend in the relationship is plausible and the timing of any change is unknown.
  • Endogeneity checks in panel models in which common smooth time patterns may be present across units.

How it works

How it works

1

Start with the linear structural equation relating the outcome to one or more suspected endogenous regressors and any exogenous controls.

Formula
y_t = X_t \beta + \varepsilon_t
2

Add sine and cosine terms of normalised time, 2πkt/T, for one or more frequencies k, to the structural equation. The number of frequencies can be chosen with an information criterion such as BIC; the criterion and the maximum frequency considered should be reported, since the choice affects the test.

Formula
y_t = X_t \beta + \sum_{k=1}^{n}[a_k \sin(2\pi k t/T) + b_k \cos(2\pi k t/T)] + \varepsilon_t
3

Regress each suspected endogenous regressor on the instruments and the same Fourier terms, and retain the first-stage residuals. This follows the usual first stage of IV estimation, with the Fourier terms included as controls.

4

Add the first-stage residuals to the Fourier-augmented structural equation as extra regressors and test their joint significance with a Wald or F statistic. Under the null of exogeneity their coefficients are zero. In standard linear IV with homoskedastic errors, this regression-based test is asymptotically equivalent to the Durbin-Wu-Hausman form of the comparison, so in large samples the two should agree closely. A marked divergence points to a violated assumption, such as heteroskedasticity or an inadequate Fourier component.

5

Compare the OLS and IV coefficient vectors through the quadratic form in the variance difference, as given in the mechanics. Under the null, the statistic is referred to a chi-squared distribution with k degrees of freedom, where k is the number of endogenous regressors whose coefficients are compared. Rejection is evidence of endogeneity, although it can also reflect remaining misspecification of the Fourier component. This form relies on the efficiency of OLS under the null and should be used only under the classical assumptions (see pitfalls).

Formula
H = T(\hat{\beta}_{IV} - \hat{\beta}_{OLS})^{\top}[\widehat{Var}(\hat{\beta}_{IV}) - \widehat{Var}(\hat{\beta}_{OLS})]^{-1}(\hat{\beta}_{IV} - \hat{\beta}_{OLS}) \sim \chi^2(k)

Common pitfalls

  • Choosing many Fourier frequencies without a clear criterion can over-fit the equation and produce spurious rejections of exogeneity.
  • Weak instruments make the IV estimator biased and imprecise, so the Hausman comparison is unreliable whatever Fourier terms are included.
  • The variance-difference form of the statistic is valid only under the classical assumptions, including efficiency of OLS under the null. Serial correlation or heteroskedasticity violate this and distort the variance estimates. In that case use a robust or auxiliary-regression version of the test rather than the variance-difference formula, and state which version was used.
  • Applying the test to very short series, where chi-squared critical values may be a poor guide, can lead to misleading conclusions.

Frequently asked questions

How is the Fourier Hausman test different from the standard Hausman test?

The standard Hausman test compares OLS and IV estimates in a linear model. If the model omits a smooth, gradual change, the two estimators can differ for reasons other than endogeneity. The Fourier variant adds sine and cosine terms to represent such smooth movement, so the endogeneity comparison is made after that component is included.

How do I choose the number of Fourier frequencies?

Estimate the augmented model for a range of frequencies and select one with an information criterion such as BIC or AIC. Report the criterion and the maximum frequency considered, and check whether the endogeneity conclusion changes across reasonable choices.

What instruments do I need?

Use the same kind of instruments as in any IV application: variables correlated with the endogenous regressor but not with the structural error, after the Fourier terms are included. The Fourier terms are controls in both stages, not instruments.

What should I do if the test rejects exogeneity?

Estimate the structural equation by IV or 2SLS with the same Fourier controls, and use heteroskedasticity- and autocorrelation-robust standard errors if serial correlation is suspected.

Can the Fourier Hausman test be applied to panel data?

It can, but the Fourier terms may be specified as common time components or as unit-specific smooth terms, and the choice should be justified. The Hausman comparison is then made within an IV framework appropriate to the panel structure.

Related methods

Sources

  1. Christopoulos, D. K., & Leon-Ledesma, M. A. (2004). Current account sustainability in the US: What do we really know about it? Journal of International Money and Finance, 23(5), 821–840.

    Open DOI reference
  2. Gallant, A. R. (1981). On the bias in flexible functional forms and an essentially unbiased form: The Fourier flexible form. Journal of Econometrics, 15(2), 211–245.

    Open DOI reference