- Introduced by
- Becker, Enders, and Hurn; further extended by Enders and Lee
- Year
- 2004-2012
- Type
- Time series model
- Family
- Econometrics / time series
What does it do?
The Fourier ARIMA model extends a standard ARIMA specification with sine and cosine terms at low frequencies, so smooth, gradual change in a series can be represented without fixing the timing or number of breaks in advance.
It is intended for series where abrupt-break models may not fit well. The approach draws on the flexible Fourier form used in Becker, Enders, and Hurn (2004) and Enders and Lee (2012).
The intuition behind the method
A standard ARIMA assumes that the underlying structure of a series is stable over time, but economic data can drift slowly because of policy shifts, demographic change, or changing market conditions. Adding sine and cosine terms of different frequencies lets the model approximate a smooth, slowly moving departure from a constant pattern as a sum of waves. You choose how many frequency pairs (k) to include, and the model estimates their amplitudes from the data. Fewer pairs give a smoother approximation; more pairs can follow finer movements, including noise.
History
Becker, Enders, and Hurn (2004) proposed a general test for time-dependent parameters based on a trigonometric expansion, and applied it to structural breaks in the US inflation rate. Enders and Lee (2012) applied the flexible Fourier form to Dickey-Fuller type unit root tests. These works introduce the Fourier approximation for parameter variation and unit root testing. They do not themselves define the ARIMA specification with Fourier regressors described on this page.
When to use it
Choose Fourier ARIMA for a univariate, equally spaced economic or financial series whose change is gradual, or whose seasonal pattern does not match a fixed periodic ARIMA, and where the number, timing, and form of breaks are unknown. It suits long series in which a single-break model would be arbitrary. Do not use it when breaks are sharp and abrupt, since the smooth approximation is then inefficient; when the series is too short for the low-frequency terms to be estimated reliably; or when several series must be modelled jointly, where a VAR or VECM framework is more appropriate.
Limitations and considerations
- Cannot represent sharp, sudden breaks well; a segmented ARIMA or Markov-switching model is usually more appropriate in that case.
- Choosing k is an additional model-selection step, and a poor choice changes the effective number of parameters and the fit.
- Needs a long enough series for the low-frequency terms to be estimated reliably; the required length depends on the data.
- Fourier amplitudes are less directly interpretable than ARIMA coefficients, because each amplitude describes a wave component rather than a single economic effect.
- Without an information-criterion discipline on k, the model can absorb cyclical noise.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Represents gradual change and nonlinear seasonal shape without specifying break dates.
- Parsimonious: a small k can often approximate many smooth departures from a constant pattern.
- Adds deterministic sine and cosine regressors to a standard ARIMA framework, so it can be estimated with conventional maximum likelihood software.
- Suited to long series where the timing of regime change is unknown or several changes may have occurred.
Applications
- Modelling GDP, inflation, or unemployment series whose level changes slowly, without imposing a break date.
- Forecasting energy demand or commodity prices with evolving seasonal patterns.
- Unit root and stationarity testing in the presence of smooth structural change, the setting addressed by Enders and Lee (2012).
- Preprocessing macroeconomic series for policy analysis where break dates are disputed.
- Describing a gradual drift in the mean of long economic or financial series, where a single-break model would be arbitrary.
How it works
How it works
Pairs of sine and cosine terms at frequencies 2πj/T are constructed for j = 1, …, k, where T is the sample size. The lowest pair completes one cycle over the sample, the next pair two cycles, and so on, so higher j captures faster variation. Together the pairs form a flexible smooth function of time.
Formula
F_t(k) = \sum_{j=1}^{k}\left[\alpha_j \sin\!\left(\frac{2\pi j t}{T}\right) + \beta_j \cos\!\left(\frac{2\pi j t}{T}\right)\right]In the model equation, the Fourier term F_t(k) enters as a deterministic component alongside the autoregressive, differencing, and moving-average structure. The ARIMA orders (p, d, q) and the Fourier amplitudes are estimated together, so stochastic dynamics and smooth change are modelled in one specification. The equation alone does not settle whether the Fourier regressors apply to the level series y_t or to the differenced series Δ^d y_t. For d > 0 these two choices imply different models, so the convention used should be stated when results are reported.
Formula
\phi(B)\,\Delta^d y_t = \theta(B)\,\varepsilon_t + F_t(k)
The number of frequency pairs k is chosen by comparing an information criterion (AIC or BIC) across k = 1, 2, …, k_max, where k_max is an upper bound set by the analyst. A smaller k is preferred unless residual tests show remaining misspecification.
Given the selected (p, d, q, k), parameters are estimated by conditional maximum likelihood. The Fourier amplitudes enter linearly, but the autoregressive and moving-average parameters enter nonlinearly, so the likelihood is still maximised numerically. Standard ARIMA estimation routines can handle the model once the Fourier regressors are constructed. The frequency count k is chosen in a separate step by information criterion, outside the likelihood. The standard errors reported for the amplitudes are therefore conditional on the selected k and do not reflect the uncertainty introduced by that choice.
Residuals are checked for remaining autocorrelation (Ljung-Box), heteroscedasticity (ARCH-LM), and normality. Persistent autocorrelation suggests that the ARIMA orders need revision. If the smooth Fourier approximation still misses sharp breaks, a segmented or Markov-switching specification may be more appropriate.
Common pitfalls
- Setting k_max too high lets the Fourier terms fit cyclical noise instead of smooth structural change.
- Entering the Fourier regressors in the wrong series: the model equation does not by itself specify whether F_t(k) applies to levels or to differences. Applying it to an undifferenced I(1) series without accounting for the stochastic trend can make it hard to separate the trend from the smooth component, so state and check the convention used.
- Using the model on short series, where low-frequency sine and cosine terms change slowly and can be hard to separate from a trend.
- Skipping residual autocorrelation tests after estimation: unresolved ARIMA misspecification can look like structural change.
- Reading a Fourier ARIMA fit as evidence for a specific break date; the smooth approximation spreads change across the sample and cannot identify one.
Frequently asked questions
How is the Fourier ARIMA different from SARIMA?
SARIMA handles fixed, periodic seasonality (for example, 12-month cycles in monthly data) through seasonal differencing and seasonal AR/MA terms. Fourier ARIMA uses sine and cosine waves to approximate smooth seasonal or trend patterns, which is more flexible but requires selecting the number of frequency pairs with an information criterion.
How do I choose k, the number of Fourier frequency pairs?
Fit the model for k = 1, 2, …, k_max, with k_max set as an upper bound by the analyst, and select the k that minimises AIC or BIC. Parsimony should guide the choice, since larger k can overfit. Check the residual diagnostics before accepting the selected value.
Can Fourier ARIMA identify when a structural break occurred?
No. The smooth Fourier approximation spreads structural change over the entire sample and cannot pinpoint a single break date. If localising a break is the goal, a segmented or Markov-switching model is more suitable, since it is built around regime or break timing.
Does the model require stationarity?
The ARIMA component handles non-stationarity through differencing (order d), which should be determined with standard unit root tests. The Fourier regressors can be entered in levels or in differences, and this choice changes the implied model when d > 0, so state which convention your implementation uses. Applying Fourier terms to an undifferenced I(1) series without accounting for the stochastic trend can make the trend and the smooth component hard to separate.
What software can estimate a Fourier ARIMA?
In R, the forecast package can generate Fourier regressors with its fourier() function and pass them to an ARIMA fit as external regressors. In Python, statsmodels ARIMA accepts manually constructed sine and cosine columns as exogenous regressors.
Related methods
Sources
Enders, W., & Lee, J. (2012). The flexible Fourier form and Dickey-Fuller type unit root tests. Economics Letters, 117(1), 196-202.
Open DOI referenceBecker, 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