Multivariate Time Series

Similar documents
1 Regression with Time Series Variables

10) Time series econometrics

1 Quantitative Techniques in Practice

9) Time series econometrics

Trending Models in the Data

Vector Autogregression and Impulse Response Functions

7 Introduction to Time Series

Problem set 1 - Solutions

7 Introduction to Time Series Time Series vs. Cross-Sectional Data Detrending Time Series... 15

1 Augmented Dickey Fuller, ADF, Test

Cointegration, Stationarity and Error Correction Models.

Non-Stationary Time Series and Unit Root Testing

BCT Lecture 3. Lukas Vacha.

Non-Stationary Time Series, Cointegration, and Spurious Regression

MA Advanced Econometrics: Spurious Regressions and Cointegration

Non-Stationary Time Series and Unit Root Testing

Stationary and nonstationary variables

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY

LECTURE 13: TIME SERIES I

Notes on Time Series Modeling

MA Advanced Econometrics: Applying Least Squares to Time Series

Econ 423 Lecture Notes: Additional Topics in Time Series 1

CHAPTER 21: TIME SERIES ECONOMETRICS: SOME BASIC CONCEPTS

Economics 620, Lecture 13: Time Series I

Non-Stationary Time Series and Unit Root Testing

EC408 Topics in Applied Econometrics. B Fingleton, Dept of Economics, Strathclyde University

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY

E 4160 Autumn term Lecture 9: Deterministic trends vs integrated series; Spurious regression; Dickey-Fuller distribution and test

Testing for non-stationarity

Nonstationary Time Series:

ECON 4160, Lecture 11 and 12

Advanced Econometrics

Time Series Models and Inference. James L. Powell Department of Economics University of California, Berkeley

Time Series Methods. Sanjaya Desilva

Time series: Cointegration

Topic 4 Unit Roots. Gerald P. Dwyer. February Clemson University

7. Integrated Processes

Time Series Econometrics 4 Vijayamohanan Pillai N

7. Integrated Processes

EC408 Topics in Applied Econometrics. B Fingleton, Dept of Economics, Strathclyde University

ECON 4160, Spring term Lecture 12

Econ 423 Lecture Notes

Econometrics. Week 11. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague

Questions and Answers on Unit Roots, Cointegration, VARs and VECMs

Lecture 8a: Spurious Regression

ECON/FIN 250: Forecasting in Finance and Economics: Section 7: Unit Roots & Dickey-Fuller Tests

E 4101/5101 Lecture 9: Non-stationarity

Chapter 2: Unit Roots

Title. Description. var intro Introduction to vector autoregressive models

ARDL Cointegration Tests for Beginner

Lecture 8a: Spurious Regression

Unit Root and Cointegration

Economics Introduction to Econometrics - Fall 2007 Final Exam - Answers

Lecture 5: Unit Roots, Cointegration and Error Correction Models The Spurious Regression Problem

This chapter reviews properties of regression estimators and test statistics based on

Econometrics Lecture 9 Time Series Methods

Introduction to Econometrics

Econometrics of Panel Data

Introductory Workshop on Time Series Analysis. Sara McLaughlin Mitchell Department of Political Science University of Iowa

Stationarity and Cointegration analysis. Tinashe Bvirindi

Lecture 6a: Unit Root and ARIMA Models

Nonstationary time series models

Autoregressive distributed lag models

Prof. Dr. Roland Füss Lecture Series in Applied Econometrics Summer Term Introduction to Time Series Analysis

The Number of Bootstrap Replicates in Bootstrap Dickey-Fuller Unit Root Tests

Econometrics and Structural

The linear regression model: functional form and structural breaks

(Y jz) t (XjZ) 0 t = S yx S yz S 1. S yx:z = T 1. etc. 2. Next solve the eigenvalue problem. js xx:z S xy:z S 1

Spurious regressions PE The last lecture discussed the idea of non-stationarity and described how many economic time series are non-stationary.

Simultaneous Equation Models Learning Objectives Introduction Introduction (2) Introduction (3) Solving the Model structural equations

10. Time series regression and forecasting

Econometría 2: Análisis de series de Tiempo

Financial Time Series Analysis: Part II

Stat 565. Spurious Regression. Charlotte Wickham. stat565.cwick.co.nz. Feb

13. Time Series Analysis: Asymptotics Weakly Dependent and Random Walk Process. Strict Exogeneity

11/18/2008. So run regression in first differences to examine association. 18 November November November 2008

Stationarity and cointegration tests: Comparison of Engle - Granger and Johansen methodologies

Christopher Dougherty London School of Economics and Political Science

Multivariate Time Series: Part 4

Vector Autoregression

Economics 326 Methods of Empirical Research in Economics. Lecture 14: Hypothesis testing in the multiple regression model, Part 2

Covers Chapter 10-12, some of 16, some of 18 in Wooldridge. Regression Analysis with Time Series Data

TESTING FOR CO-INTEGRATION

APPLIED TIME SERIES ECONOMETRICS

Response surface models for the Elliott, Rothenberg, Stock DF-GLS unit-root test

Economtrics of money and finance Lecture six: spurious regression and cointegration

Moreover, the second term is derived from: 1 T ) 2 1

Econometrics I. Professor William Greene Stern School of Business Department of Economics 25-1/25. Part 25: Time Series

Multivariate Time Series: VAR(p) Processes and Models

Unit roots in vector time series. Scalar autoregression True model: y t 1 y t1 2 y t2 p y tp t Estimated model: y t c y t1 1 y t1 2 y t2

CO INTEGRATION: APPLICATION TO THE ROLE OF INFRASTRUCTURES ON ECONOMIC DEVELOPMENT IN NIGERIA

x i = 1 yi 2 = 55 with N = 30. Use the above sample information to answer all the following questions. Show explicitly all formulas and calculations.

Stationarity Revisited, With a Twist. David G. Tucek Value Economics, LLC

Dynamic Regression Models (Lect 15)

Public Infrastructure and Economic Growth in Mexico

Answers: Problem Set 9. Dynamic Models

Cointegration and Error Correction Exercise Class, Econometrics II

Econometrics Midterm Examination Answers

Empirical Market Microstructure Analysis (EMMA)

Introduction to Algorithmic Trading Strategies Lecture 3

Transcription:

Multivariate Time Series Fall 2008 Environmental Econometrics (GR03) TSII Fall 2008 1 / 16

More on AR(1) In AR(1) model (Y t = µ + ρy t 1 + u t ) with ρ = 1, the series is said to have a unit root or a stochastic trend. Clearly, the series is nonstationary. Environmental Econometrics (GR03) TSII Fall 2008 2 / 16

More on AR(1) In AR(1) model (Y t = µ + ρy t 1 + u t ) with ρ = 1, the series is said to have a unit root or a stochastic trend. Clearly, the series is nonstationary. In order to make the time series stationary, one needs to take its rst di erence: Y t = µ + Y t 1 + u t, Y t = Y t Y t 1 = µ + u t. Thus, a random walk (with or without drift) is said to be integrated of order one, or I (1). Environmental Econometrics (GR03) TSII Fall 2008 2 / 16

More on AR(1) In AR(1) model (Y t = µ + ρy t 1 + u t ) with ρ = 1, the series is said to have a unit root or a stochastic trend. Clearly, the series is nonstationary. In order to make the time series stationary, one needs to take its rst di erence: Y t = µ + Y t 1 + u t, Y t = Y t Y t 1 = µ + u t. Thus, a random walk (with or without drift) is said to be integrated of order one, or I (1). Suppose the rst di erence of the time series follows a random walk: Y t = µ 0 + Y t 1 + u t Again, in order to make it stationary, we need to take the di ererence of the rst di erence, Y t Y t 1, called the second di erence of Y t. This series is said to be integrated of order 2, or I(2). Environmental Econometrics (GR03) TSII Fall 2008 2 / 16

Example: In ation Rates in USA (1948~2003) percentage change in CPI 0 5 10 15 1950 1960 1970 1980 1990 2000 1948 through 2003 Environmental Econometrics (GR03) TSII Fall 2008 3 / 16

Example: First Di erences of In ation Rates dinf 10 5 0 5 10 1950 1960 1970 1980 1990 2000 1948 through 2003 Environmental Econometrics (GR03) TSII Fall 2008 4 / 16

Testing for Unit Roots We want to test whether AR (1) model has a unit root: Y t = µ + ρy t 1 + u t H 0 : ρ = 1, H 1 : ρ < 1 Environmental Econometrics (GR03) TSII Fall 2008 5 / 16

Testing for Unit Roots We want to test whether AR (1) model has a unit root: Y t = µ + ρy t 1 + u t H 0 : ρ = 1, H 1 : ρ < 1 Equivalently, we can formulate the test for unit root as follows: Y t = µ + θy t 1 + u t H 0 : θ = 0, H 1 : θ < 0 Environmental Econometrics (GR03) TSII Fall 2008 5 / 16

Testing for Unit Roots We want to test whether AR (1) model has a unit root: Y t = µ + ρy t 1 + u t H 0 : ρ = 1, H 1 : ρ < 1 Equivalently, we can formulate the test for unit root as follows: Y t = µ + θy t 1 + u t H 0 : θ = 0, H 1 : θ < 0 (Dickey-Fuller (DF) Test) We use the t statistic. But, notice that, under the null, the t statistic does not follow the asymptotic standard normal distribution. Environmental Econometrics (GR03) TSII Fall 2008 5 / 16

Testing for Unit Roots We want to test whether AR (1) model has a unit root: Y t = µ + ρy t 1 + u t H 0 : ρ = 1, H 1 : ρ < 1 Equivalently, we can formulate the test for unit root as follows: Y t = µ + θy t 1 + u t H 0 : θ = 0, H 1 : θ < 0 (Dickey-Fuller (DF) Test) We use the t statistic. But, notice that, under the null, the t statistic does not follow the asymptotic standard normal distribution. Dickey and Fuller (1979) obtained the asymptotic distribution of the t statistic under the null, called the Dickey-Fuller distribution. Environmental Econometrics (GR03) TSII Fall 2008 5 / 16

Example: Testing whether In ation Rates are I(1) Inf t Inf t 1 = µ + θinf t 1 + u t Coe. t-stat. Inf_1-0.33-3.31 Constant 1.17 2.40 The asymptotic critical values for unit root t test is given Sig. Level 1% 5% 10% Critical Value -3.43-2.86-2.57 With 5% signi cance level, we reject the null since the t statistic ( 3.31) is smaller than the critical value ( 2.86). Environmental Econometrics (GR03) TSII Fall 2008 6 / 16

Vector Autoregressions We want to forecast several economic variables at the same time in a mutually consistent manner. This can be done using a vector autoregression (VAR) model. Environmental Econometrics (GR03) TSII Fall 2008 7 / 16

Vector Autoregressions We want to forecast several economic variables at the same time in a mutually consistent manner. This can be done using a vector autoregression (VAR) model. forecasting in ation rate/gdp growth rate/interest rate. Environmental Econometrics (GR03) TSII Fall 2008 7 / 16

Vector Autoregressions We want to forecast several economic variables at the same time in a mutually consistent manner. This can be done using a vector autoregression (VAR) model. forecasting in ation rate/gdp growth rate/interest rate. A simple form is the vector autoregression model of two time series with order 1, called VAR (1): Y t = µ 10 + ρ 11 Y t 1 + ρ 12 X t 1 + u 1t X t = µ 20 + ρ 21 Y t 1 + ρ 22 X t 1 + u 2t Environmental Econometrics (GR03) TSII Fall 2008 7 / 16

Vector Autoregressions We want to forecast several economic variables at the same time in a mutually consistent manner. This can be done using a vector autoregression (VAR) model. forecasting in ation rate/gdp growth rate/interest rate. A simple form is the vector autoregression model of two time series with order 1, called VAR (1): Y t = µ 10 + ρ 11 Y t 1 + ρ 12 X t 1 + u 1t X t = µ 20 + ρ 21 Y t 1 + ρ 22 X t 1 + u 2t Under the stationarity and ergodicity assumptions, we estimate the coe cients by using the OLS equation by equation. Environmental Econometrics (GR03) TSII Fall 2008 7 / 16

Impulse Response Function It is often the case that VAR results can be di cult to interpret. What are the short-run/long-run e ects of variables? What is the dynamics of Y t after a unit-shock in X t at time period t? A impluse response function measures this kind of dynamics: the predicted response of one of the dependent variables to a shock through time. Environmental Econometrics (GR03) TSII Fall 2008 8 / 16

.02 0.02.04.06 lc lc[_n 1]/ly ly[_n 1] Example: Growth rates of consumption and income in USA (1959-1995) 1960 1970 1980 1990 2000 1959 1995 lc lc[_n 1] ly ly[_n 1] Environmental Econometrics (GR03) TSII Fall 2008 9 / 16

Example: VAR(1) gc t = µ 10 + ρ 11 gc t 1 + ρ 12 gy t 1 + u 1t gy t = µ 20 + ρ 21 gc t 1 + ρ 22 gy t 1 + u 2t Cons. growth (gc) Inc. growth (gy) Coe. Std. Err. Coe. Std. Err. gc_1 0.61 0.27 1.23 0.37 gy_1-0.13 0.19-0.49 0.26 constant 0.01 0.00 0.01 0.01 Environmental Econometrics (GR03) TSII Fall 2008 10 / 16

Example: Impulse Response Function from VAR(1) 2 varbasic, gc, gc varbasic, gc, gy 1 0 1 2 varbasic, gy, gc varbasic, gy, gy 1 0 1 0 2 4 6 8 0 2 4 6 8 step 95% CI irf Graphs by irfname, impulse variable, and response variable Environmental Econometrics (GR03) TSII Fall 2008 11 / 16

Granger Causality Q: Is a variable X useful to predict a variable Y? Environmental Econometrics (GR03) TSII Fall 2008 12 / 16

Granger Causality Q: Is a variable X useful to predict a variable Y? If so, it is said that the variable X Granger causes the variable Y. Note that Granger causality has little to do with causality in a standard sense. Environmental Econometrics (GR03) TSII Fall 2008 12 / 16

Granger Causality Q: Is a variable X useful to predict a variable Y? If so, it is said that the variable X Granger causes the variable Y. Note that Granger causality has little to do with causality in a standard sense. In the VAR model (e.g., VAR(2)) Y t = µ 10 + ρ 11 Y t 1 + ρ 12 Y t 2 + γ 11 X t 1 + γ 12 X t 2 + u 1t X t = µ 20 + ρ 21 Y t 1 + ρ 22 Y t 2 + γ 21 X t 1 + γ 22 X t 2 + u 2t If X Granger causes Y, it means that the following is not true: γ 11 = γ 12 = 0 Environmental Econometrics (GR03) TSII Fall 2008 12 / 16

Granger Causality Q: Is a variable X useful to predict a variable Y? If so, it is said that the variable X Granger causes the variable Y. Note that Granger causality has little to do with causality in a standard sense. In the VAR model (e.g., VAR(2)) Y t = µ 10 + ρ 11 Y t 1 + ρ 12 Y t 2 + γ 11 X t 1 + γ 12 X t 2 + u 1t X t = µ 20 + ρ 21 Y t 1 + ρ 22 Y t 2 + γ 21 X t 1 + γ 22 X t 2 + u 2t If X Granger causes Y, it means that the following is not true: γ 11 = γ 12 = 0 The Granger causality test is the F -statistic or the Chi-square statistic testing the null hypothesis that γ 11 = γ 12 = 0. Environmental Econometrics (GR03) TSII Fall 2008 12 / 16

Example: Consumption and income growth rates - VAR(1) Granger causality Wald tests Equation Excluded Chi2 (df) p-value gc gy_1 0.517 (1) 0.47 gy gc_1 10.73 (1) 0.00 Environmental Econometrics (GR03) TSII Fall 2008 13 / 16

Spurious Regression In a cross-section environment, spurious correlation is used to describe a situation where two variables (X and Y ) are correlated through a third variable (Z). Environmental Econometrics (GR03) TSII Fall 2008 14 / 16

Spurious Regression In a cross-section environment, spurious correlation is used to describe a situation where two variables (X and Y ) are correlated through a third variable (Z). If we control for Z, then the partial e ect of X on Y becomes zero. This can also happen in time series but worse! Environmental Econometrics (GR03) TSII Fall 2008 14 / 16

Spurious Regression In a cross-section environment, spurious correlation is used to describe a situation where two variables (X and Y ) are correlated through a third variable (Z). If we control for Z, then the partial e ect of X on Y becomes zero. This can also happen in time series but worse! Suppose we have two completely unrelated series, Y t and X t, with a stochastic trend: Yt = Y t 1 + u t X t = X t 1 + u t Environmental Econometrics (GR03) TSII Fall 2008 14 / 16

Spurious Regression In a cross-section environment, spurious correlation is used to describe a situation where two variables (X and Y ) are correlated through a third variable (Z). If we control for Z, then the partial e ect of X on Y becomes zero. This can also happen in time series but worse! Suppose we have two completely unrelated series, Y t and X t, with a stochastic trend: Yt = Y t 1 + u t X t = X t 1 + u t In principle, a regression of Y t on X t should yield a zero coe cient. However, that is often not the case. Environmental Econometrics (GR03) TSII Fall 2008 14 / 16

Spurious Regression In a cross-section environment, spurious correlation is used to describe a situation where two variables (X and Y ) are correlated through a third variable (Z). If we control for Z, then the partial e ect of X on Y becomes zero. This can also happen in time series but worse! Suppose we have two completely unrelated series, Y t and X t, with a stochastic trend: Yt = Y t 1 + u t X t = X t 1 + u t In principle, a regression of Y t on X t should yield a zero coe cient. However, that is often not the case. (Spurious regression) Because the two series have a stochastic trend, OLS often picks up this apparent correlation. Environmental Econometrics (GR03) TSII Fall 2008 14 / 16

Spurious Regression In a cross-section environment, spurious correlation is used to describe a situation where two variables (X and Y ) are correlated through a third variable (Z). If we control for Z, then the partial e ect of X on Y becomes zero. This can also happen in time series but worse! Suppose we have two completely unrelated series, Y t and X t, with a stochastic trend: Yt = Y t 1 + u t X t = X t 1 + u t In principle, a regression of Y t on X t should yield a zero coe cient. However, that is often not the case. (Spurious regression) Because the two series have a stochastic trend, OLS often picks up this apparent correlation. Thus, it is risky to use OLS when the both series are nonstationary. Environmental Econometrics (GR03) TSII Fall 2008 14 / 16

Stationarizing Variables I Suppose we still want to estimate the relationship between two variables: Y t = β 0 + β 1 X t + ε t, where Y t and X t are nonstationary. To see whether these variables are correlated, we need to make them stationary before regressing two variables. Examples: deterministic trend stochastic trend Y t = α 10 + α 11 t + u t X t = α 20 + α 21 t + v t Y t = Y t 1 + u t X t = X t 1 + v t Environmental Econometrics (GR03) TSII Fall 2008 15 / 16

Stationarizing variables II (Detrending a deterministic trend) Environmental Econometrics (GR03) TSII Fall 2008 16 / 16

Stationarizing variables II (Detrending a deterministic trend) regress each X t and Y t on t and a constant Environmental Econometrics (GR03) TSII Fall 2008 16 / 16

Stationarizing variables II (Detrending a deterministic trend) regress each X t and Y t on t and a constant get the residuals bv t and bu t Environmental Econometrics (GR03) TSII Fall 2008 16 / 16

Stationarizing variables II (Detrending a deterministic trend) regress each X t and Y t on t and a constant get the residuals bv t and bu t regress bu t on bv t Environmental Econometrics (GR03) TSII Fall 2008 16 / 16

Stationarizing variables II (Detrending a deterministic trend) regress each X t and Y t on t and a constant get the residuals bv t and bu t regress bu t on bv t (First-di erencing) Taking rst di erences gives a stationary process on each side: Y t Y t 1 = β 1 (X t X t 1 ) + ε t ε t 1. Environmental Econometrics (GR03) TSII Fall 2008 16 / 16