Download presentation

Presentation is loading. Please wait.

Published bySilas Casey Modified about 1 year ago

1
1 Unit Root Tests: Methods and Problems Roger Perman Applied Econometrics Lecture 12

2
2 Unit Root Tests How do you find out if a series is stationary or not?

3
3 Yb0b0 YI YYYb0b0 I ttt tttt 1 1 (1) (0) Order of Integration of a Series A series which is stationary after being differenced once is said to be integrated of order 1 and is denoted by I(1). In general a series which is stationary after being differenced d times is said to be integrated of order d, denoted I(d). A series, which is stationary without differencing, is said to be I(0)

4
4 Informal Procedures to identify non-stationary processes (1) Eye ball the data (a) Constant mean? (b) Constant variance?

5
5 Informal Procedures to identify non-stationary processes (2)Diagnostic test - Correlogram Correlation between 1980 and k. For stationary process correlogram dies out rapidly. Series has no memory is not related to 1985.

6
6 Informal Procedures to identify non-stationary processes (2)Diagnostic test - Correlogram For a random walk the correlogram does not die out. High autocorrelation for large values of k

7
7 Statistical Tests for stationarity: Simple t-test Set up AR(1) processwith drift (b 0 ) Y t = b 0 + b 1 Y t-1 + t t ~ iid(0,σ 2 ) (1) Simple approach is to estimate eqn (1) using OLS and examine estimated b 1 Use a t-test with null Ho: b 1 = 1 (non-stationary) against alternative Ha: b 1 < 1 (stationary). Test Statistic: TS = (b 1 – 1) / (Std. Err.(b 1 )) reject null hypothesis when test statistic is large negative - 5% critical value is -1.65

8
8 Statistical Tests for stationarity: Simple t-test Simple t-test based on AR(1) processwith drift (b 0 ) Y t = b 0 + b 1 Y t-1 + t t ~ iid(0,σ 2 ) (1) Problem with simple t-test approach (1)lagged dependent variables => b 1 biased downwards in small samples (i.e. dynamic bias) (2)When b 1 =1, we have non-stationary process and standard regression analysis is invalid (i.e. non-standard distribution)

9
9 Dickey Fuller (DF) approach to non- stationarity testing Dickey and Fuller (1979) suggest we subtract Y t-1 from both sides of eqn. (1) Y t - Y t-1 = b 0 + b 1 Y t-1 - Y t-1 + t t ~ iid(0,σ 2 ) ΔY t = b 0 + Y t-1 + t = b 1 –1 (2) Use a t-test with: null Ho: = 0 (non-stationary or Unit Root) against alternative Ha: < 0 (stationary). - Large negative test statistics reject non- stationarity - This is known as unit root test since in eqn. (1) Ho: b 1 =1.

10
10 Variants of DF test Three different regression can be used to test the presence of a unit root The difference between the three regressions concerns the presence of deterministic elements b 0 and b 2 t. 1 – For testing if Y is a pure Random Walk 2 – For testing if Y is a Random Walk with Drift 3 – For testing if Y is a Random walk with Drift and Deterministic Trend

11
11 The simplest model (appropriate only if you think there are no other terms present in the ‘true’ regression model) Use the t statistic and compare it with the the table of critical values computed by Dickey and Fuller. If your t value is outside the confidence interval, the null hypothesis of unit root is rejected Statistic

12
12 A more general model (allowing for ‘drift’) Statistic - Use the F statistic to check if = b 0 = 0 using the non standard tables Statistic - use the t statistic to check if =0, again using non-standard tables

13
13 Example Sample size of n = 25 at 5% level of significance for eqn. (2) τ μ -critical value = -3.00t-test critical value = Δp t-1 = p t-1 (-1.05) (-1.49) = τ μ = > hence cannot reject H 0 and so unit root.

14
14 Incorporating time trends in DF test for unit root Some time series clearly display an upward or downward trend (non-stationary mean). Should therefore incorporate trend in the regression used for the DF test. ΔY t = b 0 + Y t-1 + b 2 trend + t (4) It may be the case that Y t will be stationary around a trend. Although if a trend is not included series is non-stationary.

15
15 Different DF tests – Summary t-type test τ τ ΔY t = b 0 + βY t-1 + b 2 trend + t (a)Ho: β = 0Ha: β < 0 τ μ ΔY t = b0 + βY t-1 + t (b)Ho: β = 0Ha: β < 0 τ ΔY t = βY t-1 + t (c) Ho: β = 0Ha: β < 0 Critical values from Fuller (1976)

16
16 Different DF tests – Summary F-type test Φ 3 ΔY t = b 0 + Y t-1 + b 2 trend + t (a)Ho: β = b 2 = 0Ha: 0 and/or b 2 0 Φ 1 ΔY t = b 0 + Y t-1 + t (b)Ho: = b 0 = 0Ha: 0 and/or b 0 0 Critical values from Dickey and Fuller (1981)

17
17 Summary of Dickey-Fuller Tests (Critical values for n = 100)

18
18 Augmented Dickey Fuller (ADF) test for unit root Dickey Fuller tests assume that the residuals t in the DF regression are non- autocorrelated. Solution: incorporate lagged dependent variables. For quarterly data add up to four lags. ΔY t = b 0 + Y t-1 + θ 1 ΔY t-1 + θ 2 ΔY t-2 + θ 3 ΔY t-3 + θ 4 ΔY t-4 + t (3) Problem arises of differentiating between models. Use a general to specific approach to eliminate insignificant variables Check final parsimonious model for autocorrelation. Check F-test for significant variables Use Information Criteria. Trade-off parsimony vs. residual variance.

19
19 Consider The Following Series and Its Correlogram This variable Y is clearly trended and you have to determine if this trend is stochastic or deterministic. After having created the difference variable Y estimate the following model, with as many lags of Y as you think appropriate. (in the example I choose 4 lags of the variable Y)

20
20

21
21

22
22

23
23 Choose Between Alternative Models - The Model-Progress Results Both the F-Test and the Schwarz Information Criteria indicates that MODEL 4 is the one to be preferred

24
24 Unit Root Testing After having estimated, according to the previous analysis, the following equation the relevant hypotheses to examine are (in this particular case) Hbbb v Hbbb :,,,, :,,,, To do this perform an F-Test and use the statistic

25
25 PcGive output of test result: Wald test for linear restrictions: Subset LinRes F( 2,493) = [0.0066] ** Be careful here. The value is not significant at the 5% critical value, although PcGive marks it as significant (it is using the conventional F distribution). Therefore we cannot reject the null hypothesis, and so infer that we do not have a deterministic time trend in the equation. Hence, we can continue the analysis using and then use statistic - use the F statistic to check if = b 0 = 0 using the non standard tables statistic - use the t statistic to check if =0, again using non-standard tables

26
26 The t-stat cannot reject the null hypothesis of Unit Root while the F-stat rejects the null hypothesis that the drift is equal to zero. Therefore we can conclude that the model most likely to describe the true DGP is

27
27 Look at the Series – Is there a Trend? Yes No Estimate Hbbb v Hbbb :,,,, :,,,, Use to test Use to test Hb v Hb :,, :,, Accept Reject Accept test =0 using the t-stat. from step 1 using Reject No Unit Root Normal Test procedure to determine the presence of Time trend or Drift Accept Unit Root +Trend Use To determine if there is a drift as well Pure Random Walk test =0 using the t-stat. from step 1 using Accept Random Walk + Drift Reject Stable Series, use normal test to check the drift

28
28 Alternative statistical test for stationarity One further approach is the Sargan and Bhargava (1983) test which uses the Durbin-Watson statistic. If Y t is regressed on a constant alone, we then examine the residuals for serial correlation. Serial correlation in the residuals (long memory) will fail the DW test and result in a low value for this test. This test has not proven so popular.

29
29 Testing Strategy for Unit Roots Three main aspects of Unit root testing - Deterministic components (constant, time trend). - ADF Augmented Dickey Fuller test - lag length - use F-test or Schwarz Information Criteria - In what sequence should we test? - Phi and tau tests

30
30 Formal Strategy (A) Set up Model (1)Use informal tests – eye ball data and correlogram (2)Incorporate Time trend if data is upwards trending (3)Specification of ADF test – how many lags should we incorporate to avoid serial correlation? Testing Strategy for Unit Roots

31
31 Example- Real GDP (2000 Prices) Seasonally Adjusted (1) Plot Time Series - Non-Stationary (i.e. time varying mean and correlogram non-zero) k Time GDP r

32
32 Unit Root Testing (1) Plot First Difference of Time Series - Stationary (i.e. constant mean and correlogram zero) Time k r

33
33 (2) Incorporate Linear Trend since data is trending upwards Unit Root Testing

34
34 Unit Root Testing (3) Determine Lag length of ADF test Estimate general model and test for serial correlation EQ ( 1) ΔY t = b 0 +b 2 trend+ Y t-1 + θ 1 ΔY t-1 + θ 2 ΔY t-2 + θ 3 ΔY t-3 + θ 4 ΔY t-4 + t EQ( 1) Modelling DY by OLS (using Lab2.in7) The estimation sample is: 1956 (2) to 2003 (3) n = 190 Coefficient Std.Error t-value t-prob Part.R^2 Constant Trend Y_ DY_ DY_ DY_ DY_ AR 1-5 test: F(5,178) = [0.1308] Test accepts null of no serial correlation. Nevertheless we use F-test and Schwarz Criteria to check model.

35
35 Unit Root Testing (3) Determine Lag length of ADF test Model EQ ( 1) ΔY t = b 0 +b 2 trend+ Y t-1 + θ 1 ΔY t-1 + θ 2 ΔY t-2 + θ 3 ΔY t-3 + θ 4 ΔY t-4 + t EQ ( 2) ΔY t = b 0 +b 2 trend+ Y t-1 + θ 1 ΔY t-1 + θ 2 ΔY t-2 + θ 3 ΔY t-3 + t EQ ( 3) ΔY t = b 0 +b 2 trend+ Y t-1 + θ 1 ΔY t-1 + θ 2 ΔY t-2 + t EQ ( 4) ΔY t = b 0 +b 2 trend+ Y t-1 + θ 1 ΔY t-1 + t EQ ( 5) ΔY t = b 0 +b 2 trend+ Y t-1 + t Use both the F-test and the Schwarz information Criteria (SC). Reduce number of lags where F-test accepts. Choose equation where SC is the lowest i.e. minimise residual variance and number of estimated parameters.

36
36 (3) Determine Lag length of ADF test Progress to date Model T p log-likelihood Schwarz Criteria EQ( 1) OLS EQ( 2) OLS EQ( 3) OLS EQ( 4) OLS EQ( 5) OLS Tests of model reduction EQ( 1) --> EQ( 2): F(1,183) = [0.5259] Accept model reduction EQ( 1) --> EQ( 3): F(2,183) = [0.0357]* Reject model reduction EQ( 1) --> EQ( 4): F(3,183) = [0.0173]* EQ( 1) --> EQ( 5): F(4,183) = [0.0374]* Some conflict in results. F-tests suggest equation (2) is preferred to equation (1) and equation (3) is not preferred to equation (2). Additionally, the relative performance of these three equations is confirmed by information criteria. Therefore adopt equation (2). Unit Root Testing

37
37 Unit Root Testing (B) Conduct Formal Tests EQ( 2) Modelling DY by OLS (using Lab2.in7) The estimation sample is: 1956 (2) to 2003 (3) Coefficient Std.Error t-value t-prob Part.R^2 Constant Trend Y_ DY_ DY_ DY_ AR 1-5 test: F(5,179) = [0.6357] Main issue is serial correlation assumption for this test. Can we accept the null hypothesis of no serial correlation? Yes!

38
38 Unit Root Testing Apply F-type test - Include time trend in specification Φ 3 : ΔY t = b 0 + b 2 trend + Y t-1 + θ 1 ΔY t-1 + θ 2 ΔY t-2 + θ 3 ΔY t-3 + t (a) Ho: = b 2 = 0Ha: β 0 and/or b 2 0 PcGive Output: Test/Exclusion Restrictions. Test for excluding: [0] = Trend [1] = Y_1 F(2,184) = 2.29 < 6.39 = 5% C.V. (by interpolation). Hence accept joint null hypothesis of unit root and no time trend (next test whether drift term is required). NB Critical Values (C.V.) from Dickey and Fuller (1981) for Φ 3 Sample Size (n) C.V. at 5%

39
39 Unit Root Testing Apply F-type test - Exclude time trend from specification Φ 1 : ΔY t = b 0 + Y t-1 + θ 1 ΔY t-1 + θ 2 ΔY t-2 + θ 3 ΔY t-3 + t (b) Ho: = b 0 = 0Ha: 0 and/or b 0 0 PcGive Output: Test/Exclusion Restrictions. Test for excluding: [0] = Constant[1] = Y_1 F(2,185) = > 4.65 = 5% C.V. Hence reject joint null hypothesis of unit root and no drift. NB Critical Values (C.V.) from Dickey and Fuller (1981) for Φ 1 Sample Size (n) C.V. at 5%

40
40 Unit Root Testing Apply t-type test ( τ μ ) τ μ ΔY t = b 0 + Y t-1 + θ 1 ΔY t-1 + θ 2 ΔY t-2 + θ 3 ΔY t-3 + t (b)Ho: = 0Ha: < 0 τ μ = 1.64 > = 5% C.V. Hence accept null of unit root. N.B. Critical Values (C.V.) from Fuller (1976) for τ μ Sample Size (n) C.V. at 5%

41
41 Unit Root Testing EQ(2a) Modelling DY by OLS (using Lab2.in7) The estimation sample is: 1956 (2) to 2003 (3) Coefficient Std.Error t-value t-prob Part.R^2 Constant Y_ DY_ DY_ DY_ AR 1-5 test: F(5,180) = [0.7725] τ μ = 1.64 > (5% C.V.) hence we can not reject the null of unit root.

42
42 Problems With Unit Root Tests

43
43 Perron (1989) - He argues that most macroeconomic variables are not unit root processes. They are Trend Stationary with Structural Breaks For example 1929 Depression Oil Shocks Technological Change All these events have changed the mean of a process like GDP If you do not recognize the structural break, you’ll find unit root where there is not With Structural Change All Unit Root Tests Are Biased Towards the Non Rejection of a Unit Root Problem Number 1: Structural Breaks

44
44 Dickey-Fuller test for Y; DY on Variable Coefficient Std.Error t-value Y_ \sigma = DW = 2.35 DW(Y) = DF(Y) = Critical values used in DF test: 5%= %= RSS = for 1 variables and 98 observations Information Criteria: SC = HQ = FPE= AIC = Unit Root Test For Y The Unit Root Hypothesis is not rejected. Perron proposed a method to overcome this problem - But you need to know when the structural break happened

45
45 Consider The Following Variable YYD D t t ttt t for

46
46 Problem Number Two : Low Power The Power of a test is the probability of rejecting a false Null Hypothesis - Low Power to Distinguish Between Unit and near Unit Root Low Power to Distinguish Between Trend and Drift Unit Root Tests Y is a unit root series; Z is a near-unit root series

47
47 Is = 0 in ΔY t = b 0 + Y t-1 + t Test result is based on the standard error of - Measure of how accurate is our estimated coefficient - with increasing observations we become more certain. In this case, power of the test is the ability to reject the null of non-stationarity when it is false (equivalently, the ability to accept alternative hypothesis of stationarity). Low power implies a series may be stationary but Dickey-Fuller test suggests unit root. Low power is especially a problem when series is stationary but close to being unit root. One solution to low power is to increase the number of observations by increasing the span of data. However, there may be differences in economic structure or policy which should be modelled differently. Alternative solution to low power is a number of joint ADF tests. - Take information from a number of countries. - And pool coefficients. (i.e. combine information).

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google