Chapter 12

38
Chapter 12 Nonstationary Time Series Data and Cointegration Prepared by Vera Tabakova, East Carolina University

description

Nonstationary Time Series Data and Cointegration. Chapter 12. Prepared by Vera Tabakova, East Carolina University. Chapter 12: Nonstationary Time Series Data and Cointegration. 12.1 Stationary and Nonstationary Variables 12.2 Spurious Regressions 12.3 Unit Root Tests for Stationarity - PowerPoint PPT Presentation

Transcript of Chapter 12

Page 1: Chapter  12

Chapter 12

Nonstationary Time Series Data and Cointegration

Prepared by Vera Tabakova, East Carolina University

Page 2: Chapter  12

Chapter 12: Nonstationary Time Series Data and Cointegration

12.1 Stationary and Nonstationary Variables 12.2 Spurious Regressions 12.3 Unit Root Tests for Stationarity 12.4 Cointegration 12.5 Regression When There is No Cointegration

Slide 12-2Principles of Econometrics, 3rd Edition

Page 3: Chapter  12

12.1 Stationary and Nonstationary Variables

Figure 12.1(a) US economic time series

Slide 12-3Principles of Econometrics, 3rd Edition

Page 4: Chapter  12

12.1 Stationary and Nonstationary Variables

Figure 12.1(b) US economic time series

Slide 12-4Principles of Econometrics, 3rd Edition

Page 5: Chapter  12

12.1 Stationary and Nonstationary Variables

Slide 12-5Principles of Econometrics, 3rd Edition

(12.1a)

(12.1b)

(12.1c)

tE y

2var ty

cov , cov ,t t s t t s sy y y y

Page 6: Chapter  12

12.1 Stationary and Nonstationary Variables

Slide 12-6Principles of Econometrics, 3rd Edition

Page 7: Chapter  12

12.1.1 The First-Order Autoregressive Model

Slide 12-7Principles of Econometrics, 3rd Edition

(12.2a)1 , 1t t ty y v

1 0 1

22 1 2 0 1 2 0 1 2

21 2 0

( )

..... tt t t t

y y v

y y v y v v y v v

y v v v y

Page 8: Chapter  12

12.1.1 The First-Order Autoregressive Model

Slide 12-8Principles of Econometrics, 3rd Edition

(12.2b)

21 2[ ] [ .....] 0t t t tE y E v v v

1( ) ( )t t ty y v

1 , 1t t ty y v

Page 9: Chapter  12

12.1.1 The First-Order Autoregressive Model

Slide 12-9Principles of Econometrics, 3rd Edition

(12.2c)

( ) / (1 ) 1/ (1 0.7) 3.33tE y

1( ) ( ( 1)) , 1 t t ty t y t v

1t t ty y t v

Page 10: Chapter  12

12.1.1 The First-Order Autoregressive Model

Figure 12.2 (a) Time Series Models

Slide 12-10Principles of Econometrics, 3rd Edition

Page 11: Chapter  12

12.1.1 The First-Order Autoregressive Model

Figure 12.2 (b) Time Series Models

Slide 12-11Principles of Econometrics, 3rd Edition

Page 12: Chapter  12

12.1.1 The First-Order Autoregressive Model

Figure 12.2 (c) Time Series Models

Slide 12-12Principles of Econometrics, 3rd Edition

Page 13: Chapter  12

12.1.2 Random Walk Models

Slide 12-13Principles of Econometrics, 3rd Edition

(12.3a)1t t ty y v

1 0 1

2

2 1 2 0 1 2 01

1 01

( )

ss

t

t t t ss

y y v

y y v y v v y v

y y v y v

Page 14: Chapter  12

12.1.2 Random Walk Models

Slide 12-14Principles of Econometrics, 3rd Edition

(12.3b)

0 1 2 0( ) ( ... )t tE y y E v v v y

21 2var( ) var( ... )t t vy v v v t

1t t ty y v

Page 15: Chapter  12

12.1.2 Random Walk Models

Slide 12-15Principles of Econometrics, 3rd Edition

1 0 1

2

2 1 2 0 1 2 01

1 01

( ) 2

ss

t

t t t ss

y y v

y y v y v v y v

y y v t y v

Page 16: Chapter  12

12.1.2 Random Walk Models

Slide 12-16Principles of Econometrics, 3rd Edition

(12.3c)

0 1 2 3 0( ) ( ... )t tE y t y E v v v v t y

21 2 3var( ) var( ... )t t vy v v v v t

1t t ty t y v

Page 17: Chapter  12

12.1.2 Random Walk Models

Slide 12-17Principles of Econometrics, 3rd Edition

1 0 1

2

2 1 2 0 1 2 01

1 01

; (since 1)

2 2 ( ) 2 3

( 1)2

ss

t

t t t ss

y y v t

y y v y v v y v

t ty t y v t y v

1 2 3 1 2t t t

Page 18: Chapter  12

12.2 Spurious Regressions

Slide 12-18Principles of Econometrics, 3rd Edition

1 1 1

2 1 2

:

:

t t t

t t t

rw y y v

rw x x v

21 217.818 0.842 , .70

( ) (40.837)t trw rw R

t

Page 19: Chapter  12

12.2 Spurious Regressions

Figure 12.3 (a) Time Series of Two Random Walk Variables

Slide 12-19Principles of Econometrics, 3rd Edition

Page 20: Chapter  12

12.2 Spurious Regressions

Figure 12.3 (b) Scatter Plot of Two Random Walk Variables

Slide 12-20Principles of Econometrics, 3rd Edition

Page 21: Chapter  12

12.3 Unit Root Test for Stationarity

12.3.1 Dickey-Fuller Test 1 (no constant and no trend)

Slide 12-21Principles of Econometrics, 3rd Edition

(12.4)1t t ty y v

(12.5a)

1 1 1

1

1

1

t t t t t

t t t

t t

y y y y v

y y v

y v

Page 22: Chapter  12

12.3 Unit Root Test for Stationarity

12.3.1 Dickey-Fuller Test 1 (no constant and no trend)

Slide 12-22Principles of Econometrics, 3rd Edition

0 0

1 1

: 1 : 0

: 1 : 0

H H

H H

Page 23: Chapter  12

12.3 Unit Root Test for Stationarity

12.3.2 Dickey-Fuller Test 2 (with constant but no trend)

Slide 12-23Principles of Econometrics, 3rd Edition

(12.5b)1t t ty y v

Page 24: Chapter  12

12.3 Unit Root Test for Stationarity

12.3.3 Dickey-Fuller Test 3 (with constant and with trend)

Slide 12-24Principles of Econometrics, 3rd Edition

(12.5c)1t t ty y t v

Page 25: Chapter  12

12.3.4 The Dickey-Fuller Testing Procedure

First step: plot the time series of the original observations on the variable.

If the series appears to be wandering or fluctuating around a sample

average of zero, use test equation (12.5a).

If the series appears to be wandering or fluctuating around a sample

average which is non-zero, use test equation (12.5b).

If the series appears to be wandering or fluctuating around a linear trend,

use test equation (12.5c).

Slide 12-25Principles of Econometrics, 3rd Edition

Page 26: Chapter  12

12.3.4 The Dickey-Fuller Testing Procedure

Slide 12-26Principles of Econometrics, 3rd Edition

Page 27: Chapter  12

12.3.4 The Dickey-Fuller Testing Procedure

An important extension of the Dickey-Fuller test allows for the

possibility that the error term is autocorrelated.

The unit root tests based on (12.6) and its variants (intercept excluded

or trend included) are referred to as augmented Dickey-Fuller tests.

Slide 12-27Principles of Econometrics, 3rd Edition

(12.6)11

m

t t s t s ts

y y a y v

1 1 2 2 2 3, ,t t t t t ty y y y y y

Page 28: Chapter  12

12.3.5 The Dickey-Fuller Tests: An Example

Slide 12-28Principles of Econometrics, 3rd Edition

1 1

1 1

0.178 0.037 0.672

( ) ( 2.090)

0.285 0.056 0.315

( ) ( 1.976)

t t t

t t t

F F F

tau

B B B

tau

Page 29: Chapter  12

12.3.6 Order of Integration

Slide 12-29Principles of Econometrics, 3rd Edition

1t t t ty y y v

10.340

( ) ( 4.007)

t tF F

tau

10.679

( ) ( 6.415)

t tB B

tau

Page 30: Chapter  12

12.4 Cointegration

Slide 12-30Principles of Econometrics, 3rd Edition

(12.7)1ˆ ˆt t te e v

(12.8c)

(12.8b)

(12.8a)ˆ1: t t tCase e y bx

2 1ˆ2 : t t tCase e y b x b

2 1ˆˆ3: t t tCase e y b x b t

Page 31: Chapter  12

12.4 Cointegration

Slide 12-31Principles of Econometrics, 3rd Edition

Page 32: Chapter  12

12.4.1 An Example of a Cointegration Test

Slide 12-32Principles of Econometrics, 3rd Edition

(12.9)2ˆ 1.644 0.832 , 0.881

( ) (8.437) (24.147)t tB F R

t

1 1ˆ ˆ ˆ0.314 0.315( ) ( 4.543)

t t te e etau

Page 33: Chapter  12

12.4.1 An Example of a Cointegration Test

The null and alternative hypotheses in the test for cointegration are:

Slide 12-33Principles of Econometrics, 3rd Edition

0

1

: the series are not cointegrated residuals are nonstationary

: the series are cointegrated residuals are stationary

H

H

Page 34: Chapter  12

12.5 Regression When There Is No Cointegration 12.5.1 First Difference Stationary

The variable yt is said to be a first difference stationary series.

Slide 12-34Principles of Econometrics, 3rd Edition

1t t ty y v

1t t t ty y y v

Page 35: Chapter  12

12.5.1 First Difference Stationary

Slide 12-35Principles of Econometrics, 3rd Edition

(12.10a)1 0 1 1t t t t ty y x x e

1t t ty y v

t ty v

(12.10b)1 0 1 1t t t t ty y x x e

Page 36: Chapter  12

12.5.2 Trend Stationary

where

and

Slide 12-36Principles of Econometrics, 3rd Edition

(12.11)

t ty t v

t ty t v

1 0 1 1t t t t ty y x x e

1 0 1 1t t t t ty t y x x e

1 1 2 0 1 1 1 1 2(1 ) ( )

1 1 2 0 1(1 ) ( )

Page 37: Chapter  12

12.5.2 Trend Stationary

To summarize:

If variables are stationary, or I(1) and cointegrated, we can estimate a regression relationship between the levels of those variables without fear of encountering a spurious regression.

If the variables are I(1) and not cointegrated, we need to estimate a relationship in first differences, with or without the constant term.

If they are trend stationary, we can either de-trend the series first and then perform regression analysis with the stationary (de-trended) variables or, alternatively, estimate a regression relationship that includes a trend variable. The latter alternative is typically applied.

Slide 12-37Principles of Econometrics, 3rd Edition

Page 38: Chapter  12

Keywords

Slide 12-38Principles of Econometrics, 3rd Edition

Augmented Dickey-Fuller test Autoregressive process Cointegration Dickey-Fuller tests Mean reversion Order of integration Random walk process Random walk with drift Spurious regressions Stationary and nonstationary Stochastic process Stochastic trend Tau statistic Trend and difference stationary Unit root tests