Skip to content

Stationarity: Augmented Dickey-Fuller Test

Last Update: May 15, 2022

Stationarity is when time series statistical properties do not change over time. First order stationarity is when time series mean does not change over time. This can be tested through augmented Dickey-Fuller test [1] which evaluates whether time series has a unit root. If time series does not have a unit root, then it is first order stationary.

As example, we can delimit univariate time series y_{t} into training range y_{t(a)} for model fitting and testing range y_{t(b)} for model forecasting.

Then we can do training range augmented Dickey-Fuller test regression with formula \Delta\hat{y}_{t(a)}=\alpha+\beta y_{t(a)-1}+\gamma t+\sum_{j=1}^{k}\delta_{j}\Delta y_{t(a)-j}\;(1). Training range augmented Dickey-Fuller test regression fitted values differences \Delta \hat{y}_{t(a)} are the estimated y_{t(a)} values differences with formula \Delta y_{t(a)}=y_{t(a)}-y_{t(a)-1}\;(2), y_{t(a)-1} are previous period y_{t(a)} values, t is deterministic trend variable and \Delta y_{t(a)-j} are previous j period y_{t(a)} values differences. Notice that we have to test whether constant, deterministic trend variable and which training range values differences number of lags are needed within augmented Dickey-Fuller test.

Next, we do t-test with individual null hypothesis that training range previous period y_{t(a)} values coefficient is equal to zero or that time series has a unit root with formula H_{0}:\beta=0\;(3). If individual null hypothesis is rejected, then training range time series does not have a unit root and it is first order trend stationary or assumed with a constant mean around a deterministic trend when including k lags of training range values differences in test. Notice that a unit root biases the estimation of \beta coefficient downward and augmented Dickey-Fuller test specific critical values [2] would be needed for t-test.

Also, notice that we can alternatively do an F-test with joint null hypothesis that training range previous period y_{t(a)} values and deterministic trend variable t coefficients are equal to zero or that time series has a unit root and/or does not have a deterministic trend with formula H_{0}:\beta=\gamma=0\;(4). If joint null hypothesis is rejected, then training range time series does not have a unit root and/or has a deterministic trend and it is first order trend stationary or assumed with a constant mean around a deterministic trend when including k lags of training range values differences in test. Additionally, notice that joint null hypothesis test (4) would require additional individual coefficients tests to evaluate training range time series does not have a unit root and/or has a deterministic trend. Furthermore, notice that a unit root biases the estimation of \beta coefficient downward and augmented Dickey-Fuller test specific critical values would be needed for F-test.

Below, we find example of training range augmented Dickey-Fuller test with constant, deterministic trend variable and twelve lags of training range values differences using airline passengers data [3]. Training range as first ten years and testing range as last two years of data.

Table 1. Microsoft Excel® training range augmented Dickey-Fuller test with constant, deterministic trend variable and twelve lags of training range values differences using airline passengers data.

References

[1] Dickey, D. A.; Fuller, W. A. (1979). “Distribution of the Estimators for Autoregressive Time Series with a Unit Root”. Journal of the American Statistical Association. 74 (366): 427–431.

[2] Fuller, W. A. (1976). “Introduction to Statistical Time Series”. New York: John Wiley and Sons.

[3] Data Description: Monthly international airline passenger numbers in thousands from 1949 to 1960.

Original Source: Box, G. E. P., Jenkins, G. M. and Reinsel, G. C. (1976). “Time Series Analysis, Forecasting and Control”. Third Edition. Holden-Day. Series G.

Source: datasets R Package AirPassengers Object. R Core Team (2021). “R: A language and environment for statistical computing”. R Foundation for Statistical Computing, Vienna, Austria.

My online courses are closed for enrollment.
+