Lably
Skip to content

Dickey–Fuller test

Time series statistical test

  • 4 min read
  • 2 chapters

Related on Lably

Through Statistics, Statistical hypothesis test and Statistic

Explanation

A simple AR model is

yt=ρyt−1+ut

where yt is the variable of interest, t is the time index, ρ is a coefficient, and ut is the error term (assumed to be white noise). A unit root is present if ρ=1. The model would be non-stationary in this case.

The regression model can be written as

Δyt=(ρ−1)yt−1+ut=δyt−1+ut

where Δ is the first difference operator and δ≡ρ−1. This model can be estimated, and testing for a unit root is equivalent to testing δ=0. Since the test is done over the residual term rather than raw data, it is not possible to use standard t-distribution to provide critical values. Therefore, this statistic t has a specific distribution simply known as the Dickey–Fuller table.

There are three main versions of the test:

1. Test for a unit root:

Δyt=δyt−1+ut

2. Test for a unit root with constant:

Δyt=a0+δyt−1+ut

3. Test for a unit root with constant and deterministic time trend:

Δyt=a0+a1t+δyt−1+ut

Each version of the test has its own critical value which depends on the size of the sample. In each case, the null hypothesis is that there is a unit root, δ=0. The tests have low statistical power in that they often cannot distinguish between true unit-root processes (δ=0) and near unit-root processes (δ is close to zero). This is called the "near observation equivalence" problem.

The intuition behind the test is as follows. If the series y is stationary (or trend-stationary), then it has a tendency to return to a constant (or deterministically trending) mean. Therefore, large values will tend to be followed by smaller values (negative changes), and small values by larger values (positive changes). Accordingly, the level of the series will be a significant predictor of next period's change, and will have a negative coefficient. If, on the other hand, the series is integrated, then positive changes and negative changes will occur with probabilities that do not depend on the current level of the series; in a random walk, where you are now does not affect which way you will go next.

It is notable that

Δyt=a0+ut

may be rewritten as

yt=y0+∑i=1tui+a0t

with a deterministic trend coming from a0t and a stochastic intercept term coming from y0+∑i=1tui, resulting in what is referred to as a stochastic trend.

There is also an extension of the Dickey–Fuller (DF) test called the augmented Dickey–Fuller test (ADF), which removes all the structural effects (autocorrelation) in the time series and then tests using the same procedure.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Economics