際際滷

際際滷Share 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      Lets 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
Ad

Recommended

7. toda yamamoto-granger causality
7. toda yamamoto-granger causality
Quang Hoang
6. bounds test for cointegration within ardl or vecm
6. bounds test for cointegration within ardl or vecm
Quang Hoang
4. standard granger causality
4. standard granger causality
Quang Hoang
5. cem granger causality ecm
5. cem granger causality ecm
Quang Hoang
2. adf tests
2. adf tests
Quang Hoang
Co-integration
Co-integration
Suniya Sheikh
Propensity albert
Propensity albert
Jae-kwang Kim
Chapter2: Likelihood-based approach
Chapter2: Likelihood-based approach
Jae-kwang Kim
F023064072
F023064072
inventionjournals
Lesson 15: Exponential Growth and Decay
Lesson 15: Exponential Growth and Decay
Matthew Leingang
Lesson 13: Related Rates Problems
Lesson 13: Related Rates Problems
Matthew Leingang
On the stability and accuracy of finite difference method for options pricing
On the stability and accuracy of finite difference method for options pricing
Alexander Decker
The Fundamental theorem of calculus
The Fundamental theorem of calculus
AhsanIrshad8
11.the comparative study of finite difference method and monte carlo method f...
11.the comparative study of finite difference method and monte carlo method f...
Alexander Decker
.. 丿亳磳于 "弍亰仂 仂于亠仄亠仆仆 亰舒亟舒 仂弍 仂仗亳仄舒仍仆仂亶 仂弍舒仆仂于从亠"
.. 丿亳磳于 "弍亰仂 仂于亠仄亠仆仆 亰舒亟舒 仂弍 仂仗亳仄舒仍仆仂亶 仂弍舒仆仂于从亠"
Yandex
Predictive mean-matching2
Predictive mean-matching2
Jae-kwang Kim
MNAR
MNAR
Jae-kwang Kim
Principal Component Analysis for Tensor Analysis and EEG classification
Principal Component Analysis for Tensor Analysis and EEG classification
Tatsuya Yokota
Quantum Minimax Theorem in Statistical Decision Theory (RIMS2014)
Quantum Minimax Theorem in Statistical Decision Theory (RIMS2014)
tanafuyu
Lecture on solving1
Lecture on solving1
NBER
Lesson 21: Antiderivatives (notes)
Lesson 21: Antiderivatives (notes)
Matthew Leingang
Linked CP Tensor Decomposition (presented by ICONIP2012)
Linked CP Tensor Decomposition (presented by ICONIP2012)
Tatsuya Yokota
The Odd Generalized Exponential Log Logistic Distribution
The Odd Generalized Exponential Log Logistic Distribution
inventionjournals
Nber slides11 lecture2
Nber slides11 lecture2
NBER
Chapter 2
Chapter 2
the_satellite
Presentation03 ss
Presentation03 ss
nashaat algrara
Free Ebooks Download ! Edhole
Free Ebooks Download ! Edhole
Edhole.com
201977 1-1-2-pb
201977 1-1-2-pb
AssociateProfessorKM
Unit Root Test
Unit Root Test
Suniya Sheikh
isi
isi
ahfdv

More Related Content

What's hot (20)

F023064072
F023064072
inventionjournals
Lesson 15: Exponential Growth and Decay
Lesson 15: Exponential Growth and Decay
Matthew Leingang
Lesson 13: Related Rates Problems
Lesson 13: Related Rates Problems
Matthew Leingang
On the stability and accuracy of finite difference method for options pricing
On the stability and accuracy of finite difference method for options pricing
Alexander Decker
The Fundamental theorem of calculus
The Fundamental theorem of calculus
AhsanIrshad8
11.the comparative study of finite difference method and monte carlo method f...
11.the comparative study of finite difference method and monte carlo method f...
Alexander Decker
.. 丿亳磳于 "弍亰仂 仂于亠仄亠仆仆 亰舒亟舒 仂弍 仂仗亳仄舒仍仆仂亶 仂弍舒仆仂于从亠"
.. 丿亳磳于 "弍亰仂 仂于亠仄亠仆仆 亰舒亟舒 仂弍 仂仗亳仄舒仍仆仂亶 仂弍舒仆仂于从亠"
Yandex
Predictive mean-matching2
Predictive mean-matching2
Jae-kwang Kim
MNAR
MNAR
Jae-kwang Kim
Principal Component Analysis for Tensor Analysis and EEG classification
Principal Component Analysis for Tensor Analysis and EEG classification
Tatsuya Yokota
Quantum Minimax Theorem in Statistical Decision Theory (RIMS2014)
Quantum Minimax Theorem in Statistical Decision Theory (RIMS2014)
tanafuyu
Lecture on solving1
Lecture on solving1
NBER
Lesson 21: Antiderivatives (notes)
Lesson 21: Antiderivatives (notes)
Matthew Leingang
Linked CP Tensor Decomposition (presented by ICONIP2012)
Linked CP Tensor Decomposition (presented by ICONIP2012)
Tatsuya Yokota
The Odd Generalized Exponential Log Logistic Distribution
The Odd Generalized Exponential Log Logistic Distribution
inventionjournals
Nber slides11 lecture2
Nber slides11 lecture2
NBER
Chapter 2
Chapter 2
the_satellite
Presentation03 ss
Presentation03 ss
nashaat algrara
Free Ebooks Download ! Edhole
Free Ebooks Download ! Edhole
Edhole.com
201977 1-1-2-pb
201977 1-1-2-pb
AssociateProfessorKM
Lesson 15: Exponential Growth and Decay
Lesson 15: Exponential Growth and Decay
Matthew Leingang
Lesson 13: Related Rates Problems
Lesson 13: Related Rates Problems
Matthew Leingang
On the stability and accuracy of finite difference method for options pricing
On the stability and accuracy of finite difference method for options pricing
Alexander Decker
The Fundamental theorem of calculus
The Fundamental theorem of calculus
AhsanIrshad8
11.the comparative study of finite difference method and monte carlo method f...
11.the comparative study of finite difference method and monte carlo method f...
Alexander Decker
.. 丿亳磳于 "弍亰仂 仂于亠仄亠仆仆 亰舒亟舒 仂弍 仂仗亳仄舒仍仆仂亶 仂弍舒仆仂于从亠"
.. 丿亳磳于 "弍亰仂 仂于亠仄亠仆仆 亰舒亟舒 仂弍 仂仗亳仄舒仍仆仂亶 仂弍舒仆仂于从亠"
Yandex
Predictive mean-matching2
Predictive mean-matching2
Jae-kwang Kim
Principal Component Analysis for Tensor Analysis and EEG classification
Principal Component Analysis for Tensor Analysis and EEG classification
Tatsuya Yokota
Quantum Minimax Theorem in Statistical Decision Theory (RIMS2014)
Quantum Minimax Theorem in Statistical Decision Theory (RIMS2014)
tanafuyu
Lecture on solving1
Lecture on solving1
NBER
Lesson 21: Antiderivatives (notes)
Lesson 21: Antiderivatives (notes)
Matthew Leingang
Linked CP Tensor Decomposition (presented by ICONIP2012)
Linked CP Tensor Decomposition (presented by ICONIP2012)
Tatsuya Yokota
The Odd Generalized Exponential Log Logistic Distribution
The Odd Generalized Exponential Log Logistic Distribution
inventionjournals
Nber slides11 lecture2
Nber slides11 lecture2
NBER
Free Ebooks Download ! Edhole
Free Ebooks Download ! Edhole
Edhole.com

Similar to 1. df tests (20)

Unit Root Test
Unit Root Test
Suniya Sheikh
isi
isi
ahfdv
Cointegration analysis: Modelling the complex interdependencies between finan...
Cointegration analysis: Modelling the complex interdependencies between finan...
Edward Thomas Jones
Issues in time series econometrics
Issues in time series econometrics
Babu Tyagu
Unit Root Test
Unit Root Test
Suniya Sheikh
Ch8 slides
Ch8 slides
fentaw leykun
Ch8_slides.ppt
Ch8_slides.ppt
QUNHHUNHTRNTRC
ders 3.3 Unit root testing section 3 .pptx
ders 3.3 Unit root testing section 3 .pptx
Ergin Akalpler
11油T(EA) FOR TWO油TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
11油T(EA) FOR TWO油TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
novabroom
Multivariate decision tree
Multivariate decision tree
Prafulla Shukla
modelling lon run relationship in finance
modelling lon run relationship in finance
tilfani
Estimation of Dynamic Causal Effects -Introduction to Economics
Estimation of Dynamic Causal Effects -Introduction to Economics
NgocducPham1
better together? statistical learning in models made of modules
better together? statistical learning in models made of modules
Christian Robert
Asset Prices in Segmented and Integrated Markets
Asset Prices in Segmented and Integrated Markets
guasoni
SPM 12 practical course by Volodymyr B. Bogdanov (Kyiv 2015, Day 2)
SPM 12 practical course by Volodymyr B. Bogdanov (Kyiv 2015, Day 2)
Volodymyr Bogdanov
Cointegration among biotech stocks
Cointegration among biotech stocks
Peter Zobel
Brown bag 2012_fall
Brown bag 2012_fall
Xiaolei Zhou
Estimation of Static Discrete Choice Models Using Market Level Data
Estimation of Static Discrete Choice Models Using Market Level Data
NBER
Exponential lindley additive failure rate model
Exponential lindley additive failure rate model
eSAT Journals
Lecture06_Regression and optimization.pdf
Lecture06_Regression and optimization.pdf
ShafinZaman2
isi
isi
ahfdv
Cointegration analysis: Modelling the complex interdependencies between finan...
Cointegration analysis: Modelling the complex interdependencies between finan...
Edward Thomas Jones
Issues in time series econometrics
Issues in time series econometrics
Babu Tyagu
ders 3.3 Unit root testing section 3 .pptx
ders 3.3 Unit root testing section 3 .pptx
Ergin Akalpler
11油T(EA) FOR TWO油TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
11油T(EA) FOR TWO油TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
novabroom
Multivariate decision tree
Multivariate decision tree
Prafulla Shukla
modelling lon run relationship in finance
modelling lon run relationship in finance
tilfani
Estimation of Dynamic Causal Effects -Introduction to Economics
Estimation of Dynamic Causal Effects -Introduction to Economics
NgocducPham1
better together? statistical learning in models made of modules
better together? statistical learning in models made of modules
Christian Robert
Asset Prices in Segmented and Integrated Markets
Asset Prices in Segmented and Integrated Markets
guasoni
SPM 12 practical course by Volodymyr B. Bogdanov (Kyiv 2015, Day 2)
SPM 12 practical course by Volodymyr B. Bogdanov (Kyiv 2015, Day 2)
Volodymyr Bogdanov
Cointegration among biotech stocks
Cointegration among biotech stocks
Peter Zobel
Brown bag 2012_fall
Brown bag 2012_fall
Xiaolei Zhou
Estimation of Static Discrete Choice Models Using Market Level Data
Estimation of Static Discrete Choice Models Using Market Level Data
NBER
Exponential lindley additive failure rate model
Exponential lindley additive failure rate model
eSAT Journals
Lecture06_Regression and optimization.pdf
Lecture06_Regression and optimization.pdf
ShafinZaman2
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 Lets 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