KPSS Stationarity Test

Econometrics
Introduced by
Kwiatkowski, Phillips, Schmidt & Shin
Year
1992
Type
Stationarity test (reverse of unit-root tests)

What does it do?

The KPSS test, introduced by Kwiatkowski, Phillips, Schmidt and Shin in 1992, tests the null hypothesis that a series is stationary against the alternative that it contains a unit root.

This reverses the null of the ADF and Phillips-Perron tests. Because the two families set up opposite nulls, KPSS is typically run alongside them, so that their conclusions can confirm one another or expose borderline cases.

The intuition behind the method

Unit-root tests start from the presumption that a series is non-stationary and require evidence that it is anchored. KPSS starts from the opposite presumption, that the series is stationary, and looks for evidence that it drifts. It writes the series as a deterministic part, a random-walk component and a stationary error, and asks whether the random-walk component has any innovation variance. If the cumulative sum of the residuals grows too large relative to the long-run variance, this signals a wandering, unit-root component and the stationarity null is rejected. Running both test families is the usual way to reach a firm verdict on the order of integration.

History

Kwiatkowski, Phillips, Schmidt and Shin proposed the test in their 1992 Journal of Econometrics paper, which tests the null of stationarity against the alternative of a unit root. The paper derives a Lagrange-multiplier-type statistic whose distribution is a functional of a Brownian bridge, and the test is commonly reported alongside ADF and Phillips-Perron in applied time-series work.

When to use it

Use KPSS together with ADF and Phillips-Perron when deciding whether a series is stationary or integrated, and interpret the three tests as a set rather than individually. It is most informative when the unit-root tests fail to reject and you need an independent check from the stationarity side. The choice of deterministic specification (constant only, or constant plus trend) must match the series, and the long-run-variance bandwidth must be set deliberately. The test should not be applied to series shorter than 50 observations, the minimum sample recorded for it. Avoid relying on KPSS alone for series with suspected structural breaks, since breaks can drive rejections of stationarity. Where a series may be fractionally integrated, a single verdict from either family is unlikely to settle the question.

Limitations and considerations

  • Results depend on the bandwidth chosen for the long-run variance estimate λ̂², and can change materially with that choice.
  • Has a high type I error rate: in the applied literature KPSS is known to reject stationarity more often than its nominal level implies, so a rejection should be checked against ADF and Phillips-Perron and against sensitivity to the lag choice.
  • Has limited power to separate a true unit root from a highly persistent stationary process, so a non-rejection of stationarity is not proof of stationarity.
  • Sensitive to structural breaks, which can produce a rejection of stationarity even when the underlying process is stationary around shifting levels.
  • Uses non-standard critical values that differ by deterministic specification, so the choice between constant-only and constant-plus-trend affects the conclusion.

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

Strengths

  • Reverses the null to stationarity, so it gives evidence that is independent of the ADF and Phillips-Perron tests and can confirm their conclusions.
  • Addresses directly the question of whether a series can be treated as stationary, which is often the practical question in modelling.
  • The statistic is scaled by a long-run variance estimate λ̂², so serial correlation in the residuals is accommodated by the construction rather than assumed away.
  • Is standard in the unit-root testing workflow and widely available in software.

Applications

  • Confirming ADF/PP conclusions about whether a macroeconomic series is stationary or integrated.
  • Identifying ambiguous or fractionally integrated series when the two test families disagree.
  • Pre-testing the order of integration of variables before cointegration modelling.
  • Checking trend-stationarity versus difference-stationarity for forecasting model selection.

How it works

How it works

1

The series is modelled as the sum of a deterministic trend, a random-walk component rₜ whose innovations have variance σ²ᵤ, and a stationary error. Stationarity corresponds to the random-walk component being degenerate, that is, having zero innovation variance.

Formula
y_t = \xi t + r_t + \varepsilon_t,\quad r_t = r_{t-1} + u_t,\ u_t \sim (0,\sigma_u^2)
2

The null hypothesis is σ²ᵤ = 0, meaning there is no random-walk component and the series is (trend-)stationary. The alternative is σ²ᵤ > 0, meaning a random walk is present and the series has a unit root. This is the reverse of the ADF and Phillips-Perron setup.

Formula
H_0:\ \sigma_u^2 = 0 \ (\text{stationary}) \quad\text{vs}\quad H_1:\ \sigma_u^2 > 0 \ (\text{unit root})
3

Regress the series on a constant (and optionally a trend), take the residuals, and form their partial-sum process Sₜ. The statistic is the sum of the squared partial sums, scaled by 1/T², divided by an estimate of the long-run variance λ̂². That estimate is typically computed with a Bartlett kernel, and the number of autocovariance lags is commonly set by Schwert's (1989) criterion. Under stationarity the partial sums stay bounded and the statistic is small; under a unit root they grow and the statistic becomes large.

Formula
\text{KPSS} = \dfrac{1}{T^2}\sum_{t=1}^{T} \dfrac{S_t^2}{\hat\lambda^2},\quad S_t = \sum_{i=1}^{t} \hat\varepsilon_i
4

Large values indicate departures from stationarity, so the test is right-tailed: the stationarity null is rejected when the statistic exceeds the critical value. The critical values are non-standard and differ between the constant-only and constant-plus-trend specifications, because they are functionals of a Brownian bridge. Because the p-value is interpolated from a small set of tabulated critical values, it is approximate; where precision matters, compare the statistic with the critical value directly.

Formula
\text{Reject } H_0 \iff \text{KPSS} > \text{critical value}

Common pitfalls

  • Interpreting a KPSS rejection in isolation rather than cross-checking it against ADF and Phillips-Perron.
  • Reading the test as left-tailed: large statistics reject stationarity, not small ones.
  • Using a long-run-variance bandwidth without checking how sensitive the statistic is to that choice.
  • Omitting a trend term the series needs. A deterministic trend left out of the specification remains in the residuals, inflates the partial sums Sₜ, and can produce a spurious rejection of stationarity.

Frequently asked questions

Why use KPSS if I already ran ADF?

A single unit-root test can be inconclusive. KPSS reverses the null to stationarity, so running both lets them confirm one another. Agreement means the two tests point to the same order of integration: ADF or Phillips-Perron rejecting a unit root together with KPSS not rejecting stationarity both indicate a stationary series, while ADF or Phillips-Perron failing to reject together with KPSS rejecting stationarity both indicate a unit root.

What does it mean when ADF and KPSS give conflicting verdicts?

If ADF rejects a unit root while KPSS rejects stationarity, the two tests are pointing in opposite directions. This often indicates a series that is neither cleanly stationary nor a pure unit root, for example a fractionally integrated process or one with a structural break, and it calls for more careful modelling.

Is the KPSS test left- or right-tailed?

Right-tailed. The statistic grows when a random-walk component is present, so you reject the stationarity null for large values, using the non-standard critical values appropriate to whether a trend was included.

Related methods

Sources

  1. Kwiatkowski, D., Phillips, P. C. B., Schmidt, P., & Shin, Y. (1992). Testing the null hypothesis of stationarity against the alternative of a unit root. Journal of Econometrics, 54(1–3), 159–178.

    Open DOI reference