Testing for Unit roots 2 Consider an AR(1): y,=a+pvi-+er o Let Ho: p=1, (assume there is a unit root) ◆ Define 6=p I and subtract V/ rom both sides to obtain Ay,=a+ O-1+e, A Unfortunately, a simple: ot ls inappropriate, since this is an I(1)process 2 A Dickey-Fuller Test uses the t-statistic, but different critical values Economics 20- Prof anderson
Economics 20 - Prof. Anderson 1 Testing for Unit Roots Consider an AR(1): yt = a + ryt-1 + et Let H0 : r = 1, (assume there is a unit root) Define q = r – 1 and subtract yt-1 from both sides to obtain Dyt = a + qyt-1 + et Unfortunately, a simple t-test is inappropriate, since this is an I(1) process A Dickey-Fuller Test uses the t-statistic, but different critical values
Testing for Unit roots(cont) ◆ We can add p lags of△y, to allow for more dynamics In the process Still want to calculate the t-statistic for 0 e Now it's called an augmented Dickey Fuller test. but still the same critical values The lags are intended to clear up any serial correlation, if too few, test won't be right Economics 20- Prof anderson
Economics 20 - Prof. Anderson 2 Testing for Unit Roots (cont) We can add p lags of Dyt to allow for more dynamics in the process Still want to calculate the t-statistic for q Now it’s called an augmented DickeyFuller test, but still the same critical values The lags are intended to clear up any serial correlation, if too few, test won’t be right
Testing for Unit roots w/Trends o If a series is clearly trending, then we need to adjust for that or might mistake a trend stationary series for one with a unit root Can just add a trend to the model e Still looking at the t-statistic for 0, but the critical values for the Dickey-Fuller test change Economics 20- Prof anderson
Economics 20 - Prof. Anderson 3 Testing for Unit Roots w/ Trends If a series is clearly trending, then we need to adjust for that or might mistake a trend stationary series for one with a unit root Can just add a trend to the model Still looking at the t-statistic for q, but the critical values for the Dickey-Fuller test change
Spurious regression e Consider running a simple regression of y on x, where y and x, are independent I(1) series The usual ols t-statistic will often be statistically significant, indicating a relationship where there is none o Called the spurious regression problem Economics 20- Prof anderson 4
Economics 20 - Prof. Anderson 4 Spurious Regression Consider running a simple regression of yt on xt where yt and xt are independent I(1) series The usual OLS t-statistic will often be statistically significant, indicating a relationship where there is none Called the spurious regression problem
Cointegration o Say for two I(1)processes, y, and x, there is a Such that y,Bx, is an I(0)process o If so, we say that y and x are cointegrated and ca ll B the cointegration parameter o If we know B, testing for cointegration is straightforward if we define st=y,-Bxr o Do Dickey-Fuller test and if we reject a unit root, then they are cointegrated Economics 20- Prof anderson 5
Economics 20 - Prof. Anderson 5 Cointegration Say for two I(1) processes, yt and xt , there is a b such that yt – bxt is an I(0) process If so, we say that y and x are cointegrated, and call b the cointegration parameter If we know b, testing for cointegration is straightforward if we define st = yt – bxt Do Dickey-Fuller test and if we reject a unit root, then they are cointegrated