SlideShare a Scribd company logo
Data Analysis & Forecasting                            Faculty of Development Economics



          NONSTATIONARY & UNIT ROOTS
                         DICKEY-FULLER TESTS

1. DF Test Equations
The simple Dickey-Fuller test is based on the following AR(1) model:
                                    Yt = ρYt-1 + ut                                 (*)
                     H0: ρ = 1 (Yt has a unit root ~ Yt is nonstationary)
                     H1: ρ < 1 (Yt does not have a unit root ~ Yt is stationary)
If we subtract Yt-1 from both sides of (*):
                                 Yt – Yt-1 = ρYt-1 – Yt-1 + ut
                                    ∆Yt       = (ρ - 1)Yt-1 + ut
                                     ∆Yt = δYt-1 + ut                               (1)
                     H0: ρ = 1 (Yt has a unit root ~ Yt is nonstationary)
                     H1: ρ < 1 (Yt does not have a unit root ~ Yt is stationary)
Dickey and Fuller (1979) also proposed two alternative regression equations that
can be used for testing for the presence of a unit root.
       The first contains a constant in the random walk process as in the following
       equation:
                                    ∆Yt = α + δYt-1 + ut                            (2)
       The second case is also allow, a non-stochastic time trend in the model, so as
       to have:
                                    ∆Yt = α + γT + δYt-1 + ut                       (3)
This test does not have a conventional ‘t’ distribution and so we must use special
critical values which were originally calculated by Dickey and Fuller.
    MacKinnon (1991,1996) tabulated appropriate critical values for each of the
three above models and these are presented in Table 1.
   Table 1: Critical values for DF test
            Model                       1%                  5%              10%
 ∆Yt = δYt-1 + ut                      -2.56               -1.94            -1.62
 ∆Yt = α + δYt-1 + ut                  -3.43               -2.86            -2.57
 ∆Yt = α + γT + δYt-1 + ut             -3.96               -3.41            -3.13
 Standard critical values              -2.33               -1.65            -1.28
Source: Asteriou (2007)

Phung Thanh Binh (2010)                                                               1
Data Analysis & Forecasting                            Faculty of Development Economics


If the DF statistical value is smaller in absolute terms than the critical value then
we reject the null hypothesis of a unit root and conclude that Yt is a stationary
process.
2. Performing DF Test in Eviews
 Step 1      Open the file DF.wf1 by clicking File/Open/Workfile and then
             choosing the file name from the appropriate path

 Step 2      Let’s assume that we want to examine whether the series named GDP
             contains a unit root. Double click on the series named ‘GDP’ to open
             the series window and choose View/Unit Root Test …. In the unit-
             root test dialog box that appears, choose the type test (i.e., the
             Augmented Dickey-Fuller test) by clicking on it.

 Step 3      We then specify whether we want to test for a unit root in the level,
             first difference, or second difference of the series. We can use this
             option to determine the number of unit roots in the series.

 Step 4      We also have to specify which model of the three DF models we wish
             to use. For the model given by equation (1) click on ‘none’ in the
             dialog box; for the model given by equation (2) click on ‘intercept’;
             and for the model given by equation (3) click on ‘intercept and
             trend’.

 Step 5      Type ‘0’ on the ‘user specified’ below the “lag length’ dialog box.

 Step 6      Having specified these options, click <OK> to carry out the test.

 Step 7      We reject the null hypothesis of a unit root against the one-sided
             alternative if the DF statistic is less than (lies to the left of) the critical
             value, and we conclude that the series is stationary.

Source: Asteriou (2007)




Phung Thanh Binh (2010)                                                                    2

More Related Content

PDF
7. toda yamamoto-granger causality
PDF
6. bounds test for cointegration within ardl or vecm
PDF
4. standard granger causality
PDF
5. cem granger causality ecm
PDF
2. adf tests
PPT
Co-integration
PDF
Propensity albert
PDF
Chapter2: Likelihood-based approach
7. toda yamamoto-granger causality
6. bounds test for cointegration within ardl or vecm
4. standard granger causality
5. cem granger causality ecm
2. adf tests
Co-integration
Propensity albert
Chapter2: Likelihood-based approach

What's hot (20)

PDF
F023064072
PDF
Lesson 15: Exponential Growth and Decay
PDF
Lesson 13: Related Rates Problems
PDF
On the stability and accuracy of finite difference method for options pricing
PDF
The Fundamental theorem of calculus
PDF
11.the comparative study of finite difference method and monte carlo method f...
PDF
А.Н. Ширяев "Обзор современных задач об оптимальной обстановке"
PDF
Predictive mean-matching2
PDF
PDF
Principal Component Analysis for Tensor Analysis and EEG classification
PDF
Quantum Minimax Theorem in Statistical Decision Theory (RIMS2014)
PDF
Lecture on solving1
PDF
Lesson 21: Antiderivatives (notes)
PPTX
Linked CP Tensor Decomposition (presented by ICONIP2012)
PDF
The Odd Generalized Exponential Log Logistic Distribution
PDF
Nber slides11 lecture2
PPT
Chapter 2
PPT
Presentation03 ss
PDF
Free Ebooks Download ! Edhole
PDF
201977 1-1-2-pb
F023064072
Lesson 15: Exponential Growth and Decay
Lesson 13: Related Rates Problems
On the stability and accuracy of finite difference method for options pricing
The Fundamental theorem of calculus
11.the comparative study of finite difference method and monte carlo method f...
А.Н. Ширяев "Обзор современных задач об оптимальной обстановке"
Predictive mean-matching2
Principal Component Analysis for Tensor Analysis and EEG classification
Quantum Minimax Theorem in Statistical Decision Theory (RIMS2014)
Lecture on solving1
Lesson 21: Antiderivatives (notes)
Linked CP Tensor Decomposition (presented by ICONIP2012)
The Odd Generalized Exponential Log Logistic Distribution
Nber slides11 lecture2
Chapter 2
Presentation03 ss
Free Ebooks Download ! Edhole
201977 1-1-2-pb
Ad

Similar to 1. df tests (20)

PPT
Unit Root Test
PPTX
ders 3.3 Unit root testing section 3 .pptx
PPT
Unit Root Test
PPS
Issues in time series econometrics
PPT
modelling lon run relationship in finance
PPTX
Advanced Econometrics L10.pptx
PPT
Ch8 slides
PPT
Ch8_slides.ppt
PDF
Eonometrics for acct and finance ch 6 2023 (2).pdf
PPTX
stationarity.pptx
PPT
Intro to ecm models and cointegration.ppt
PPT
FE3.ppt
DOCX
Time series analysis use E-views programer
PPTX
Lecture 4Testing and Estimating Structural Breaks in Time Series.pptx
PDF
Cointegration among biotech stocks
DOCX
DOCX
financial econometric
PPTX
Regression topics
PDF
Cointegration analysis: Modelling the complex interdependencies between finan...
PDF
Pages from fin econometrics brandt_1
Unit Root Test
ders 3.3 Unit root testing section 3 .pptx
Unit Root Test
Issues in time series econometrics
modelling lon run relationship in finance
Advanced Econometrics L10.pptx
Ch8 slides
Ch8_slides.ppt
Eonometrics for acct and finance ch 6 2023 (2).pdf
stationarity.pptx
Intro to ecm models and cointegration.ppt
FE3.ppt
Time series analysis use E-views programer
Lecture 4Testing and Estimating Structural Breaks in Time Series.pptx
Cointegration among biotech stocks
financial econometric
Regression topics
Cointegration analysis: Modelling the complex interdependencies between finan...
Pages from fin econometrics brandt_1
Ad

1. df tests

  • 1. Data Analysis & Forecasting Faculty of Development Economics NONSTATIONARY & UNIT ROOTS DICKEY-FULLER TESTS 1. DF Test Equations The simple Dickey-Fuller test is based on the following AR(1) model: Yt = ρYt-1 + ut (*) H0: ρ = 1 (Yt has a unit root ~ Yt is nonstationary) H1: ρ < 1 (Yt does not have a unit root ~ Yt is stationary) If we subtract Yt-1 from both sides of (*): Yt – Yt-1 = ρYt-1 – Yt-1 + ut ∆Yt = (ρ - 1)Yt-1 + ut ∆Yt = δYt-1 + ut (1) H0: ρ = 1 (Yt has a unit root ~ Yt is nonstationary) H1: ρ < 1 (Yt does not have a unit root ~ Yt is stationary) Dickey and Fuller (1979) also proposed two alternative regression equations that can be used for testing for the presence of a unit root. The first contains a constant in the random walk process as in the following equation: ∆Yt = α + δYt-1 + ut (2) The second case is also allow, a non-stochastic time trend in the model, so as to have: ∆Yt = α + γT + δYt-1 + ut (3) This test does not have a conventional ‘t’ distribution and so we must use special critical values which were originally calculated by Dickey and Fuller. MacKinnon (1991,1996) tabulated appropriate critical values for each of the three above models and these are presented in Table 1. Table 1: Critical values for DF test Model 1% 5% 10% ∆Yt = δYt-1 + ut -2.56 -1.94 -1.62 ∆Yt = α + δYt-1 + ut -3.43 -2.86 -2.57 ∆Yt = α + γT + δYt-1 + ut -3.96 -3.41 -3.13 Standard critical values -2.33 -1.65 -1.28 Source: Asteriou (2007) Phung Thanh Binh (2010) 1
  • 2. Data Analysis & Forecasting Faculty of Development Economics If the DF statistical value is smaller in absolute terms than the critical value then we reject the null hypothesis of a unit root and conclude that Yt is a stationary process. 2. Performing DF Test in Eviews Step 1 Open the file DF.wf1 by clicking File/Open/Workfile and then choosing the file name from the appropriate path Step 2 Let’s assume that we want to examine whether the series named GDP contains a unit root. Double click on the series named ‘GDP’ to open the series window and choose View/Unit Root Test …. In the unit- root test dialog box that appears, choose the type test (i.e., the Augmented Dickey-Fuller test) by clicking on it. Step 3 We then specify whether we want to test for a unit root in the level, first difference, or second difference of the series. We can use this option to determine the number of unit roots in the series. Step 4 We also have to specify which model of the three DF models we wish to use. For the model given by equation (1) click on ‘none’ in the dialog box; for the model given by equation (2) click on ‘intercept’; and for the model given by equation (3) click on ‘intercept and trend’. Step 5 Type ‘0’ on the ‘user specified’ below the “lag length’ dialog box. Step 6 Having specified these options, click <OK> to carry out the test. Step 7 We reject the null hypothesis of a unit root against the one-sided alternative if the DF statistic is less than (lies to the left of) the critical value, and we conclude that the series is stationary. Source: Asteriou (2007) Phung Thanh Binh (2010) 2