VAR and VEC Using Stata.

Slides:



Advertisements
Similar presentations
VECM.
Advertisements

Multivariate Cointegartion
Cointegration and Error Correction Models
Financial Econometrics
Nonstationary Time Series Data and Cointegration
Classical Linear Regression Model
Cross Equation Constraints
Technical tips on time series with Stata
Economics 20 - Prof. Anderson1 Stationary Stochastic Process A stochastic process is stationary if for every collection of time indices 1 ≤ t 1 < …< t.
Vector Autoregressive Models
1 Poverty and Employment in Timber Dependent Counties By Peter Berck, Christopher Costello, Sandra Hoffmann and Louise Fortmann.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: cointegration Original citation: Dougherty, C. (2012) EC220 - Introduction.
Advanced Time Series PS 791C. Advanced Time Series Techniques A number of topics come under the general heading of “state-of-the-art” time series –Unit.
Financial Econometrics
Armando Sánchez Vargas Economics Research Institute UNAM
Introduction to Algorithmic Trading Strategies Lecture 3 Pairs Trading by Cointegration Haksun Li
Vector Error Correction and Vector Autoregressive Models
Stationary Stochastic Process
The Price Relationship Study of Stock You-Sheng Liu 2011/01/04.
Tests on alpha Long-run weak exogeneity (a zero row in alpha) Estimation in partial system A known vector in alpha.
1 Econ 240C Power Outline The Law of One Price.
Threshold Autoregressive (TAR) Models Movements between regimes governed by an observed variable. TAR model: Where s t-k is the state determining variable.
MACROECONOMETRICS LAB 4 – VARs and VECMs. ROADMAP Everything is by definition linked with everything? Estimating VARs – Estimation and forecasting – IRF.
Economics 310 Lecture 18 Simultaneous Equations There is a two-way, or simultaneous, relationship between Y and (some of) the X’s, which makes the distinction.
Identification when data are nonstationary p(p-1) just identifying restrictions on the short-run parameters (equations) r(r-1) just identifying restrictions.
Economics 20 - Prof. Anderson
1 Econometrics 1 Lecture 6 Multiple Regression -tests.
1 Econ 240C Power Outline The Law of One Price Moving averages as a smoothing technique: Power 11_06: slides Intervention models: Power 13_06:
14 Vector Autoregressions, Unit Roots, and Cointegration.
Oil and the Macroeconomy of Kazakhstan Prepared for the 30 th USAEE North American Conference, Washington DC By Ferhat Bilgin, Ph.D. Student and Fred Joutz.
Determinants of the velocity of money, the case of Romanian economy Dissertation Paper Student: Moinescu Bogdan Supervisor: Phd. Professor Moisă Altăr.
Cointegrating VAR Models and Probability Forecasting: Applied to a Small Open Economy Gustavo Sánchez April 2009.
The Impact of Fiscal Policy on Residential Investment in France Pamfili Antipa, Christophe Schalck The Macroeconomics of Housing Markets Paris, 3 rd of.
Y X 0 X and Y are not perfectly correlated. However, there is on average a positive relationship between Y and X X1X1 X2X2.
You are free to use and modify these slides for educational purposes, but please if you improve this material send us your new version. Cointegration.
The Academy of Economic Studies Bucharest The Faculty of Finance, Insurance, Banking and Stock Exchange DOFIN - Doctoral School of Finance and Banking.
Lecture 12 Time Series Model Estimation
STAT 497 LECTURE NOTE 12 COINTEGRATION.
Byron Gangnes Econ 427 lecture 23 slides Intro to Cointegration and Error Correction Models.
ISEN 315 Spring 2011 Dr. Gary Gaukler. Forecasting for Stationary Series A stationary time series has the form: D t =  +  t where  is a constant.
March 5, 2015 University of Salerno Vincenzo Passannante 1 CORSO DI DOTTORATO IN INGEGNERIA ED ECONOMIA DELL’INNOVAZIONE XIII CICLO 1 Department of Economics.
Lecture 6 Stephen G Hall MULTIVARIATE COINTEGRATION.
Econometric methods of analysis and forecasting of financial markets Lecture 4. Cointegration.
Lecture 5 Stephen G. Hall COINTEGRATION. WE HAVE SEEN THE POTENTIAL PROBLEMS OF USING NON-STATIONARY DATA, BUT THERE ARE ALSO GREAT ADVANTAGES. CONSIDER.
Dr. Thomas Kigabo RUSUHUZWA
An Introduction to Error Correction Models (ECMs)
Time Series Econometrics
Team Kenya.
Team Kenya.
Financial Econometrics Lecture Notes 4
ECO 400 Vector Error Correction Models (VECM)
Identification example
Johansen example.
An Introduction to Macroeconometrics: VEC and VAR Models
VAR models and cointegration
Economics 5310 Lecture 26 Causality, VAR.
FORECASTING WITH A SYSTEM OF EQUATIONS: VECTOR AUTOREGRESSION
Team Kenya.
CHAPTER 16 ECONOMIC FORECASTING Damodar Gujarati
COINTEGRATION AND ERROR CORRECTION MODELS
Facility to save and recover models
FORECASTING THE LONG TERM AND
Vector AutoRegression models (VARs)
Identification when data are nonstationary
Multivariate Modeling (intro)
Chou, Mei-Ling Assistant Professor Nanya Institute of Technology
Why does the autocorrelation matter when making inferences?
Cointegration and Common Factors
Stationary Stochastic Process
Presentation transcript:

VAR and VEC Using Stata

VAR: Vector Autoregression Assumptions: yt: Stationary K-variable vector v: K constant parameters vector Aj: K by K parameters matrix, j=1,…,p ut: i.i.d.(0,S) Trend may be included: dt, where d is K by 1 Exogenous variables X may be added

VAR and VEC If yt is not stationary, VAR or VEC can only be applied for cointegrated yt system: VAR (Vector Autoregression) VEC (Vector Error Correction)

VEC: Vector Error Correction If there is no trend in yt, let P = ab’ (P is K by K, a is K by r, b is K by r, r is the rank of P, 0<r<K):

VEC: Vector Error Correction No-constant or No-drift Model: v = 0 g = 0, m = 0 Restricted-constant Model: v = am g = 0, m ≠ 0 Constant or Drift Model: g ≠ 0, m ≠ 0

VEC: Vector Error Correction If there is trend in yt

VEC: Vector Error Correction No-drift No-trend Model: v = 0, d = 0 g = 0, m = 0, t = 0, r = 0 Restricted-constant Model: v = am, d = 0 g = 0, m ≠ 0, t = 0, r = 0 Constant or Drift Model: d = 0 g ≠ 0, m ≠ 0, t = 0, r = 0 Restricted-trend Model: d = ar g ≠ 0, m ≠ 0, t = 0, r ≠ 0 Trend Model: g ≠ 0, m ≠ 0, t ≠ 0, r ≠ 0

Example C: Personal Consumption Expenditure Y: Disposable Personal Income C ~ I(1), Y ~ I(1) Consumption-Income Relationship: Ct = vc + acc1Ct-1 + acy1Yt-1 +…(+ dct) + ec Yt = vy + ayc1Ct-1 + ayy1Yt-1 +…(+ dyt) + ey Cointegrated C and I: e ~ I(0)? Which model? (trend and/or drift) How many lags?

Example Johansen Test with trend models and 6 lags VAR: VEC: Rank 1: P = ab’

Example Johansen Test with constant models and 6 lags VAR: VEC: Rank 1: P = ab’

Example Johansen Test with constant models and 6 lags Constant model: v = am + g (a 0, g0) Restricted-constant model: v = am (a 0) No-constant model: v = 0

Example Johansen Test with trend models and 6 lags Trend model: d = ar+t g ≠ 0, m ≠ 0, t ≠ 0, r ≠ 0 Restricted trend model: d = ar g ≠ 0, m ≠ 0, t = 0, r ≠ 0 No trend or constant model: d = 0 g ≠ 0, m ≠ 0, t = 0, r = 0

Example VEC estimated models with 6 lags Empirical Model: 1948q3 – 2012q3 (N=257) No-constant: LL=1766.15 (K=23) Restricted-constant: LL=1771.47 (K=24) Restricted-trend: LL=1774.15 (K=27)

VEC Forecasting Estimated Models: 1948q3 – 2009q4 No-constant model, 6 Lags (LL=1684.37, 23 parameters, N=246) Restricted-constant model, 6 lags (LL=1689.23, 24 parameters, N=246) Restricted-trend model, 6 lags (LL = 1691.9, 27 parameters, N=246)

VEC Forecasting Restricted-trend Model, 6 Lags Y = ln(PCE), X = ln(DPI), 2010q1 -