- Introduced by
- Extension building on Kwiatkowski, Phillips, Schmidt & Shin (1992); robust variants developed by Hobijn, Franses & Ooms and others
- Year
- 1992–2004
- Type
- Hypothesis test
- Family
- Econometrics / time series
What does it do?
The Robust KPSS test is a stationarity test in the framework of Kwiatkowski, Phillips, Schmidt and Shin (1992), which takes stationarity as its null hypothesis.
It differs from the standard KPSS test in how the long-run variance in the denominator is estimated: the robust version uses a variance estimator designed to limit the influence of outliers and heteroscedastic observations, as specified by the implementation in use. Its size and power depend on that estimator and should be checked for it.
The intuition behind the method
The KPSS test asks how far the cumulated residuals of a series wander. Under stationarity they stay bounded, while under a unit root they drift with the sample. The statistic compares that wandering with an estimate of the series' long-run variance. A few extreme observations or a level shift can inflate or distort that variance estimate and so change the verdict. The robust variant replaces the variance estimate with one designed to give less weight to extreme observations; the exact weighting is set by the estimator in use.
History
The KPSS test was introduced by Kwiatkowski, Phillips, Schmidt and Shin in 1992 as a test of the null hypothesis of stationarity against a unit root alternative. Hobijn, Franses and Ooms (2004) proposed generalisations of KPSS-type tests for trend stationarity, level stationarity and zero-mean stationarity, and derived their asymptotic null distributions and Monte Carlo results. The robust variance variant described on this page is not attributed to a specific author here, as the cited sources do not document it.
When to use it
Choose this test when you need to test the stationarity null for a univariate series and suspect that a few outliers, heavy-tailed or heteroscedastic errors, or a level shift could distort the standard KPSS result. It is useful alongside an ADF-type test, because the two have opposite nulls. Do not use it when the timing of a structural break is the main object of interest; the break-allowing tests named on this page (Zivot-Andrews, Lumsdaine-Papell) are designed for that question. It is not directly applicable to panel or multivariate series.
Limitations and considerations
- Standard KPSS critical values are tabulated for the classical variance estimator only. They do not apply to the robust variant unless verified for the estimator in use.
- The test gives a single summary statistic and does not locate the number or timing of structural breaks.
- If the robust variance estimator uses weights or a kernel with a bandwidth, the result can depend on those settings. The displayed formula has no bandwidth term.
- The univariate statistic does not handle multivariate systems; multivariate extensions are separate procedures.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Its null is stationarity, so it frames the question in the opposite way to ADF-type tests, whose null is a unit root; running both gives two complementary views of the same series.
- The robust variance estimator is designed to limit the influence of individual extreme observations on the denominator, where the standard KPSS statistic can be distorted by outliers.
- It keeps the KPSS null hypothesis and the partial-sum structure, so the interpretation of the decision matches the standard test, subject to the critical value caveat in the limitations.
- The deterministic component and partial-sum construction are the same as in the standard KPSS test, so results can be compared with standard KPSS output on the same data.
Applications
- Checking whether macroeconomic series such as GDP, inflation or interest rates are stationary before using them in models that require stationarity.
- Testing financial price or return series in which isolated extreme observations may affect the standard KPSS verdict.
- Pre-testing in dynamic regression models to decide whether levels or differences of a variable should enter the model.
- Testing commodity or energy price series that may contain level shifts, usually together with a break-allowing test.
How it works
How it works
The series is written as a deterministic part (an intercept, and optionally a linear trend, carried by the regressors z_t) plus a random walk component r_t and a stationary error. Under the stationarity null of the classical KPSS setup, the innovation variance of the random walk is zero, so r_t is constant.
Formula
y_t = \xi' z_t + r_t + \varepsilon_t
The residuals from the deterministic fit are accumulated into partial sums S_t. Under stationarity these partial sums do not drift systematically; under a unit root they grow as the sample lengthens.
Formula
S_t = \sum_{s=1}^{t} \hat{e}_sThe denominator is meant to estimate the long-run variance of the residuals, which must account for serial correlation through autocovariance terms. The displayed formula is a weighted mean of squared residuals with weights w_t and contains no autocovariance or kernel terms, so on its own it is not a long-run variance estimator. Use the exact definition of the estimator in the implementation in use.
Formula
\hat{\sigma}^2_{\text{rob}} = T^{-1} \sum_{t=1}^{T} w_t \hat{e}_t^2The statistic is the sum of squared partial sums, scaled by T^-2 as written in the formula, divided by the robust variance estimate. Larger values mean the partial sums wander more than the variance estimate would suggest, which is evidence against stationarity.
Formula
\eta = T^{-2} \sum_{t=1}^{T} S_t^2 \,/\, \hat{\sigma}^2_{\text{rob}}The statistic is compared with asymptotic critical values for the chosen specification (level or trend stationarity). Stationarity is rejected when the statistic exceeds the chosen critical value. Because stationarity is the null, rejection is evidence of a unit root or other non-stationarity, and failure to reject is consistent with stationarity without establishing it. The standard KPSS critical values apply only to the classical variance estimator; critical values for the robust estimator must come from a source for that estimator or from simulation, as described in the limitations.
Common pitfalls
- Applying standard KPSS critical values after replacing the variance estimator. Because the asymptotic distribution may differ, the rejection rate may be wrong.
- Reading failure to reject as proof of stationarity. The test may have low power against a structural break or another departure that the model does not capture.
- Relying on this test alone. Pairing it with an ADF or Phillips-Perron test gives a second view with the opposite null.
- Changing weighting or bandwidth parameters, where the implementation allows them, without checking sensitivity. Very small bandwidths under-correct for serial correlation and very large ones smooth away information. Check sensitivity only within the estimator's documented range, and verify critical values for each setting rather than reusing standard tables.
Frequently asked questions
How does the Robust KPSS differ from the standard KPSS test?
The standard KPSS test uses a long-run variance estimator that is sensitive to outliers and conditional heteroscedasticity. The robust variant replaces this denominator with an estimate designed to reduce the influence of extreme observations. The exact estimator and its critical values should be taken from the implementation being used.
Should I use the level-stationary or trend-stationary version?
The level-stationary version regresses the series on an intercept only and tests stationarity around a constant mean. The trend-stationary version regresses on an intercept and a linear trend and tests stationarity around that trend. Use the trend version if economic theory or visual inspection suggests a deterministic trend. In both cases the regression residuals enter the partial sums, and the choice also determines which critical values apply.
What if KPSS and ADF give conflicting conclusions?
ADF and KPSS have opposite nulls, so their results can disagree when the evidence is ambiguous. One possible reason is a structural break. A break-allowing test such as Zivot-Andrews is a reasonable next step before drawing a conclusion.
How do I choose the bandwidth for the robust long-run variance?
The formula on this page has no bandwidth term. If your implementation uses a kernel or bandwidth, use the default rule and range that it documents. Checking how the conclusion changes within that range shows its stability, provided critical values are verified for each setting.
Can I apply this test to panels or multivariate systems?
The univariate Robust KPSS test is not designed for panel data. Cross-sectional data require separate panel stationarity tests. Multivariate KPSS extensions exist for system-level testing, as noted in the limitations.
Related methods
Sources
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 referenceHobijn, B., Franses, P. H., & Ooms, M. (2004). Generalizations of the KPSS-test for stationarity. Statistica Neerlandica, 58(4), 483-502.
Open DOI reference