Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: tests of nonstationarity: example and further complications Original.

Slides:



Advertisements
Similar presentations
Christopher Dougherty EC220 - Introduction to econometrics (chapter 11) Slideshow: static models and models with lags Original citation: Dougherty, C.
Advertisements

Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: slope dummy variables Original citation: Dougherty, C. (2012) EC220 -
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: a Monte Carlo experiment Original citation: Dougherty, C. (2012) EC220.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 10) Slideshow: introduction to maximum likelihood estimation Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 11) Slideshow: adaptive expectations Original citation: Dougherty, C. (2012) EC220.
EC220 - Introduction to econometrics (chapter 7)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: cointegration Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: asymptotic properties of estimators: plims and consistency Original.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: stationary processes Original citation: Dougherty, C. (2012) EC220 -
1 The graphical approach appears to have served the time series analysts satisfactorily, but on the whole econometricians prefer more formal methods and.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: tests of nonstationarity: introduction Original citation: Dougherty,
COINTEGRATION 1 The next topic is cointegration. Suppose that you have two nonstationary series X and Y and you hypothesize that Y is a linear function.
Augmented Dickey-Fuller Test Equation Dependent Variable: D(LGDPI) Method: Least Squares Sample (adjusted): Included observations: 44 after adjustments.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: dynamic model specification Original citation: Dougherty, C. (2012)
============================================================ Dependent Variable: LGHOUS Method: Least Squares Sample: Included observations:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: testing a hypothesis relating to a regression coefficient Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: interactive explanatory variables Original citation: Dougherty, C. (2012)
HETEROSCEDASTICITY-CONSISTENT STANDARD ERRORS 1 Heteroscedasticity causes OLS standard errors to be biased is finite samples. However it can be demonstrated.
EC220 - Introduction to econometrics (chapter 7)
Random effects estimation RANDOM EFFECTS REGRESSIONS When the observed variables of interest are constant for each individual, a fixed effects regression.
1 The graphical approach appears to have served the time series analysts satisfactorily, but on the whole econometricians prefer more formal methods and.
AUTOCORRELATION 1 The third Gauss-Markov condition is that the values of the disturbance term in the observations in the sample be generated independently.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: nonstationary processes Original citation: Dougherty, C. (2012) EC220.
1 TIME SERIES MODELS: STATIC MODELS AND MODELS WITH LAGS In this sequence we will make an initial exploration of the determinants of aggregate consumer.
1 ASSUMPTIONS FOR MODEL C: REGRESSIONS WITH TIME SERIES DATA Assumptions C.1, C.3, C.4, C.5, and C.8, and the consequences of their violations are the.
EC220 - Introduction to econometrics (chapter 2)
EC220 - Introduction to econometrics (chapter 9)
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: expected value of a function of a random variable Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 6) Slideshow: variable misspecification iii: consequences for diagnostics Original.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: confidence intervals Original citation: Dougherty, C. (2012) EC220.
EC220 - Introduction to econometrics (review chapter)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 3) Slideshow: prediction Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 3) Slideshow: precision of the multiple regression coefficients Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: semilogarithmic models Original citation: Dougherty, C. (2012) EC220.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: nonlinear regression Original citation: Dougherty, C. (2012) EC220 -
Christopher Dougherty EC220 - Introduction to econometrics (chapter 10) Slideshow: maximum likelihood estimation of regression coefficients Original citation:
EC220 - Introduction to econometrics (chapter 12)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: Chow test Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: the normal distribution Original citation: Dougherty, C. (2012)
DURBIN–WATSON TEST FOR AR(1) AUTOCORRELATION
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: dummy variable classification with two categories Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: two sets of dummy variables Original citation: Dougherty, C. (2012) EC220.
1 PREDICTION In the previous sequence, we saw how to predict the price of a good or asset given the composition of its characteristics. In this sequence,
EC220 - Introduction to econometrics (review chapter)
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: sampling and estimators Original citation: Dougherty, C. (2012)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: the effects of changing the reference category Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: dummy classification with more than two categories Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: autocorrelation, partial adjustment, and adaptive expectations Original.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: conflicts between unbiasedness and minimum variance Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 8) Slideshow: measurement error Original citation: Dougherty, C. (2012) EC220 - Introduction.
THE FIXED AND RANDOM COMPONENTS OF A RANDOM VARIABLE 1 In this short sequence we shall decompose a random variable X into its fixed and random components.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 11) Slideshow: Friedman Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 7) Slideshow: weighted least squares and logarithmic regressions Original citation:
EC220 - Introduction to econometrics (chapter 8)
F TEST OF GOODNESS OF FIT FOR THE WHOLE EQUATION 1 This sequence describes two F tests of goodness of fit in a multiple regression model. The first relates.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: footnote: the Cochrane-Orcutt iterative process Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 9) Slideshow: instrumental variable estimation: variation Original citation: Dougherty,
SPURIOUS REGRESSIONS 1 In a famous Monte Carlo experiment, Granger and Newbold fitted the model Y t =  1 +  2 X t + u t where Y t and X t were independently-generated.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 6) Slideshow: multiple restrictions and zero restrictions Original citation: Dougherty,
PARTIAL ADJUSTMENT 1 The idea behind the partial adjustment model is that, while a dependent variable Y may be related to an explanatory variable X, there.
AUTOCORRELATION 1 Assumption C.5 states that the values of the disturbance term in the observations in the sample are generated independently of each other.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: exercise 4.5 Original citation: Dougherty, C. (2012) EC220 - Introduction.
1 We will continue with a variation on the basic model. We will now hypothesize that p is a function of m, the rate of growth of the money supply, as well.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: alternative expression for population variance Original citation:
TESTING FOR NONSTATIONARITY 1 This sequence will describe two methods for detecting nonstationarity, a graphical method involving correlograms and a more.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: confidence intervals Original citation: Dougherty, C. (2012) EC220 -
F TESTS RELATING TO GROUPS OF EXPLANATORY VARIABLES 1 We now come to more general F tests of goodness of fit. This is a test of the joint explanatory power.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: independence of two random variables Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 1) Slideshow: simple regression model Original citation: Dougherty, C. (2012) EC220.
Introduction to Econometrics, 5th edition Chapter 12: Autocorrelation
Presentation transcript:

Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: tests of nonstationarity: example and further complications Original citation: Dougherty, C. (2012) EC220 - Introduction to econometrics (chapter 13). [Teaching Resource] © 2012 The Author This version available at: Available in LSE Learning Resources Online: May 2012 This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. This license allows the user to remix, tweak, and build upon the work even for commercial purposes, as long as the user credits the author and licenses their new creations under the identical terms

Augmented Dickey-Fuller Test Equation Dependent Variable: D(LGDPI) Method: Least Squares Sample (adjusted): Included observations: 44 after adjustments ============================================================ Variable Coefficient Std. Error t-Statistic Prob. ============================================================ LGDPI(-1) C ============================================================ R-squared Mean dependent var Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criter Sum squared resid Schwarz criterion Log likelihood Hannan-Quinn crite F-statistic Durbin-Watson stat Prob(F-statistic) ============================================================ TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 1 The table shows the second half of the EViews output when performing an ADF test on the logarithm of DPI. The value of p has been determined by the BIC (SIC) and turns out to be zero, so the regression is of the change of log income on lagged log income and time.

Augmented Dickey-Fuller Test Equation Dependent Variable: D(LGDPI) Method: Least Squares Sample (adjusted): Included observations: 44 after adjustments ============================================================ Variable Coefficient Std. Error t-Statistic Prob. ============================================================ LGDPI(-1) C ============================================================ R-squared Mean dependent var Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criter Sum squared resid Schwarz criterion Log likelihood Hannan-Quinn crite F-statistic Durbin-Watson stat Prob(F-statistic) ============================================================ TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 2 The time trend has been included because and inspection of the data reveals that the process is strongly trended and that therefore we need to discriminate between Case (c) (a random walk with drift) and Case (d) (a deterministic trend).

Augmented Dickey-Fuller Test Equation Dependent Variable: D(LGDPI) Method: Least Squares Sample (adjusted): Included observations: 44 after adjustments ============================================================ Variable Coefficient Std. Error t-Statistic Prob. ============================================================ LGDPI(-1) C ============================================================ R-squared Mean dependent var Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criter Sum squared resid Schwarz criterion Log likelihood Hannan-Quinn crite F-statistic Durbin-Watson stat Prob(F-statistic) ============================================================ TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 3 The coefficient of LGDPI t–1 is –0.09, close to zero. The null hypothesis is that the process is nonstationary. Under H 0 : the true value of the coefficient of LGDPI t–1 would be zero. So the near-zero coefficient suggests that the process is nonstationary.

Augmented Dickey-Fuller Test Equation Dependent Variable: D(LGDPI) Method: Least Squares Sample (adjusted): Included observations: 44 after adjustments ============================================================ Variable Coefficient Std. Error t-Statistic Prob. ============================================================ LGDPI(-1) C ============================================================ R-squared Mean dependent var Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criter Sum squared resid Schwarz criterion Log likelihood Hannan-Quinn crite F-statistic Durbin-Watson stat Prob(F-statistic) ============================================================ TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 4 Of course, we need to perform a proper test, and we will use the ADF t test.

Augmented Dickey-Fuller Unit Root Test on LGDPI ============================================================ Null Hypothesis: LGDPI has a unit root Exogenous: Constant, Linear Trend Lag Length: 0 (Automatic based on SIC, MAXLAG=9) ============================================================ t-Statistic Prob.* ============================================================ Augmented Dickey-Fuller test statistic Test critical values1% level % level % level ============================================================ *MacKinnon (1996) one-sided p-values. ============================================================ Variable Coefficient Std. Error t-Statistic Prob. ============================================================ LGDPI(-1) C ============================================================ TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 5 The t statistic, reproduced at the top of the output where it is designated the ADF test statistic, is –1.78.

Augmented Dickey-Fuller Unit Root Test on LGDPI ============================================================ Null Hypothesis: LGDPI has a unit root Exogenous: Constant, Linear Trend Lag Length: 0 (Automatic based on SIC, MAXLAG=9) ============================================================ t-Statistic Prob.* ============================================================ Augmented Dickey-Fuller test statistic Test critical values1% level % level % level ============================================================ *MacKinnon (1996) one-sided p-values. ============================================================ Variable Coefficient Std. Error t-Statistic Prob. ============================================================ LGDPI(-1) C ============================================================ TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 6 Under the null hypothesis of nonstationarity, the critical value of t at the 5 percent level, also given at the top of the output, is –3.52, and hence the null hypothesis of nonstationarity is not rejected.

Augmented Dickey-Fuller Unit Root Test on LGDPI ============================================================ Null Hypothesis: LGDPI has a unit root Exogenous: Constant, Linear Trend Lag Length: 0 (Automatic based on SIC, MAXLAG=9) ============================================================ t-Statistic Prob.* ============================================================ Augmented Dickey-Fuller test statistic Test critical values1% level % level % level ============================================================ *MacKinnon (1996) one-sided p-values. ============================================================ Variable Coefficient Std. Error t-Statistic Prob. ============================================================ LGDPI(-1) C ============================================================ TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 7 Notice that the critical value is much larger than 1.69, the conventional critical value for a one-sided test at the 5 percent level for a sample of this size.

Augmented Dickey-Fuller Test Equation Dependent Variable: D(LGDPI,2) Method: Least Squares Sample (adjusted): Included observations: 43 after adjustments ============================================================ Variable Coefficient Std. Error t-Statistic Prob. ============================================================ D(LGDPI(-1)) C ============================================================ R-squared Mean dependent var-6.15E-05 Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criter Sum squared resid Schwarz criterion Log likelihood Hannan-Quinn crite F-statistic Durbin-Watson stat Prob(F-statistic) ============================================================ TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 8 We now take first differences of the data for log income and again test for nonstationarity. An inspection of the differenced series reveals no trend, so we need to discriminate between Case (a) (a stationary process) and Case (b) (a random walk). We do not need to consider a time trend.

Augmented Dickey-Fuller Test Equation Dependent Variable: D(LGDPI,2) Method: Least Squares Sample (adjusted): Included observations: 43 after adjustments ============================================================ Variable Coefficient Std. Error t-Statistic Prob. ============================================================ D(LGDPI(-1)) C ============================================================ R-squared Mean dependent var-6.15E-05 Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criter Sum squared resid Schwarz criterion Log likelihood Hannan-Quinn crite F-statistic Durbin-Watson stat Prob(F-statistic) ============================================================ TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 9 Because we are testing the first differences, the dependent variable in the regression is the change in the first difference, in other words, the second difference. The explanatory variable is the lfirst difference in lagged log income.

Augmented Dickey-Fuller Test Equation Dependent Variable: D(LGDPI,2) Method: Least Squares Sample (adjusted): Included observations: 43 after adjustments ============================================================ Variable Coefficient Std. Error t-Statistic Prob. ============================================================ D(LGDPI(-1)) C ============================================================ R-squared Mean dependent var-6.15E-05 Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criter Sum squared resid Schwarz criterion Log likelihood Hannan-Quinn crite F-statistic Durbin-Watson stat Prob(F-statistic) ============================================================ TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 10 The table shows the second half of the EViews output when performing an ADF test on the differenced series. The coefficient of DLGDPI t–1 is –0.82, well below zero, suggesting that the null hypothesis of a nonstationary process should be rejected.

Augmented Dickey-Fuller Unit Root Test on D(LGDPI) ============================================================ Null Hypothesis: D(LGDPI) has a unit root Exogenous: Constant Lag Length: 0 (Automatic based on SIC, MAXLAG=9) ============================================================ t-Statistic Prob.* ============================================================ Augmented Dickey-Fuller test statistic Test critical values1% level % level % level ============================================================ *MacKinnon (1996) one-sided p-values. ============================================================ Variable Coefficient Std. Error t-Statistic Prob. ============================================================ D(LGDPI(-1)) C ============================================================ TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 11 This is confirmed by the t statistic, –5.31, which allows the null hypothesis of nonstationarity to be rejected at the 1 percent level (critical value –3.59). The tests therefore suggest that the logarithm of DPI is generated as an I(1) process. ADF–GLS tests produce very similar results for both levels and first differences.

General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e) 12 The previous slideshows may have suggested that discriminating between the possible cases is straightforward, apart from indeterminacy caused by the lower power of the tests. However, there are further issues. or TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS

General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e) 13 If a process obviously possesses a trend, it should be possible to discriminate between the null hypothesis of a unit root and the alternative hypothesis of a deterministic trend, despite the low power of the tests that have been proposed, if one has enough observations. or TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS

General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e) 14 However, the standard tests assume that, under the alternative hypothesis, the deterministic trend is truly fixed, apart from a stationary random process around it. or TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS

General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e) 15 The picture becomes blurred if one allows for the possibility that the deterministic trend may periodically be subject to shocks, for then the process begins to look a little like a random walk with drift and the difficulty of rejecting a unit root is increased. or TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS

General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e) 16 For example, in their influential study, Nelson and Plosser (1982) concluded that the logarithm of GDP, along with several other important macroeconomic variables, was subject to a unit root. or TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS

General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e) 17 However, others have shown that the data are also consistent with a representation of the process as a deterministic trend subject to breaks such as those that could reasonably be associated with major events such as the Great Depression and the Second World War. or TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS

General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e) 18 Another layer of complexity is added if the assumption of a constant variance of the disturbance term is relaxed. If this is relaxed, it becomes harder still to discriminate between the competing hypotheses. or TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS

General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e) 19 In the case of GDP, increased volatility appears to be associated with the same major events that may have been responsible for breaks. or TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS

General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e) 20 These issues remain an active research area in the literature and make an understanding of the context all the more necessary for the selection of an appropriate representation of a process. or TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS

Copyright Christopher Dougherty These slideshows may be downloaded by anyone, anywhere for personal use. Subject to respect for copyright and, where appropriate, attribution, they may be used as a resource for teaching an econometrics course. There is no need to refer to the author. The content of this slideshow comes from Section 13.4 of C. Dougherty, Introduction to Econometrics, fourth edition 2011, Oxford University Press. Additional (free) resources for both students and instructors may be downloaded from the OUP Online Resource Centre Individuals studying econometrics on their own and who feel that they might benefit from participation in a formal course should consider the London School of Economics summer school course EC212 Introduction to Econometrics or the University of London International Programmes distance learning course 20 Elements of Econometrics