Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: tests of nonstationarity: untrended data Original citation: Dougherty,

Slides:



Advertisements
Similar presentations
EC220 - Introduction to econometrics (chapter 2)
Advertisements

Christopher Dougherty EC220 - Introduction to econometrics (chapter 8) Slideshow: model b: properties of the regression coefficients Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: asymptotic properties of estimators: the use of simulation Original.
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 (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,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: tests of nonstationarity: example and further complications Original.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: testing a hypothesis relating to a regression coefficient Original citation:
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.
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.
ASYMPTOTIC PROPERTIES OF ESTIMATORS: PLIMS AND CONSISTENCY
EC220 - Introduction to econometrics (chapter 2)
EC220 - Introduction to econometrics (chapter 9)
00  sd  0 –sd  0 –1.96sd  0 +sd 2.5% CONFIDENCE INTERVALS probability density function of X null hypothesis H 0 :  =  0 In the sequence.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: expected value of a function of a random variable Original citation:
1 We will now consider the distributional properties of OLS estimators in models with a lagged dependent variable. We will do so for the simplest such.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: confidence intervals Original citation: Dougherty, C. (2012) EC220.
EC220 - Introduction to econometrics (chapter 1)
EC220 - Introduction to econometrics (review chapter)
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.
1 THE CENTRAL LIMIT THEOREM If a random variable X has a normal distribution, its sample mean X will also have a normal distribution. This fact is useful.
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 4) Slideshow: semilogarithmic models 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)
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)
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.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: sampling and estimators Original citation: Dougherty, C. (2012)
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.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 11) Slideshow: Friedman Original citation: Dougherty, C. (2012) EC220 - Introduction.
CONSEQUENCES OF AUTOCORRELATION
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.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 7) Slideshow: weighted least squares and logarithmic regressions Original citation:
ASYMPTOTIC AND FINITE-SAMPLE DISTRIBUTIONS OF THE IV ESTIMATOR
EC220 - Introduction to econometrics (chapter 8)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: footnote: the Cochrane-Orcutt iterative process Original citation: Dougherty,
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.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 9) Slideshow: instrumental variable estimation: variation Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 6) Slideshow: multiple restrictions and zero restrictions Original citation: Dougherty,
TESTS OF NONSTATIONARITY: UNTRENDED DATA 1 In the previous slideshow we considered the conditions under which the process shown at the top of the slide.
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.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: alternative expression for population variance Original citation:
1 11 00 This sequence explains the logic behind a one-sided t test. ONE-SIDED t TESTS  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% null hypothesis:H 0 :
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.
INSTRUMENTAL VARIABLES 1 Suppose that you have a model in which Y is determined by X but you have reason to believe that Assumption B.7 is invalid and.
1 INSTRUMENTAL VARIABLE ESTIMATION OF SIMULTANEOUS EQUATIONS In the previous sequence it was asserted that the reduced form equations have two important.
1 HETEROSCEDASTICITY: WEIGHTED AND LOGARITHMIC REGRESSIONS This sequence presents two methods for dealing with the problem of heteroscedasticity. We will.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: confidence intervals Original citation: Dougherty, C. (2012) EC220 -
1 We will illustrate the heteroscedasticity theory with a Monte Carlo simulation. HETEROSCEDASTICITY: MONTE CARLO ILLUSTRATION 1 standard deviation of.
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
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Presentation transcript:

Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: tests of nonstationarity: untrended data 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

General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e) TESTS OF NONSTATIONARITY: UNTRENDED DATA 1 In the previous slideshow we considered the conditions under which the process shown at the top of the slide would be stationary or nonstationary. We distinguished five cases arising from different assumptions relating to  1,  2 and . or

General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e) TESTS OF NONSTATIONARITY: UNTRENDED DATA 2 Case (e) has already been eliminated because it implies an implausible process (one with a quadratic time trend). or

General model Alternatives Case (a) Case (b) Case (c) Case (d) Case (e) TESTS OF NONSTATIONARITY: UNTRENDED DATA 3 We then decided to proceed by plotting the data and assessing whether there is evidence of a trend. If there is not, then one limits the investigation to cases (a) and (b). If there is, one considers cases (c) and (d). or

General model Alternatives Case (a) Case (b) TESTS OF NONSTATIONARITY: UNTRENDED DATA 4 or In this slideshow we will investigate how one might distinguish between Case (a), a stationary autoregressive process, and Case (b), a random walk.

General model Alternatives Case (a) Case (b) TESTS OF NONSTATIONARITY: UNTRENDED DATA 5 Note that there is an asymmetry in the specification under the two possibilities. or

General model Alternatives Case (a) Case (b) TESTS OF NONSTATIONARITY: UNTRENDED DATA 6 If the process is a random walk, there must be no intercept. Otherwise the process would be a random walk with drift and therefore trended. If the process is stationary, the intercept may, and in general, will, be nonzero. or

General model Alternatives Case (a) Case (b) TESTS OF NONSTATIONARITY: UNTRENDED DATA 7 For this reason, in the discussion below, it should be assumed that the fitted model includes an intercept, as in the general model, and that we are interested in testing the restrictions  2 = 1 and  1 = 0. or

General model Case (a) Case (b) TESTS OF NONSTATIONARITY: UNTRENDED DATA 8 In Section 11.5 we investigated the properties of the OLS estimator of  2 when fitting the autoregressive process Y t =  2 Y t–1 +  t. This model has no intercept, but the analysis of the properties of b 2 is unchanged if we include one.

General model Case (a) Case (b) TESTS OF NONSTATIONARITY: UNTRENDED DATA 9 We were not able to say anything analytically about the finite-sample properties of the estimator, but we saw that it is consistent and we could use a central limit theorem to demonstrate that the limiting distribution of √T(b 2 –  2 ) is N(0, 1 –  2 2 ).

General model Case (a) Case (b) TESTS OF NONSTATIONARITY: UNTRENDED DATA 10 From this, we could assert that, as an approximation, for sufficiently large samples, b 2 would be distributed as shown and we investigated the closeness of the approximation using simulation methods. As noted, including an intercept does not affect the analysis.

General model Case (a) Case (b) TESTS OF NONSTATIONARITY: UNTRENDED DATA 11 What happens if  2 = 1, as in Case (b)? If we try to apply the asymptotic analysis when  2 = 1, we immediately get into trouble. It implies that the limiting distribution of the scaled estimator has zero variance.

TESTS OF NONSTATIONARITY: UNTRENDED DATA 12 This is actually correct. To understand what is happening, we will look at the distribution of the estimated values of b 2, when  1 = 0 and  2 = 1, for T = 25, 50, 100, and 200. The figure shows the distribution of b 2 for the different sample sizes when we fit Y t =  1 +  2 Y t–1 +  t. Distribution of b 2

TESTS OF NONSTATIONARITY: UNTRENDED DATA 13 As expected, the OLS estimator is biased for finite samples but consistent. The distribution collapses to a spike as the sample size increases, and the spike is at the true value  2 = 1. Distribution of b 2

TESTS OF NONSTATIONARITY: UNTRENDED DATA 14 This is as anticipated since OLS is a consistent estimator for all AR(1) processes. What is surprising is the rate at which the distribution contracts. In all applications so far, the variance of the OLS estimator has been inversely proportional to the size of the sample. Distribution of b 2

TESTS OF NONSTATIONARITY: UNTRENDED DATA 15 Hence the standard deviation is inversely proportional to √T, and since the area is constant at one, the height of the distribution is proportional to √T. Distribution of b 2

16 We saw a typical example in the slideshow on spurious regressions. This figure shows the distribution of b 2 for the regression where Y t and X t were white noise processes drawn independently from a normal distribution with zero mean and unit variance. SPURIOUS REGRESSIONS Distribution of b 2 (Y t and X t independent white noise)

17 You can see that, as the sample size doubles, the height is increased by a factor √2 = 1.41 SPURIOUS REGRESSIONS Distribution of b 2 (Y t and X t independent white noise)

TESTS OF NONSTATIONARITY: UNTRENDED DATA 18 However, when  2 = 1 and the true process is a random walk, it can be seen that the height is proportional to T. The height doubles from T = 25 to T = 50, it doubles again from T = 50 to T = 100, and it doubles once more from T = 100 to T = 200. Distribution of b 2

TESTS OF NONSTATIONARITY: UNTRENDED DATA 19 This means that the variance of the distribution of b 2 is inversely proportional to T 2, not T. Multiplying by √T is not enough to prevent the distribution contracting. Distribution of b 2

TESTS OF NONSTATIONARITY: UNTRENDED DATA 20 This figure shows the distribution of √T(b 2 – 1). Although we have scaled by a factor √T, the distribution still collapses to a spike instead of a limiting normal distribution. Distribution of √T(b 2 – 1)

TESTS OF NONSTATIONARITY: UNTRENDED DATA 21 Because the distribution is contracting to the true value faster than the standard rate, the estimator is described as superconsistent. When  2 = 1, to obtain a limiting distribution related to the OLS estimator, we must consider T(b 2 – 1), not √T(b 2 – 1). Distribution of √T(b 2 – 1)

TESTS OF NONSTATIONARITY: UNTRENDED DATA 22 This figure shows the distribution of T(b 2 – 1). The statistic does have a limiting distribution, and reaches it quite quickly, since the distribution for T = 25 is almost the same as that for T = 200. (The distributions for T = 50 and T = 100 have been omitted, for clarity.) Distribution of T(b 2 – 1)

TESTS OF NONSTATIONARITY: UNTRENDED DATA 23 However, we now have a further surprise. The distribution is not normal. This means that, if we work back from the limiting distribution to distributions in finite samples, we cannot claim that the estimator is approximately normal, even in large samples. Distribution of T(b 2 – 1)

TESTS OF NONSTATIONARITY: UNTRENDED DATA 24 We will now examine the tests for nonstationarity proposed by Dickey and Fuller in (1979) and (1981). These were the first tests for nonstationarity and they remain the starting point for any discussion of unit root tests. Distribution of T(b 2 – 1)

Direct test using the distribution of T(b 2 – 1) TESTS OF NONSTATIONARITY: UNTRENDED DATA 25 Dickey and Fuller proposed three tests: a direct test using the distribution of T(b 2 – 1), a t test, and an F test. We will consider each in turn, starting with the first. Distribution of T(b 2 – 1)

Direct test using the distribution of T(b 2 – 1) TESTS OF NONSTATIONARITY: UNTRENDED DATA 26 This test exploits the fact that  2 in Y t =  1 +  2 Y t–1 +  t is a pure number. Y t–1 must have the same dimensions as Y t, and so  2 is dimensionless. It follows that if we fit the model using OLS, b 2 logically must also be dimensionless. Distribution of T(b 2 – 1)

Direct test using the distribution of T(b 2 – 1) TESTS OF NONSTATIONARITY: UNTRENDED DATA 27 The shapes of the distributions of b 2 and T(b 2 – 1) depend only on the sample size, and this means that we can use either distribution to make direct tests of hypotheses relating to  2. Distribution of T(b 2 – 1)

Direct test using the distribution of T(b 2 – 1) TESTS OF NONSTATIONARITY: UNTRENDED DATA 28 It is convenient to use the distribution of T(b 2 – 1), shown in the figure, rather than that of b 2, for this purpose because it changes less with the sample size and indeed converges to a limiting distribution as the sample size increases. Distribution of T(b 2 – 1)

Direct test using the distribution of T(b 2 – 1) TESTS OF NONSTATIONARITY: UNTRENDED DATA 29 Since we can rule out  2 > 1, we can perform a one-sided test with the null and alternative hypotheses being H 0 :  2 = 1 and H 1 :  2 < 1. Distribution of T(b 2 – 1)

Direct test using the distribution of T(b 2 – 1) TESTS OF NONSTATIONARITY: UNTRENDED DATA 30 For the limiting distribution, the critical values are –14.1 and –20.6 at the 5 percent and 1 percent levels. Finite-sample distributions, established through simulation, have thinner left tails and so the critical values are smaller. Distribution of T(b 2 – 1)

Direct test using the distribution of T(b 2 – 1) TESTS OF NONSTATIONARITY: UNTRENDED DATA 31 This figure shows the rejection regions for one-sided 5 percent (limit –12.1) and 1 percent (limit –16.6) tests for T = 25. Table A.6 gives the critical values of for finite samples. T = 25 5% limit = –12.1 1% limit = –16.6 Distribution of T(b 2 – 1)

t test TESTS OF NONSTATIONARITY: UNTRENDED DATA 32 The second test proposed by Dickey and Fuller uses the conventional OLS t statistic for H 0 :  2 = 1. However, the distribution of the t statistic, established by simulation, is nonstandard. Distribution of OLS t statistic

t test TESTS OF NONSTATIONARITY: UNTRENDED DATA 33 The figure shows the distributions for n = 25 and n = 200 when, as throughout this discussion, the fitted model includes an intercept. It can be seen that the mode of the distribution is close to –2. Distribution of OLS t statistic

t test TESTS OF NONSTATIONARITY: UNTRENDED DATA 34 As with the previous approach, we are justified in using a one-sided test, and hence the critical value for any given significance level will be much more negative than the conventional critical value. Distribution of OLS t statistic

t test TESTS OF NONSTATIONARITY: UNTRENDED DATA 35 For example, the critical value at the 5 percent level for T = 25 is –2.99. The conventional critical value for a one-sided test with 23 degrees of freedom is Table A.6 gives critical values for different sample sizes, established by simulation. T = 25 t crit, 5% = –2.99 (standard: –1.71) Distribution of OLS t statistic

F test TESTS OF NONSTATIONARITY: UNTRENDED DATA 36 The third Dickey–Fuller test exploits the fact that, under H 0, the model is a restricted version of that under H 1 with two restrictions:  2 = 1 and, also,  1 = 0. The first two tests do not make use of this second restriction.

F test TESTS OF NONSTATIONARITY: UNTRENDED DATA 37 To test the joint restrictions, it is sufficient to construct the OLS F statistic in the usual way. However, as might be anticipated, it does not have a standard distribution. Table A.6 provides critical values.

Power of the tests TESTS OF NONSTATIONARITY: UNTRENDED DATA 38 We now have three ways of testing H 0 against H 1 and there is no guarantee that they will lead to the same conclusion. There are two obvious questions that we should ask. How good are these tests, and which is the best? Value of  2

Power of the tests TESTS OF NONSTATIONARITY: UNTRENDED DATA 39 To answer these questions, we need to be more specific about what we mean by ‘good’ and ‘best’. For any given significance level, we would like a test to have the least risk of a Type II error, that is, of failing to reject the null hypothesis when it is false. Value of  2

Power of the tests TESTS OF NONSTATIONARITY: UNTRENDED DATA 40 The power of a test is defined to be probability of rejecting the null hypothesis when it is false, so we want our tests to have high power, and the best test will be that with the highest power. Value of  2

Power of the tests TESTS OF NONSTATIONARITY: UNTRENDED DATA 41 We fit the model Y t =  1 +  2 Y t–1 for |  2 | < 1 and test H 0 :  2 = 1. Value of  2

Power of the tests TESTS OF NONSTATIONARITY: UNTRENDED DATA 42 The figure shows the power of the three tests as a function of  2, using a 5 percent significance level for each of them. Value of  2

Power of the tests TESTS OF NONSTATIONARITY: UNTRENDED DATA 43 The figure seems to answer our questions. The power of the test based on T(b 2 – 1) is greatest for all values of  2 < 1. The t test is next, and the F is test least powerful. Value of  2

Power of the tests TESTS OF NONSTATIONARITY: UNTRENDED DATA 44 The tests all have high power when  2 < 0.8. For values above 0.8, the power rapidly diminishes and becomes low. Value of  2

Power of the tests TESTS OF NONSTATIONARITY: UNTRENDED DATA 45 For  2 = 0.9, for example, even the test based on T(b 2 – 1) will fail to reject the null hypothesis 50 percent of the time. This demonstrates the difficulty of discriminating between nonstationary processes and stationary processes that are highly autoregressive. Value of  2

Power of the tests TESTS OF NONSTATIONARITY: UNTRENDED DATA 46 The inferiority of the F test in this comparison may come as a surprise, given that it is making more use of the data than the other two. Value of  2

Power of the tests TESTS OF NONSTATIONARITY: UNTRENDED DATA 47 However, there is a simple reason for this. The other two tests are one-sided and this increases their power, holding the significance level constant. Value of  2

Power of the tests TESTS OF NONSTATIONARITY: UNTRENDED DATA 48 In the next slideshow we will consider the case where the process appears to contain a trend. Value of  2

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