When a time series has a unit root, the series is nonstationary and the ordinary least squares (OLS) estimator is not normally distributed. Dickey and Fuller studied the limiting distribution of the OLS estimator of autoregressive models for time series that have a simple unit root (Dickey 1976; Dickey and Fuller 1979). Dickey, Hasza, and Fuller (1984) obtained the limiting distribution for time series that have seasonal unit roots. Hamilton (1994) discusses the various types of unit root testing.
The augmented Dickey-Fuller (ADF) test (Dickey and Fuller 1979) and the Phillips-Perron (PP) test (Phillips and Perron 1988) are usually used to test stationarity. Both tests can be used to test three types of data generation models: when the series is zero-mean stationary (zero mean), nonzero-mean stationary (single mean), and linear time trend stationary (trend). The following sections discuss these three models of order .
A zero-mean, stationary autoregressive process of order , AR(
), can be described as follows:
It could also be written as
In this alternate form, is difference stationary if
. The zero-mean form of the ADF and PP tests is useful for testing whether
is difference stationary (null) or zero-mean stationary (alternative).
A stationary autoregressive process of order , AR(
), with mean
can be described as follows:
It could also be written as
In this alternate form, is difference stationary if
. The single-mean form of the ADF and PP tests is useful for testing whether
is difference stationary (null) or nonzero-mean stationary (alternative).
A stationary autoregressive process of order , AR(
), with linear time trend
can be described as follows:
It could also be written as
In this alternate form, is difference stationary (with nonzero mean) if
. The trend form of the ADF and PP tests is useful for testing whether
is difference stationary with nonzero mean (null) or trend stationary (alternative).
When there is a unit root (that is, the series is nonstationary), the sum of the autoregressive parameters is 1 and hence . The ADF tests and the PP tests both build on
. There are three kinds of tests under the ADF tests: rho (
) test, tau (
) test, and F test. The rho test is the regression coefficient test, which is also called the normalized bias test. The tau test is the studentized test. The F test is a joint test for unit root. For more information about test statistics under the ADF tests, see Dickey (2005), the section Stationarity Tests, and Hamilton (1994). There are two kinds of test statistics under the PP tests: rho test and tau test statistics. For more information about test statistics under the PP tests, see ChapterĀ 8, AUTOREG Procedure. The following table presents null hypotheses and decision rules for the three test statistics under the three different model types:
In this table, is the intercept in the test regression for the single-mean model,
and is the parameter of t in the test regression for the trend model,
As shown in the regression for single-mean model, when (that is, there is a unit root), the intercept
. The F test with a joint hypothesis of zero intercept and zero slope can therefore be used as a unit root test for the single-mean model. The F test for the trend model follows a similar logic. When
,
. The F statistic for the trend model therefore tests the joint null hypothesis:
. When you are testing for unit root, the tau (
) test is more powerful than the F test.
For a more detailed description of the Dickey-Fuller tests, see the section PROBDF Function for Dickey-Fuller Tests. For a description of Phillips-Perron tests, see ChapterĀ 8, AUTOREG Procedure. The random-walk-with-drift test suggests whether or not an integrated times series has a drift term. Hamilton (1994) discusses this test.