Search⌘ K

The Dickey-Fuller Test

Explore the Dickey-Fuller test and its augmented version to assess if a time series is integrated or stationary. Understand hypothesis testing, t-statistics, and p-values while applying these tests with Python's statsmodels to analyze time series data effectively.

Now we know what integration is and why it might be a problem. The next question that we can ask ourselves is somehow evident: “How do we know if a series is actually integrated?” The answer: The Dickey-Fuller test!

The standard Dickey-Fuller test

Remember our definition of random walk:

In the above equation,ϵt\epsilon_tis Gaussian random noise. We have added a constant in front of yt1y_{t-1}, β\beta. The reason why we didn’t see it there before is that, in a random walk, β\beta is simply 1. Now, however, it’s a very good time to introduce it, as it will help us find out whether or not yty_t is an I(1)I(1) process.

The idea behind the standard Dickey-Fuller (DF) test is pretty simple: Is yty_t a random walk? To answer the question, we can estimate the model above and formulate a hypothesis test for the value of β\beta ...