Nonlinear KPSS Test

Econometrics
Introduced by
Becker, Enders & Lee
Year
2006
Type
Stationarity test (null: stationary)
Family
Econometrics / time series

What does it do?

The nonlinear KPSS test extends the classic Kwiatkowski-Phillips-Schmidt-Shin stationarity test by approximating unknown smooth structural breaks in the deterministic component with a single Fourier frequency component.

Its null hypothesis is stationarity around this flexible nonlinear trend, so smooth regime change is less likely to be read as evidence of nonstationarity. The underlying stationarity test was proposed by Becker, Enders and Lee (2006).

The intuition behind the method

The standard KPSS test assumes stationarity around a simple linear trend, but real economic and financial series often drift through slow regime changes, such as inflation gradually ratcheting down or interest rates following a long arc. If such smooth breaks are ignored, a stationary series can look nonstationary. The nonlinear KPSS test fits a smooth trigonometric (Fourier) component to absorb those slow movements before testing stationarity, so the verdict is not contaminated by structural change.

History

Becker, Enders and Lee (2006) proposed a stationarity test for series with an unknown number of smooth breaks. It approximates the unknown form of the breaks with a selected frequency component from a Fourier approximation. The method presented here as the nonlinear KPSS test follows that approach within the KPSS framework. Enders and Lee (2012) applied a simple variant of Gallant's (1981) flexible Fourier form in a unit-root test, using the low-frequency components of a Fourier expansion to approximate several smooth structural breaks without modelling their precise form.

When to use it

Use the nonlinear KPSS test when you want to test stationarity and suspect that smooth structural breaks or gradual regime shifts could make a standard KPSS test reject stationarity falsely. It is suited to series such as GDP, inflation, exchange rates and interest rates, which may undergo long, gradual transitions. It is not a substitute for a unit root test battery: because stationarity is the null, its results should be read alongside ADF-type tests. It is less appropriate when breaks are abrupt rather than smooth, or when the sample is short, since the critical values rest on asymptotic theory.

Limitations and considerations

  • Shares the standard KPSS weakness: because stationarity is the null, the test cannot confirm a unit root and can only fail to reject stationarity.
  • The Fourier approximation targets smooth breaks. The cited abstracts characterise performance mainly for gradual breaks, so results for abrupt shifts are not supported by this framework. Tests built for sharp breaks, such as Zivot-Andrews (listed under related tests), address a different break structure.
  • Critical values are non-standard and depend on the deterministic specification (constant, or constant plus trend). They must be obtained from published tables for the chosen case or by simulation, and the source should be checked to cover the selected frequency.
  • Choosing the frequency from the data is a pre-test step. It can change the finite-sample distribution of the statistic, so the verdict should be checked across candidate frequencies.

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

Strengths

  • Designed so that unmodelled smooth breaks are less likely to be mistaken for a unit root; the Becker, Enders and Lee abstract reports reasonable power and good performance when breaks are gradual.
  • The Fourier terms approximate the shape of the break, so the break date, the number of breaks and the transition form do not have to be specified in advance.
  • Built on the KPSS framework, so its null hypothesis and LM-type statistic can be compared directly with the standard KPSS test, which makes it a natural robustness check.

Applications

  • Testing the stationarity of real exchange rates over long samples where gradual regime change is plausible, as in the post-Bretton Woods application in Becker, Enders and Lee (2006).
  • Unit-root testing of interest-rate spreads with smooth breaks, as in Enders and Lee (2012), where the Fourier approximation is applied within a unit-root test rather than a stationarity test.
  • Running a robustness check alongside the standard KPSS test when a series may contain gradual breaks.
  • Pre-testing series whose deterministic components are uncertain before unit-root or cointegration analysis.

How it works

How it works

1

The observed series is regressed on a constant and a sine and cosine pair at one selected frequency k. This Fourier term approximates the smooth, unknown shape of breaks in the deterministic component without fixing the break dates or the number of breaks in advance.

Formula
y_t = \alpha + \gamma \sin(2\pi k t/T) + \delta \cos(2\pi k t/T) + r_t + \varepsilon_t
2

The residual from the Fourier regression is decomposed into a random walk component r_t, with innovations u_t, and a stationary error term. The null of stationarity corresponds to the variance of the random walk innovation σ²_u being zero.

Formula
r_t = r_{t-1} + u_t,\quad u_t \sim i.i.d.(0, \sigma_u^2)
3

The null hypothesis is that the series is stationary around a nonlinear deterministic trend captured by the Fourier term. Rejection indicates a random walk component that the smooth deterministic term does not explain, which is read as evidence of a unit root.

Formula
H_0: \sigma_u^2 = 0 \text{ (stationarity around a nonlinear deterministic trend)}
4

The LM statistic η sums the squared partial sums S_t of the Fourier-regression residuals, scaled by T^-2 and by the variance estimate σ̂². Small values are consistent with stationarity and large values lead to rejection. Because σ̂² is a long-run variance estimate, the choices made in estimating it affect the statistic.

Formula
\eta = T^{-2} \sum_{t=1}^{T} S_t^2 / \hat{\sigma}^2,\quad S_t = \sum_{j=1}^{t} \hat{e}_j
5

The Fourier frequency k is selected from the data as a single frequency component. The selection rule and candidate range should be checked in Becker, Enders and Lee (2006) before the result is reported. Critical values depend on the deterministic specification, so the frequency and specification used should be reported.

Common pitfalls

  • Using the test in isolation: pair it with ADF-type or other unit-root tests. Conflicting verdicts between a stationarity null and a unit-root null are informative and should not be ignored.
  • Applying it to short series, where asymptotic critical values may be unreliable; bootstrap or simulation-based critical values are a common remedy (see the FAQ).
  • Ignoring serial correlation: the long-run variance estimate in η depends on a bandwidth or lag choice, and results can be sensitive to it. Report the choice and check robustness to it.
  • Treating non-rejection of the null as proof of stationarity: it is only evidence consistent with stationarity.

Frequently asked questions

How does the nonlinear KPSS test differ from the standard KPSS test?

The standard KPSS test allows only for a constant or linear trend under the null. The nonlinear version adds a Fourier sine and cosine pair at a selected frequency to capture smooth breaks in the deterministic component, so rejection of the null is less likely to be driven by unmodelled structural change rather than a true unit root.

What does it mean that stationarity is the null hypothesis?

Unlike ADF or Phillips-Perron tests (where the null is a unit root), the KPSS family tests whether the data are stationary. Failure to reject means the evidence is consistent with stationarity; rejection means a unit root cannot be ruled out. The two families are complementary, and conflicting verdicts can arise when a series is near a unit root or is affected by structural breaks.

How is the Fourier frequency chosen?

One frequency component is selected from the data. The selection rule and candidate range should be checked in Becker, Enders and Lee (2006). Because the choice is a pre-test, reporting results across candidate frequencies shows whether the verdict depends on it.

Can the test handle multiple structural breaks?

The auxiliary regression uses a single selected Fourier frequency. This approximates smooth breaks without fixing their number or dates in advance, which is the setting the test was designed for, but it does not explicitly separate several distinct breaks. A multi-frequency extension would be a different specification and should be reported as such.

What sample size is adequate for this test?

The test relies on asymptotic theory and can be unreliable in short samples. For small samples, bootstrap or simulation-based critical values are a common remedy.

Related methods

Sources

  1. Becker, R., Enders, W., & Lee, J. (2006). A stationarity test in the presence of an unknown number of smooth breaks. Journal of Time Series Analysis, 27(3), 381-409.

    Open DOI reference
  2. Enders, W., & Lee, J. (2012). A unit root test using a Fourier series to approximate smooth breaks. Oxford Bulletin of Economics and Statistics, 74(4), 574-599.

    Open DOI reference