Panel KPSS Test (Hadri Panel Stationarity Test)

Econometrics
Introduced by
Hadri (2000), extending Kwiatkowski, Phillips, Schmidt, and Shin (1992)
Year
2000
Type
Panel stationarity test
Family
Econometrics / time series

What does it do?

The Panel KPSS test, introduced by Hadri (2000), tests the null hypothesis that all series in a panel are stationary against the alternative that some or all contain a unit root.

It extends the univariate KPSS framework to panel data by aggregating individual LM statistics into a single panel statistic. Because its null hypothesis is stationarity, it is usually run alongside panel ADF and PP tests, whose null hypothesis is a unit root.

The intuition behind the method

Panel ADF and Panel PP tests take a unit root as the null hypothesis. The Panel KPSS test reverses this, so stationarity is the null. Rejection is evidence that at least some series contain a unit root. Non-rejection means only that the data do not contradict stationarity; it does not prove stationarity. Because the two families have opposite nulls, running both and comparing their conclusions shows whether the evidence points the same way from each side. Agreement between the two families is more informative than either test on its own.

History

Kwiatkowski, Phillips, Schmidt, and Shin (1992) proposed the KPSS test for univariate time series, with stationarity as the null hypothesis and a unit root as the alternative. Hadri (2000) extended this approach to panel data, deriving residual-based LM tests of stationarity around a deterministic level or trend and showing that their standardised statistics are asymptotically normal. Corrections for dependence across units have since been proposed.

When to use it

Use the Panel KPSS test when you want a test whose null hypothesis is stationarity, for example to check a conclusion reached with Panel ADF or Panel PP from the opposite side. It applies to balanced or unbalanced panels with a time dimension T and a cross-sectional dimension N. The normal limiting distribution is sequential (T, N → ∞), and the test is appropriate when T is large and N is moderate. It is most informative when read together with panel unit-root tests: if Panel ADF does not reject a unit root and Panel KPSS rejects stationarity, the evidence against stationarity is strong. The standard Hadri statistic assumes cross-sectional independence, so when units share common shocks use a dependence-robust variant and report which version was used. Avoid relying on the test alone when T is short, when cross-sectional dependence is strong and has not been addressed, or when break patterns differ across units in ways the chosen deterministic specification does not capture.

Limitations and considerations

  • The standard statistic is built on cross-sectional independence. It over-rejects the null of stationarity when cross-sectional dependence is present and not corrected, so check for dependence before reading the result.
  • Power can be low against near-unit-root alternatives when T is small.
  • The normal limit is sequential (T, N → ∞) and the test is suited to large T and moderate N. Hadri (2000) reports empirical sizes close to the true size in its Monte Carlo designs, including small samples; size and power outside those designs should be checked.
  • Rejecting stationarity for the panel does not identify which cross-section units are non-stationary; unit-by-unit tests are needed for that.

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

Strengths

  • Its null hypothesis is stationarity, which gives a check that complements the unit-root null of Panel ADF and PP tests.
  • The standardised statistic has a normal limiting distribution, so inference uses the tabulated mean and standard deviation (xi and zeta) and normal critical values rather than simulated ones.
  • The deterministic specification can be a level or a linear trend, so the null can be stationarity around a mean or around a deterministic trend, following the two cases in Hadri (2000).
  • The statistic averages individual LM statistics across units, so one test summarises the whole panel rather than requiring separate decisions for each series.
  • According to Hadri (2000), the procedure accommodates fixed effects, individual deterministic trends, and heterogeneous errors across cross-sections, and can be extended to serially correlated disturbances. Robustness to serial correlation and heteroscedasticity is obtained through a kernel-based long-run variance estimate, for example a Bartlett kernel with a chosen number of lags.

Applications

  • Confirming that macroeconomic panel variables (GDP, inflation, exchange rates) are stationary before applying panel regression without differencing.
  • Pre-testing panel purchasing-power-parity studies to determine whether real exchange rates revert to equilibrium.
  • Verifying stationarity of environmental panels (CO2 emissions, energy use) in cross-country sustainability research.
  • Complementing Panel ADF/PP tests in international finance panels to reach robust conclusions about integration orders.
  • Pre-analysis for panel cointegration: establishing that variables are I(1) or I(0) before selecting the appropriate cointegration framework.

How it works

How it works

1

Each panel series y_it is decomposed into a deterministic trend component (constant or linear trend) and a random walk r_it driven by innovations u_it. Under the null hypothesis the variance of u_it is zero, making r_it constant and y_it stationary.

Formula
y_{it} = r_{it} + \beta_i t + \varepsilon_{it},\; r_{it} = r_{i,t-1} + u_{it}
2

Ordinary least squares is applied to each individual series to remove the deterministic components (intercept or intercept-plus-trend), yielding OLS residuals. Partial sums of these residuals are then computed to form the basis of the LM statistic.

Formula
S_{it} = \sum_{s=1}^{t} \hat{e}_{is}, \quad \hat{e}_{it} = y_{it} - \hat{\alpha}_i - \hat{\beta}_i t
3

An individual LM statistic is formed for each cross-section unit as the ratio of the cumulative sum of squared partial-sum residuals to a long-run variance estimate. Hadri averages these N individual statistics into a single panel LM value.

Formula
LM = \frac{1}{N}\sum_{i=1}^{N}\frac{T^{-2}\sum_{t=1}^{T}S_{it}^{2}}{\hat{\sigma}_{\varepsilon}^{2}}
4

The panel LM statistic is standardised by subtracting its mean xi and dividing by its standard deviation zeta (both tabulated from asymptotics) and then scaled by sqrt(N). Under the null of stationarity this standardised statistic converges to a standard normal distribution as N and T grow.

Formula
Z = \frac{\sqrt{N}(LM - \xi)}{\zeta} \xrightarrow{d} N(0,1)
5

A large positive Z-statistic (exceeding the chosen critical value, typically 1.645 at the 5% level for a one-sided test) leads to rejection of the null of stationarity in favour of the unit-root alternative. Failure to reject supports treating the panel series as stationary.

Formula
\text{Reject } H_0 \text{ (stationarity) if } Z > z_{0.95} = 1.645

Common pitfalls

  • Ignoring cross-sectional dependence: the standard statistic assumes independence, so if units share common shocks or correlated errors it rejects the null of stationarity too often even when the series are stationary. Use a dependence-robust version and report which was used.
  • Using the level-stationary specification when a deterministic trend is present (or vice versa): mis-specifying the deterministic component changes the limiting distribution and distorts inference.
  • Treating failure to reject as proof of stationarity: as with any hypothesis test, non-rejection is not confirmation; combine with Panel ADF/PP results for a balanced conclusion.
  • Applying the test with a short T: the test is appropriate when T is large and N moderate, so results with short T should be read cautiously and size and power checked for your design.

Frequently asked questions

How does Panel KPSS differ from Panel ADF or Panel PP?

Panel ADF and PP tests take the null hypothesis to be a unit root (non-stationarity) and try to reject it in favour of stationarity. Panel KPSS reverses this: the null is stationarity and the alternative is a unit root. Because the tests have complementary nulls, running both and comparing conclusions gives a more complete picture of the data's integration order.

Why does Hadri's test over-reject when cross-sectional dependence is present?

When units share common factors or correlated shocks, their LM statistics move together and the averaged statistic is inflated, which can produce spurious rejection of stationarity. Cross-sectionally robust versions of the test, which use long-run variance estimators that account for dependence across units, are the standard remedy.

Should I demean or detrend before running the test?

The choice depends on whether you expect a deterministic linear trend. If the series exhibits a clear upward or downward drift over time, use the trend-stationary specification. If the series fluctuates around a fixed mean, the level-stationary specification is appropriate. Mis-specifying the deterministic component changes the limiting distribution and can distort test size.

What do I do if Panel ADF fails to reject a unit root but Panel KPSS also rejects stationarity?

This combination is the strongest evidence of non-stationarity: both the unit-root-null test (ADF) and the stationarity-null test (KPSS) point to the same conclusion. Proceed by differencing the series to achieve stationarity, or investigate panel cointegration if theory suggests a long-run equilibrium relationship among the variables.

What if Panel ADF rejects the unit root but Panel KPSS also rejects stationarity?

Contradictory outcomes (both nulls rejected) often signal that the series is neither purely I(0) nor purely I(1), or that some cross-section units differ in their order of integration. Investigate heterogeneity across units, check for structural breaks, or consider that the panel may contain a mix of stationary and non-stationary units.

Related methods

Sources

  1. Hadri, K. (2000). Testing for stationarity in heterogeneous panel data. Econometrics Journal, 3(2), 148-161.

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

    Open DOI reference