Invezz is an independent platform with the goal of helping users achieve financial freedom. In order to fund our work, we partner with advertisers who may pay to be displayed in certain positions on certain pages, or may compensate us for referring users to their services. While our reviews and assessments of each product are independent and unbiased, the order in which brands are presented and the placement of offers may be impacted and some of the links on this page may be affiliate links from which we earn a commission. The order in which products and services appear on Invezz does not represent an endorsement from us, and please be aware that there may be other platforms available to you than the products and services that appear on our website. Read more about how we make money >
Dickey-Fuller (DF) test
3 Key Takeaways
Copy link to section- Stationarity Check: The DF test helps in identifying whether a time series data set is stationary or has a unit root.
- Modeling and Forecasting: It is a critical tool in ensuring the accuracy of econometric models by confirming that the time series data is suitable for analysis.
- Types of DF Tests: Includes the standard Dickey-Fuller test and the Augmented Dickey-Fuller (ADF) test, which adjusts for higher-order autocorrelation.
What is the Dickey-Fuller (DF) Test?
Copy link to sectionThe Dickey-Fuller test is a hypothesis test that checks for the presence of a unit root in a time series sample. In simpler terms, it assesses whether the data series is non-stationary and possesses a time-dependent structure. Stationarity is a key assumption in many time series models, as non-stationary data can lead to unreliable and spurious results.
Importance of the Dickey-Fuller (DF) Test
Copy link to sectionUnderstanding and applying the Dickey-Fuller test is crucial for several reasons:
- Validating Model Assumptions: Ensures that the assumptions of time series models, such as ARIMA, are met.
- Preventing Spurious Regression: Helps in avoiding misleading statistical inferences by identifying non-stationary data.
- Improving Forecast Accuracy: Enhances the reliability and accuracy of forecasts made using time series data.
How the Dickey-Fuller (DF) Test Works
Copy link to sectionThe DF test works by testing the null hypothesis that a unit root is present in an autoregressive model. Here are the steps involved:
- Formulation of Hypothesis: The null hypothesis (H0) is that the time series has a unit root (non-stationary). The alternative hypothesis (H1) is that the time series is stationary.
- Test Equation: The basic form of the DF test involves estimating the following regression model:
[ \Delta y_t = \alpha + \beta t + \gamma y_{t-1} + \epsilon_t ]
where ( \Delta y_t ) is the first difference of the time series, ( \alpha ) is the intercept, ( \beta t ) is the time trend, ( \gamma ) is the coefficient of the lagged level of the time series, and ( \epsilon_t ) is the error term. - Decision Rule: If the test statistic is less than the critical value, we reject the null hypothesis and conclude that the time series is stationary. Otherwise, we fail to reject the null hypothesis, indicating a unit root is present.
Examples of the Dickey-Fuller (DF) Test
Copy link to sectionTo illustrate the application of the DF test, consider the following scenarios:
- Macroeconomic Data: An economist uses the DF test to check if GDP data is stationary before using it in a predictive model. Non-stationary GDP data would require transformation, such as differencing, to make it suitable for analysis.
- Stock Prices: A financial analyst applies the DF test to daily closing prices of a stock to determine if the series is stationary. If the series is found to be non-stationary, the analyst might use techniques like differencing or logarithmic transformation to stabilize the data.
Real-World Application
Copy link to sectionThe Dickey-Fuller test is widely used in various fields for practical data analysis:
- Econometric Modeling: Economists and data scientists frequently use the DF test to validate the stationarity of time series data before building econometric models like ARIMA, VAR, or GARCH.
- Financial Analysis: Financial analysts apply the DF test to ensure the reliability of models used for predicting stock prices, interest rates, and other financial variables.
- Macroeconomic Forecasting: Government agencies and research institutions use the DF test to analyze and forecast economic indicators such as inflation, unemployment rates, and industrial production indices.
By ensuring that time series data is stationary, the Dickey-Fuller test plays a critical role in the accuracy and reliability of statistical and econometric models used across various domains.
More definitions
Sources & references

Arti
AI Financial Assistant