Bayesian Phillips-Perron Unit Root Test

Econometrics
Introduced by
Phillips & Perron (classical test, 1988); Bayesian framework: Sims & Uhlig (1991)
Year
1988 / early 1990s
Type
Unit root test (Bayesian)
Family
Econometrics / time series

What does it do?

The Bayesian Phillips-Perron unit root test combines the long-run variance correction of the classical Phillips-Perron test with a Bayesian inferential framework.

Instead of a p-value, it yields a posterior probability or Bayes factor for a unit root against stationarity, which lets researchers incorporate prior knowledge about persistence. The output expresses relative support for each hypothesis rather than a binary reject or fail-to-reject decision.

The intuition behind the method

The classical Phillips-Perron test asks whether a series wanders without a fixed mean (a unit root) or is stationary, possibly around a deterministic trend. It corrects for serial correlation and heteroscedasticity with a nonparametric (kernel-based) long-run variance estimate rather than by adding lagged differences. The Bayesian version asks the same question probabilistically: given a prior view on persistence and the observed data, how much support does each hypothesis receive? The inference step is a parametric Bayesian regression; only the variance correction is nonparametric. The answer is a Bayes factor, a graded measure in place of a binary decision. Because the marginal likelihood averages over the prior, a model that spreads its prior mass over parameter values the data do not support is penalised.

History

The classical Phillips-Perron test was introduced by Phillips and Perron (1988) as a nonparametric correction to the Dickey-Fuller regression, with tests that allow for a fitted drift and trend. Sims and Uhlig (1991) is a methodological discussion of Bayesian and classical approaches to unit roots and is listed as related reading; it is not the origin of the Bayesian Phillips-Perron formulation described here. That formulation combines the classical long-run variance correction with Bayesian model comparison.

When to use it

Choose this test when a graded statement of support for a unit root against stationarity is needed, or when a justified prior on persistence exists and should enter the analysis explicitly, for example from economic theory about mean reversion in interest rates. It suits univariate continuous series where the sample is small or moderate and classical tests may have low power. Do not use it when no defensible proper prior can be stated and sensitivity to the prior cannot be reported, since a single prior then makes the result hard to justify. Before running it, decide whether the deterministic part is an intercept or an intercept plus trend, set priors for those terms as well as for the lagged-level coefficient, and choose the bandwidth (for example with a Newey-West or Andrews-type rule), reporting sensitivity to each choice. It is also a poor choice when structural breaks are suspected, because the standard form does not model them; a Zivot-Andrews or Fourier-based unit root test is more suitable in that case.

Limitations and considerations

  • Results can be sensitive to the prior on the autoregressive coefficient, especially in small samples; this sensitivity must be reported.
  • Marginal likelihoods needed for Bayes factors are analytically intractable under many priors and typically require numerical integration or MCMC, which raises computational cost.
  • The truncation lag (bandwidth) for the long-run variance estimator is a tuning choice that can affect the results.
  • Standard implementations are less common than those of classical PP or ADF tests, which makes replication harder for practitioners.

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

Strengths

  • Reports a posterior probability or Bayes factor in place of a p-value, so the result can be read as relative support for the unit-root and stationary models.
  • Keeps the classical Phillips-Perron correction for serial correlation and heteroscedasticity in the errors, so no lag length has to be chosen as in the ADF test.
  • The prior is an explicit input, so a justified view on persistence can be encoded, which can help where the data alone are weakly informative about the autoregressive coefficient.
  • Avoids the sequential lag-selection pre-testing that accompanies ADF-type procedures.

Applications

  • Testing whether macroeconomic series such as GDP, inflation, or unemployment are integrated before cointegration analysis.
  • Assessing persistence in financial return volatility or asset price series where prior beliefs about mean reversion are theoretically motivated.
  • Small-sample settings where frequentist unit root tests have limited power.
  • Academic studies requiring explicit uncertainty quantification about the order of integration of macroeconomic aggregates.
  • Sensitivity analysis to prior assumptions when classical PP and ADF tests disagree on integration status.

How it works

How it works

1

The differenced series is regressed on the lagged level, with an intercept and optionally a trend, giving an OLS estimate of the coefficient on the lagged level. This is the same starting regression as in the classical Phillips-Perron test. Whether to include only an intercept or an intercept and trend should follow the plausible data-generating process of the series.

Formula
\Delta y_t = \alpha + \rho y_{t-1} + \varepsilon_t
2

Serial correlation and heteroscedasticity in the errors are handled nonparametrically, as in Phillips and Perron (1988), whose approach is nonparametric with respect to nuisance parameters. The long-run variance is estimated from sample autocovariances, weighted by kernel weights up to the truncation lag m, which is the bandwidth. For the Bartlett kernel the weights are w_j = 1 - j/(m+1). No lagged difference terms are added, but the bandwidth becomes a tuning choice and should be reported together with sensitivity to it.

Formula
\hat{\lambda}^2 = \hat{\sigma}^2 + 2\sum_{j=1}^{m} \left(1-\frac{j}{m+1}\right) \hat{\gamma}_j
3

Priors are placed on the coefficient on the lagged level and also on the intercept, trend (if included) and error variance. Bayes factors require proper priors: under an improper flat prior the marginal likelihood depends on an arbitrary constant and the Bayes factor is not meaningful. Options include a Normal prior centred below the unit-root value to express a belief in mean reversion, a bounded (proper) diffuse prior over the stationary region, or an informative prior drawn from economic theory or earlier studies. This choice is the main input that distinguishes the Bayesian version from the classical test.

4

Bayes' theorem combines the likelihood of the data under each hypothesis with the prior to give a posterior. Because a purely continuous prior assigns zero probability to any single value, the unit-root hypothesis H0 (a zero coefficient on the lagged level) must be given positive prior mass explicitly, for example as a point mass (spike) at that value, with a continuous prior under H1 on the stationary region. Evidence is then expressed through posterior model probabilities and marginal likelihoods under these two priors.

5

The Bayes factor BF01 = p(y|H0) / p(y|H1) is the ratio of marginal likelihoods of the unit-root model (H0) and the stationary alternative (H1). In the first-difference parameterisation above, H0 corresponds to a zero coefficient on the lagged level, and H1 to a negative coefficient within the stationary region, with proper priors under both. As informal conventions (for example in the spirit of Jeffreys' scale), BF01 above 3 is read as support for the unit root and below 1/3 as support for stationarity; values between are inconclusive. These thresholds describe relative support and are not decision rules.

Formula
BF_{01} = \frac{p(y \mid H_0)}{p(y \mid H_1)}

Common pitfalls

  • Treating a flat prior as neutral: a flat prior on the coefficient is not neutral across hypotheses and can give substantial weight to the unit-root region, so the posterior should not be read as purely data-driven.
  • Omitting sensitivity analysis across prior specifications; a single Bayes factor without robustness checks is difficult to defend.
  • Ignoring structural breaks: a break in the deterministic component can make a stationary series appear to have a unit root under both classical and Bayesian PP tests.
  • Conflating the posterior probability or Bayes factor with a classical p-value when reporting to readers unfamiliar with Bayesian hypothesis testing.

Frequently asked questions

How does the Bayesian PP test differ from the classical PP test?

The classical PP test produces a t-statistic and p-value under the null of a unit root, using asymptotic critical values. The Bayesian version places priors on the model parameters and computes a posterior probability or Bayes factor, giving a direct measure of evidence for each hypothesis rather than a binary decision.

How does the Bayesian PP test differ from the Bayesian ADF test?

Both apply Bayesian inference to unit root testing, but the underlying regression differs. The ADF test controls for serial correlation by adding lagged differences (requiring lag selection), while the PP test corrects the variance nonparametrically with a kernel estimator (requiring bandwidth selection). The Bayesian PP test thus avoids lag-length pre-testing at the cost of bandwidth choice.

What prior should I use?

There is no universally correct answer. Bayes factors need proper priors, so an improper flat prior cannot be used; a bounded diffuse prior is possible but is not neutral and can favour the unit root. An informative Normal prior centred below the unit-root value reflects mean reversion beliefs. Report results under at least two or three prior specifications to show whether conclusions are robust.

What Bayes factor value constitutes evidence against a unit root?

As an informal convention, BF01 below 1/3 indicates support for stationarity over the unit root, and values between 1/3 and 3 are inconclusive. These cut-offs describe relative support and are not decision rules; read them together with the context and with prior sensitivity.

Can I use this test with structural breaks?

Standard Bayesian PP tests do not model structural breaks. If the series has a known or suspected break (e.g., financial crisis, policy change), use a unit root approach that accommodates shifts in the deterministic component, such as Zivot-Andrews or a Fourier-based test.

Related methods

Sources

  1. Phillips, P. C. B., & Perron, P. (1988). Testing for a unit root in time series regression. Biometrika, 75(2), 335-346.

    Open DOI reference
  2. Sims, C. A., & Uhlig, H. (1991). Understanding unit rooters: A helicopter tour. Econometrica, 59(6), 1591-1599.

    Open DOI reference