Fourier GLS (Fourier Generalized Least Squares)

Econometrics
Introduced by
Becker, Enders, and Hurn; extended by Enders and Lee
Year
2004-2012
Type
Time-series regression estimator
Family
Econometrics / time series

What does it do?

Fourier GLS augments the deterministic part of a time-series regression with low-frequency sine and cosine terms, so that smooth, gradual changes can be absorbed without fixing break dates in advance, and the model is then estimated by generalized least squares.

The flexible Fourier form itself is established in the cited literature (the Trig-test of Becker, Enders and Hurn, 2004, and the Fourier Dickey-Fuller type unit root tests of Enders and Lee, 2012). The GLS step is described here as a specification that those papers do not establish, so it should be treated as an analyst's choice rather than a result of the cited work.

The intuition behind the method

Many economic series change slowly over time, for example when trend growth shifts or policy stances drift rather than switch abruptly. Instead of guessing a single break date, Fourier GLS includes a small number of sine and cosine terms that can follow a smooth undulation in the deterministic part of the model. The remaining error is treated as serially correlated, and GLS is used so that the estimates account for that correlation. Whether the fitted waves reflect real structural change or only flexible curve-fitting depends on the data and the economic context, so the added terms should be justified rather than assumed.

History

The Fourier flexible form approximates an unknown smooth function with sine and cosine terms. Becker, Enders, and Hurn (2004) used a trigonometric expansion in a Trig-test for time-dependent parameters and applied it to US inflation, finding a significant increase in inflation from the early 1970s to the early 1980s; that paper is a parameter-variation test rather than a GLS estimator. Enders and Lee (2012) applied the flexible Fourier form within Dickey-Fuller type unit root tests. The GLS estimation step described on this page is a separate element that neither cited paper is shown to establish.

When to use it

Choose Fourier GLS when the deterministic part of a time series may shift smoothly over time and the timing of any change is unknown, for example when inflation targets or policy stances appear to drift gradually. It is relevant to unit root and stationarity testing, where a misspecified break date can distort conclusions. Do not use it when change is abrupt or can be dated, since explicit break or regime-switching models are better suited to that case. It also needs enough observations to estimate the Fourier terms alongside the regression terms; in very short samples the extra terms use up degrees of freedom.

Limitations and considerations

  • Abrupt, discontinuous breaks are approximated poorly by a few low-frequency waves, which reduces power against sharp-break alternatives.
  • The frequency search is a pre-test whose effect is not fully reflected in the usual inference, so test size may be distorted in finite samples.
  • Unit root tests with Fourier terms need non-standard critical values, and standard ADF tables do not apply.
  • In short samples the Fourier terms consume a large share of the available degrees of freedom.

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

Strengths

  • Allows smooth, gradual change in the deterministic component to be modelled without pre-specifying break dates or the number of breaks.
  • Nests the model without Fourier terms, so the simpler specification is a special case, although testing it requires non-standard critical values when k is chosen from the data.
  • When the error covariance is correctly specified, GLS keeps its efficiency advantage over OLS under serial correlation or heteroscedasticity.
  • A small number of frequencies, often one, can represent several different smooth shapes, which keeps the model parsimonious.

Applications

  • Unit root and stationarity testing of macroeconomic series that may change gradually, such as real GDP, inflation, and interest rates.
  • Testing for time-dependent parameters in regression relationships, in the spirit of the Trig-test approach.
  • Modelling smooth trends in energy prices or environmental data where break dates are contested.
  • Checking for smooth structural change in monetary policy or fiscal reaction functions.
  • Forecasting series whose deterministic component evolves gradually, bearing in mind that forecasts extrapolate the fitted waves.

How it works

How it works

1

The deterministic function is approximated by a finite sum of sine and cosine terms with integer frequency k, scaled by the sample length T. Each frequency adds one sine and one cosine coefficient, and the sum can represent a range of smooth shapes over the sample. Applied work usually keeps the number of terms small.

Formula
f(t) = \alpha_0 + \sum_{k=1}^{n} \left[ \alpha_k \sin\!\left(\frac{2\pi k t}{T}\right) + \beta_k \cos\!\left(\frac{2\pi k t}{T}\right) \right]
2

The regression includes the usual deterministic regressors together with the Fourier component f(t). The error u_t is what remains after the regressors and the smooth component are removed, and it is the part the GLS step must model.

Formula
y_t = \mathbf{x}_t'\boldsymbol{\delta} + f(t) + u_t
3

The frequency k is chosen by a data-driven search over integers from 1 up to a stated maximum. Use a criterion that penalises added terms, such as an information criterion (AIC or BIC), and report both the criterion and the selected k. A rule based only on the sum of squared residuals cannot be used as it stands, because adding regressors never increases that sum, so the largest candidate would always be preferred. Because k is selected from the data, the search is a pre-test that affects the size of later tests. Keep the specification small so that the Fourier terms do not absorb genuine stochastic variation.

4

Coefficients are given by the GLS formula, which weights the observations by the inverse of the error covariance matrix Omega. Since Omega is unknown in practice, it is replaced by an estimate, giving a feasible GLS estimator. The autocorrelation structure assumed for this step must be specified and checked, for example with residual autocorrelation tests. When the error covariance is correctly specified, the estimator is efficient relative to OLS. With an estimated Omega, and especially in small samples, the usual standard errors can be unreliable, so check the robustness of results to the assumed structure.

Formula
\hat{\boldsymbol{\delta}} = (\mathbf{X}'\boldsymbol{\Omega}^{-1}\mathbf{X})^{-1}\mathbf{X}'\boldsymbol{\Omega}^{-1}\mathbf{y}
5

The coefficient formula alone does not determine test distributions. When k is chosen from the data, the null of no Fourier component leaves the frequency unidentified, so the usual t and F distributions do not apply to tests of the Fourier terms, and the pre-selection of k is not reflected in those statistics. In unit root tests with Fourier terms, the statistics do not follow the standard Dickey-Fuller distribution. Enders and Lee (2012) provide critical values for their flexible Fourier Dickey-Fuller specification; check the table for your exact model and sample size in the original paper, or simulate critical values for your sample size and model.

Common pitfalls

  • Including many frequencies can absorb genuine stochastic variation; the chosen k should follow a stated criterion and be reported.
  • Applying standard ADF or F critical values after Fourier-augmented estimation gives incorrect inference; use critical values that match the specification.
  • The feasible GLS step depends on the estimated autocorrelation structure, and a misspecified structure weakens the efficiency gain.
  • A good fit from the Fourier terms does not by itself show smooth structural change; the fitted waves should be checked against economic or institutional evidence.

Frequently asked questions

How is Fourier GLS different from standard GLS?

Standard GLS corrects only for serial correlation or heteroscedasticity in the error term. Fourier GLS additionally augments the deterministic part of the model with sine and cosine terms to absorb unknown smooth structural change, which makes it less sensitive to misspecification of the trend or break dates.

How do I choose the Fourier frequency k?

Choose k with a rule stated in advance rather than by minimising the sum of squared residuals, since that criterion always favours larger k. Information criteria penalise extra terms and are a common choice; report the criterion and the candidate range. Small values are typical in applied work, but the choice should be checked against the data, and the effect of the search on test size should be acknowledged.

Can Fourier GLS detect multiple structural breaks?

Indirectly. A few low-frequency terms can approximate two or more smooth shifts. If breaks are sharp and their number matters, explicit multiple-break tests are the more suitable tool.

What critical values should I use for Fourier GLS unit root tests?

Standard ADF or PP critical values do not apply to Fourier-augmented tests. Use the values tabulated by Enders and Lee (2012) for the matching specification and sample size, checking the original paper for the exact tables, or simulate them for your sample size and model.

Is Fourier GLS suitable for panel data?

The method as described on this page is for univariate series. No panel extension is cited here, so consult the literature directly before applying Fourier terms to panel data.

Related methods

Sources

  1. Becker, R., Enders, W., & Hurn, S. (2004). A general test for time dependence in parameters. Journal of Applied Econometrics, 19(7), 899-906.

    Open DOI reference
  2. Enders, W., & Lee, J. (2012). The flexible Fourier form and Dickey-Fuller type unit root tests. Economics Letters, 117(1), 196-199.

    Open DOI reference