Augmented Dickey-Fuller Test Equation Dependent Variable: D(LGDPI) Method: Least Squares Sample (adjusted): 1960 2003 Included observations: 44 after adjustments.

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 -
1 THE DISTURBANCE TERM IN LOGARITHMIC MODELS Thus far, nothing has been said about the disturbance term in nonlinear regression models.
1 XX X1X1 XX X Random variable X with unknown population mean  X function of X probability density Sample of n observations X 1, X 2,..., X n : potential.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: cointegration Original citation: Dougherty, C. (2012) EC220 - Introduction.
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.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: tests of nonstationarity: example and further complications Original.
============================================================ Dependent Variable: LGHOUS Method: Least Squares Sample: Included observations:
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)
1 PROBABILITY DISTRIBUTION EXAMPLE: X IS THE SUM OF TWO DICE red This sequence provides an example of a discrete random variable. Suppose that you.
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.
FITTING MODELS WITH NONSTATIONARY TIME SERIES 1 Detrending Early macroeconomic models tended to produce poor forecasts, despite having excellent sample-period.
MEASUREMENT ERROR 1 In this sequence we will investigate the consequences of measurement errors in the variables in a regression model. To keep the analysis.
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.
EXPECTED VALUE OF A RANDOM VARIABLE 1 The expected value of a random variable, also known as its population mean, is the weighted average of its possible.
TESTING A HYPOTHESIS RELATING TO A REGRESSION COEFFICIENT This sequence describes the testing of a hypotheses relating to regression coefficients. It is.
1 A MONTE CARLO EXPERIMENT In the previous slideshow, we saw that the error term is responsible for the variations of b 2 around its fixed component 
Christopher Dougherty EC220 - Introduction to econometrics (chapter 3) Slideshow: prediction Original citation: Dougherty, C. (2012) EC220 - Introduction.
SLOPE DUMMY VARIABLES 1 The scatter diagram shows the data for the 74 schools in Shanghai and the cost functions derived from a regression of COST on N.
1 In the previous sequence, we were performing what are described as two-sided t tests. These are appropriate when we have no information about the alternative.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 10) Slideshow: maximum likelihood estimation of regression coefficients Original citation:
DERIVING LINEAR REGRESSION COEFFICIENTS
EC220 - Introduction to econometrics (chapter 12)
DURBIN–WATSON TEST FOR AR(1) AUTOCORRELATION
1 In a second variation, we shall consider the model shown above. x is the rate of growth of productivity, assumed to be exogenous. w is now hypothesized.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: dummy variable classification with two categories Original citation:
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,
1 UNBIASEDNESS AND EFFICIENCY Much of the analysis in this course will be concerned with three properties of estimators: unbiasedness, efficiency, and.
FIXED EFFECTS REGRESSIONS: WITHIN-GROUPS METHOD The two main approaches to the fitting of models using panel data are known, for reasons that will be explained.
DUMMY CLASSIFICATION WITH MORE THAN TWO CATEGORIES This sequence explains how to extend the dummy variable technique to handle a qualitative explanatory.
1 INTERACTIVE EXPLANATORY VARIABLES The model shown above is linear in parameters and it may be fitted using straightforward OLS, provided that the regression.
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.
Confidence intervals were treated at length in the Review chapter and their application to regression analysis presents no problems. We will not repeat.
ALTERNATIVE EXPRESSION FOR POPULATION VARIANCE 1 This sequence derives an alternative expression for the population variance of a random variable. It provides.
CONFLICTS BETWEEN UNBIASEDNESS AND MINIMUM VARIANCE
1 t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN The diagram summarizes the procedure for performing a 5% significance test on the slope coefficient.
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.
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE 1 This sequence provides a geometrical interpretation of a multiple regression model with two.
TYPE II ERROR AND THE POWER OF A TEST A Type I error occurs when the null hypothesis is rejected when it is in fact true. A Type II error occurs when the.
Simple regression model: Y =  1 +  2 X + u 1 We have seen that the regression coefficients b 1 and b 2 are random variables. They provide point estimates.
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.
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.
1 We will now look at the properties of the OLS regression estimators with the assumptions of Model B. We will do this within the context of the simple.
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.
COST 11 DUMMY VARIABLE CLASSIFICATION WITH TWO CATEGORIES 1 This sequence explains how you can include qualitative explanatory variables in your regression.
1 ASYMPTOTIC PROPERTIES OF ESTIMATORS: THE USE OF SIMULATION In practice we deal with finite samples, not infinite ones. So why should we be interested.
Definition of, the expected value of a function of X : 1 EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE To find the expected value of a function of.
RAMSEY’S RESET TEST OF FUNCTIONAL MISSPECIFICATION 1 Ramsey’s RESET test of functional misspecification is intended to provide a simple indicator of evidence.
4 In our case, the starting point should be the model with all the lagged variables. DYNAMIC MODEL SPECIFICATION General model with lagged variables Static.
1 HETEROSCEDASTICITY: WEIGHTED AND LOGARITHMIC REGRESSIONS This sequence presents two methods for dealing with the problem of heteroscedasticity. We will.
1 ESTIMATORS OF VARIANCE, COVARIANCE, AND CORRELATION We have seen that the variance of a random variable X is given by the expression above. Variance.
TESTING FOR NONSTATIONARITY 1 This sequence will describe two methods for detecting nonstationarity, a graphical method involving correlograms and a more.
1 REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION Linear restrictions can also be tested using a t test. This involves the reparameterization.
TESTING FOR NONSTATIONARITY 1 This sequence will describe two methods for detecting nonstationarity, a graphical method involving correlograms and a more.
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.
WHITE TEST FOR HETEROSCEDASTICITY 1 The White test for heteroscedasticity looks for evidence of an association between the variance of the disturbance.
1 COMPARING LINEAR AND LOGARITHMIC SPECIFICATIONS When alternative specifications of a regression model have the same dependent variable, R 2 can be used.
Introduction to Econometrics, 5th edition Chapter 12: Autocorrelation
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Presentation transcript:

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.

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). TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 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) ============================================================

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. TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 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) ============================================================

4 Of course, we need to perform a proper test, and we will use the ADF t test. TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 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) ============================================================

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 ============================================================ 5 The t statistic, reproduced at the top of the output where it is designated the ADF test statistic, is –1.78. 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. TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 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 ============================================================

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. TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 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 ============================================================

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) ============================================================ 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. 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. TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 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) ============================================================

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. TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 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) ============================================================

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 ============================================================ 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). TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS

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 ============================================================ 12 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. TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS

13 TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS 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 General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e)

14 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. TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS or General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e)

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

16 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. TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS or General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e)

17 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. TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS or General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e)

18 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. TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS or General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e)

19 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. TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS or General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e)

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

21 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. TESTS OF NONSTATIONARITY: EXAMPLE AND FURTHER COMPLICATIONS or General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e)

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 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