Lecture 5. Time series: ECM. Bernardina Algieri Department Economics, Statistics and Finance

Similar documents
Vectorautoregressive Model and Cointegration Analysis. Time Series Analysis Dr. Sevtap Kestel 1

Cointegration and Implications for Forecasting

Methodology. -ratios are biased and that the appropriate critical values have to be increased by an amount. that depends on the sample size.

Introduction D P. r = constant discount rate, g = Gordon Model (1962): constant dividend growth rate.

Unit Root Time Series. Univariate random walk

Properties of Autocorrelated Processes Economics 30331

Licenciatura de ADE y Licenciatura conjunta Derecho y ADE. Hoja de ejercicios 2 PARTE A

Ready for euro? Empirical study of the actual monetary policy independence in Poland VECM modelling

Time series Decomposition method

Nonstationary Time Series Data and Cointegration

ACE 564 Spring Lecture 7. Extensions of The Multiple Regression Model: Dummy Independent Variables. by Professor Scott H.

Derived Short-Run and Long-Run Softwood Lumber Demand and Supply

Chickens vs. Eggs: Replicating Thurman and Fisher (1988) by Arianto A. Patunru Department of Economics, University of Indonesia 2004

Financial Econometrics Jeffrey R. Russell Midterm Winter 2009 SOLUTIONS

Econ107 Applied Econometrics Topic 7: Multicollinearity (Studenmund, Chapter 8)

Modeling Economic Time Series with Stochastic Linear Difference Equations

Exercise: Building an Error Correction Model of Private Consumption. Part II Testing for Cointegration 1

Regression with Time Series Data

ESTIMATION OF DYNAMIC PANEL DATA MODELS WHEN REGRESSION COEFFICIENTS AND INDIVIDUAL EFFECTS ARE TIME-VARYING

R t. C t P t. + u t. C t = αp t + βr t + v t. + β + w t

Chapter 16. Regression with Time Series Data

Dynamic Econometric Models: Y t = + 0 X t + 1 X t X t k X t-k + e t. A. Autoregressive Model:

How to Deal with Structural Breaks in Practical Cointegration Analysis

Econ Autocorrelation. Sanjaya DeSilva

Stationary Time Series

Modeling and Forecasting Volatility Autoregressive Conditional Heteroskedasticity Models. Economic Forecasting Anthony Tay Slide 1

Has the Business Cycle Changed? Evidence and Explanations. Appendix

Problem Set 5. Graduate Macro II, Spring 2017 The University of Notre Dame Professor Sims

Distribution of Estimates

Department of Economics East Carolina University Greenville, NC Phone: Fax:

14 Autoregressive Moving Average Models

Section 4 NABE ASTEF 232

Distribution of Least Squares

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles

International Parity Relations between Poland and Germany: A Cointegrated VAR Approach

Cointegration in Theory and Practice. A Tribute to Clive Granger. ASSA Meetings January 5, 2010

An Overview of Methods for Testing Short- and Long-Run Equilibrium with Time Series Data: Cointegration and Error Correction Mechanism

OBJECTIVES OF TIME SERIES ANALYSIS

Why is Chinese Provincial Output Diverging? Joakim Westerlund, University of Gothenburg David Edgerton, Lund University Sonja Opper, Lund University

Exponential Smoothing

Applied Econometrics and International Development Vol.9-1 (2009)

ECON 482 / WH Hong Time Series Data Analysis 1. The Nature of Time Series Data. Example of time series data (inflation and unemployment rates)

A Specification Test for Linear Dynamic Stochastic General Equilibrium Models

Chapter 5. Heterocedastic Models. Introduction to time series (2008) 1

STAD57 Time Series Analysis. Lecture 17

STAD57 Time Series Analysis. Lecture 17

Comparing Means: t-tests for One Sample & Two Related Samples

Wisconsin Unemployment Rate Forecast Revisited

BOX-JENKINS MODEL NOTATION. The Box-Jenkins ARMA(p,q) model is denoted by the equation. pwhile the moving average (MA) part of the model is θ1at

Outline. lse-logo. Outline. Outline. 1 Wald Test. 2 The Likelihood Ratio Test. 3 Lagrange Multiplier Tests

Forecasting optimally

Mean Reversion of Balance of Payments GEvidence from Sequential Trend Break Unit Root Tests. Abstract

The Simple Linear Regression Model: Reporting the Results and Choosing the Functional Form

Box-Jenkins Modelling of Nigerian Stock Prices Data

Lecture 15. Dummy variables, continued

UNIT ROOT TESTS, COINTEGRATION, ECM, VECM, AND CAUSALITY MODELS

TÁMOP /2/A/KMR

Y 0.4Y 0.45Y Y to a proper ARMA specification.

Univariate time-series analysis

1. Diagnostic (Misspeci cation) Tests: Testing the Assumptions

KEY. Math 334 Midterm I Fall 2008 sections 001 and 003 Instructor: Scott Glasgow

Module 2 F c i k c s la l w a s o s f dif di fusi s o i n

Bias in Conditional and Unconditional Fixed Effects Logit Estimation: a Correction * Tom Coupé

Macroeconomic Theory Ph.D. Qualifying Examination Fall 2005 ANSWER EACH PART IN A SEPARATE BLUE BOOK. PART ONE: ANSWER IN BOOK 1 WEIGHT 1/3

STATE-SPACE MODELLING. A mass balance across the tank gives:

3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon

Numerical Dispersion

A Dynamic Model of Economic Fluctuations

Nature Neuroscience: doi: /nn Supplementary Figure 1. Spike-count autocorrelations in time.

GMM - Generalized Method of Moments

LAPLACE TRANSFORM AND TRANSFER FUNCTION

- The whole joint distribution is independent of the date at which it is measured and depends only on the lag.

Vector autoregression VAR. Case 1

Some Basic Information about M-S-D Systems

ACE 562 Fall Lecture 4: Simple Linear Regression Model: Specification and Estimation. by Professor Scott H. Irwin

(a) Set up the least squares estimation procedure for this problem, which will consist in minimizing the sum of squared residuals. 2 t.

ln 2 1 ln y x c y C x

Choice of Spectral Density Estimator in Ng-Perron Test: A Comparative Analysis

Nonstationarity-Integrated Models. Time Series Analysis Dr. Sevtap Kestel 1

Remittances and Economic Growth: Empirical Evidence from Bangladesh

Volatility. Many economic series, and most financial series, display conditional volatility

CHAPTER 12 DIRECT CURRENT CIRCUITS

( ) 2. Review Exercise 2. cos θ 2 3 = = 2 tan. cos. 2 x = = x a. Since π π, = 2. sin = = 2+ = = cotx. 2 sin θ 2+

Wednesday, November 7 Handout: Heteroskedasticity

CHAPTER 17: DYNAMIC ECONOMETRIC MODELS: AUTOREGRESSIVE AND DISTRIBUTED-LAG MODELS

Robust critical values for unit root tests for series with conditional heteroscedasticity errors: An application of the simple NoVaS transformation

Linear Dynamic Models

The Contradiction within Equations of Motion with Constant Acceleration

Economics 311 Fall 2017 Reading on VARs

d 1 = c 1 b 2 - b 1 c 2 d 2 = c 1 b 3 - b 1 c 3

COINTEGRATION: A REVIEW JIE ZHANG. B.A., Peking University, 2006 A REPORT. submitted in partial fulfillment of the requirements for the degree

Notes on cointegration of real interest rates and real exchange rates. ρ (2)

Solutions to Odd Number Exercises in Chapter 6

Q.1 Define work and its unit?

ACE 562 Fall Lecture 5: The Simple Linear Regression Model: Sampling Properties of the Least Squares Estimators. by Professor Scott H.

STAD57 Time Series Analysis. Lecture 5

Testing the Random Walk Model. i.i.d. ( ) r

LONG MEMORY AT THE LONG-RUN AND THE SEASONAL MONTHLY FREQUENCIES IN THE US MONEY STOCK. Guglielmo Maria Caporale. Brunel University, London

Lecture 3: Exponential Smoothing

DYNAMIC ECONOMETRIC MODELS vol NICHOLAS COPERNICUS UNIVERSITY - TORUŃ Józef Stawicki and Joanna Górka Nicholas Copernicus University

Transcription:

Lecure 5 Time series: ECM Bernardina Algieri Deparmen Economics, Saisics and Finance

Conens Time Series Modelling Coinegraion Error Correcion Model Two Seps, Engle-Granger procedure Error Correcion Model One Sep

Time series analsis If he variables in a given model are non-saionar, he OLS esimaes ma lead o a spurious regression or nonsense regression and he sandard and F ess become misleading Smpom of spurious regression is: R2 > Durbin Wason saisics To have a firs hand impression abou he variables we graphicall inspec he series We hen formall es for non saionari

Esimaing Single Equaions Daa Analsis Uni Roo Tess Non saionari Coinegraion Analsis Saionari ECM one sep ECM wo seps (Engle-Granger) Johansen Procedure OLS

Time series analsis To have a firs hand impression abou he variables we graphicall inspec he series We hen formall es for non saionari Two popular ess

ADF Tes If we rejec he Null Hpohesis, we sa ha our series is inegraed of order 0 and wrie he series is I(0) If we do no rejec he Null Hpohesis, we ake he firs differences d and es he new series for a uni roo. If he new series d is saionar hen we sa ha our series is inegraed of order, ha is we need o differeniae once o ransform our non-saionar series o saionar and wrie is I() (also d I(0))

ADF Tes Eamine he resuls of he hpohesis esing in Grel Since he Probabili is over 0.05 and he Null Hpohesis is Y has a uni roo, hen we do no rejec H0 => our series is non-saionar grel oupu

Time series analsis There are wo condiions ha make a given model no spurious an more: The considered variables should be non saionar in levels, bu he have o become saionar afer firs differences, i.e., he should be I() The residuals of he esimaed model should be found o be saionar If he residuals are saionar means ha he considered variables are coinegraed or he have a long-run relaionship or long-run equilibrium relaionship beween hem => The model is long-run model

Coinegraion When esimaing an economeric model wih nonsaionar variables, his variables have o be coinegraed in order for he model o be meaningful The Granger Theorem saes ha if wo series are non saionar (i.e. I()), here can be a linear combinaion of he wo series ha is saionar, in ha case we can sa he wo variables are coinegraed Economicall speaking, wo variables will be coinegraed if he have a long-erm or equilibrium relaionship beween hem.

Coinegraion Two series are coinegraed if

Coinegraion and Equilibrium Eamples of possible Coinegraing Relaionships in finance: spo and fuures prices raio of relaive prices and an echange rae equi prices and dividends Shor and long erm ineres rae No coinegraion implies ha series could wander apar wihou bound in he long-run.

ECM An Error Correcion Model (ECM) is he sandard wa o model ime series equaions. The ECM makes i possible o deal wih nonsaionar daa series and separaes he long and shor run. ECM models make no ad hoc assumpions of how he variables change over ime.

ECM Two pes of ECM implemenaion: Two-seps ECM Engle and Granger procedure (987, firs approach in ime) One-sep ECM

ECM Two seps Engle and Granger Consider a simple model, where and are boh I() (eq. ) If here is a linear combinaion of and ha is saionar (ha is I(0)), hen and are coinegraed. This implies ha he esimaed residuals are saionar, so ha ˆ 2 u 2 ˆ ˆ u ˆ 2 is he long - run coefficien

ECM Two seps Engle and Granger To summarize: 2 s STEP: The Engle and Granger es is done b firs running he co-inegraing regression, i.e. he long-run relaionship, using OLS, and hen es if he residual in he esimaed equaion comes ou being is saionar. If i is saionar, i indicaes ha here is a saionar coinegraing relaionship. u

Two seps 2 nd STEP: Epress he relaionship beween and wih an ECM specificaion as 3 4 uˆ The firs difference of => his variable become saionar afer he firs difference. β 3 = consan erm β 4 = shor-run coefficien, measure he immediae impac of a change in will have on a change in π = coefficien of he esimaed lagged residual of equaion ε = whie noise error erm

Two seps 3 4 uˆ π = coefficien of he esimaed lagged residual of equaion is he feedback effec, or he adjusmen effec, or error correcion coefficien and shows how much of he disequilibrium is being correced. = error correcion erm uˆ uˆ ˆ Of course Wih β 2 = long-run coefficien ˆ 2 In his case OLS perform well.

This has a nice economic inerpreaion: can wander awa from is long-run (equilibrium) pah in he shor run, bu will be pulled back o i b he ECM over he longer erm Two seps ( ) ˆ ˆ 2 4 3

One sep ECM- simple model 3 2 0 3 2 0 ) ( Consis in esimaing long-run and shor-run ogeher. Generae from original (non-saionar) series new saionar series b firs differencing Esimae he firs difference of dependen variable followed b: Lagged one period dependen and independen variables (long-run) Firs Differenced independen variable (shor-run) Tha can be rearranged (long-run) (shor-run)

When we would like o esimae long-run and shor-run ogeher in a more general model, we follow he same procedure as for he one lagged model. Generae from he original (non-saionar) series, new saionar series b firs differencing Esimae he s difference of dependen variable followed b: Lagged one period dependen and independen variables (long-run, remains he same) Firs Differenced variables and heir lags o be combined appropriael hrough a boom down approach (shor-run) Tha can be rearranged One sep ECM- more general model for large number of lagged erms i m i i i n i i 0 2 0 i m i i i n i i 0 2 0 ) (

Eample of specific case m=n=2 One sep ECM- simple model onl one lag 0 2 0 0 2 0 ) ( Check residuals and in case add dumm in presence of ouliers Wrie he long run equaion: he long run coefficiens are obained dividing he lagged independen variables b he lagged dependen variable and changing sign.

Task Task 5 Task 5.

Using he Console and Command Lines in Grel Geing lags of our variable grel Command for creaing : (-) or lags (jus add - in brake() ; or -2; -3 for more lags) (generae several lags, i.e. he number of lags will be equal o he frequenc of he daase, e.g. 4 lags in case of quarerl daa) or lags ; c (generae jus one lag for more variables, e.g. and c) or genr lag_=(-)

Using he Console and Command Lines in Grel Transform he non-saionar series ino saionar b aking he firs differences, ha is creaing a new series: grel Command for Creaing his new series: diff or series name=-(-) series name=diff() If we prefer aking firs differences in logs ldiff => ld_ is generaed ld_(-) lag period of firs difference ld_(-2) lag 2 period of firs difference

From firs differences o second differences Generae firs difference ldiff => ld_ is generaed Generae he second difference aking he diff of firs log differences diff ld_ Alernaivel Genr ldiff2_ =-2*(-) +(-2) Using he Console and Command Lines in Grel 2 2 2 2 ) ( z z z z

Using he Console and Command Lines Using a console (or a scrip) we are going o es for uni roo Use adf command o es if he variable " " has a uni roo. I compues Dicke-Fuller ess: he null hpohesis is he variable has a uni roo. adf 0 Using difference opion, ou can es he firs difference of he variable: adf 0 difference adf 0 d_ Tip: For more informaion refer o Tess in he Command Reference.

Using he Console and Command Lines Using a console (or a scrip) we are going o es for uni roo # uni roo ess for income adf 0 c # Wih consan adf 0 c # Wih cons. and rend quadraic rend adf c # Wih quadra. rend

Auoregressive models of order p are used o model ime dependence using pas realizaions Firs Order Auoregressive Model - AR() (simples case) Y c Y u Regress Y on iself (auo regressive), one lag back (firs order) grel command for esimaing an AR() Model ols Y cons Y(-) or arma 0 ; or arima 0 0 ; grel command for esimaing an AR(3) Model ols cons (-) (-2) (-3) or arma 3 0 ; or arima 3 0 0 ; arma and arima funcions will be eplained in more deail laer Behavior of Y depends on he value of ρ