Vector autoregression VAR. Case 1

Similar documents
Vector autoregression VAR

FORECASTS GENERATING FOR ARCH-GARCH PROCESSES USING THE MATLAB PROCEDURES

Financial Econometrics Jeffrey R. Russell Midterm Winter 2009 SOLUTIONS

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

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

3.1 More on model selection

Unit Root Time Series. Univariate random walk

Forecasting optimally

OBJECTIVES OF TIME SERIES ANALYSIS

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

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

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

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

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

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

Dynamic models for largedimensional. Yields on U.S. Treasury securities (3 months to 10 years) y t

Linear Gaussian State Space Models

Chapter 3 Common Families of Distributions

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

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

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

Econ Autocorrelation. Sanjaya DeSilva

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

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

Forward guidance. Fed funds target during /15/2017

Advanced time-series analysis (University of Lund, Economic History Department)

Properties of Autocorrelated Processes Economics 30331

Linear Dynamic Models

Exponential Smoothing

Distribution of Estimates

(10) (a) Derive and plot the spectrum of y. Discuss how the seasonality in the process is evident in spectrum.

14 Autoregressive Moving Average Models

State-Space Models. Initialization, Estimation and Smoothing of the Kalman Filter

Description of the MS-Regress R package (Rmetrics)

Time series Decomposition method

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

Kriging Models Predicting Atrazine Concentrations in Surface Water Draining Agricultural Watersheds

Lecture 6 - Testing Restrictions on the Disturbance Process (References Sections 2.7 and 2.10, Hayashi)

Regression with Time Series Data

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

GMM - Generalized Method of Moments

Biol. 356 Lab 8. Mortality, Recruitment, and Migration Rates

Generalized Least Squares

Check in: 1 If m = 2(x + 1) and n = find y when. b y = 2m n 2

Affine term structure models

Chapter 15. Time Series: Descriptive Analyses, Models, and Forecasting

Stationary Time Series

Distribution of Least Squares

STATIONARY LINEAR VECTOR TIME SERIES PROCESSES Richard T Baillie, ( ).

Smoothing. Backward smoother: At any give T, replace the observation yt by a combination of observations at & before T

System of Linear Differential Equations

Dynamic Models, Autocorrelation and Forecasting

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

Cointegration and Implications for Forecasting

Notes on Kalman Filtering

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

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

E β t log (C t ) + M t M t 1. = Y t + B t 1 P t. B t 0 (3) v t = P tc t M t Question 1. Find the FOC s for an optimum in the agent s problem.

DEPARTMENT OF STATISTICS

Linear Combinations of Volatility Forecasts for the WIG20 and Polish Exchange Rates

Lecture 33: November 29

12: AUTOREGRESSIVE AND MOVING AVERAGE PROCESSES IN DISCRETE TIME. Σ j =

Y, where. 1 Estimate St.error

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

Lecture Notes 2. The Hilbert Space Approach to Time Series

Our main purpose in this section is to undertake an examination of the stock

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

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

Math 333 Problem Set #2 Solution 14 February 2003

Measurement Error 1: Consequences Page 1. Definitions. For two variables, X and Y, the following hold: Expectation, or Mean, of X.

Wisconsin Unemployment Rate Forecast Revisited

Empirical Process Theory

Estimation Uncertainty

References are appeared in the last slide. Last update: (1393/08/19)

Maximum Likelihood Estimation for α-stable AR and Allpass Processes

Challenge Problems. DIS 203 and 210. March 6, (e 2) k. k(k + 2). k=1. f(x) = k(k + 2) = 1 x k

Two Coupled Oscillators / Normal Modes

T L. t=1. Proof of Lemma 1. Using the marginal cost accounting in Equation(4) and standard arguments. t )+Π RB. t )+K 1(Q RB

KINEMATICS IN ONE DIMENSION

Explaining Total Factor Productivity. Ulrich Kohli University of Geneva December 2015

Økonomisk Kandidateksamen 2005(II) Econometrics 2. Solution

Let us start with a two dimensional case. We consider a vector ( x,

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

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

Has the Business Cycle Changed? Evidence and Explanations. Appendix

Monetary policymaking and inflation expectations: The experience of Latin America

Chapter 2. First Order Scalar Equations

Modeling Economic Time Series with Stochastic Linear Difference Equations

Problem 1 / 25 Problem 2 / 20 Problem 3 / 10 Problem 4 / 15 Problem 5 / 30 TOTAL / 100

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

Economics 8105 Macroeconomic Theory Recitation 6

Econometric Methods for Modelling Systems with a Mixture of I(1) and I(0) Variables # Summary

FITTING EQUATIONS TO DATA

Inflation Nowcasting: Frequently Asked Questions These questions and answers accompany the technical working paper Nowcasting U.S.

Matlab and Python programming: how to get started

V Time Varying Covariance and Correlation

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

t is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t...

Chapter 15: Phenomena. Chapter 15 Chemical Kinetics. Reaction Rates. Reaction Rates R P. Reaction Rates. Rate Laws

Zürich. ETH Master Course: L Autonomous Mobile Robots Localization II

Transcription:

Vecor auoregression VAR So far we have focused mosl on models where deends onl on as. More generall we migh wan o consider oin models ha involve more han one variable. There are wo reasons: Firs, we migh wan o forecas a variable ha deends on as and some oher. Muli se forecass of will require a oin model for and. Second, we wan o undersand how changes in one variable affec he fuure of anoher variable when heir dnamics are iner relaed. Case If we onl care abou forecasing one series bu wan o use informaion from anoher series we can esimae an ARMA model and include addiional elanaor variables. For eamle if is he series of ineres, bu we hink migh be useful we can esimae models like 0

This model can be fi b leas squares (or MLE). Our deenden variable is and he indeenden variables are and. Once he model is fi, he one se ahead forecas is given b: E F E F E F 0 0 Jus like he simle AR model, he one se 2 ahead forecas variance is. However, a oin model for and is required if we are ineresed in mulile se ahead forecass, or if we are ineresed in feedback effecs from one rocess o he oher. E F E F E F 2 0 Wha do we use here? Answer: We need a model for as well. 2

Case 2 Eamle : Oimal eecuion algorihms aem o break u large orders ino smaller chunks o reduce he overall cos of ransacing. These algorihms require an undersanding of how much a rade will move fuure rices. Trades affec rices (i.e. bus end o ush rices u) rices affec rading decisions (i.e. falling rices ma induce urchases). The wo variables are inerconneced. Case 2 Eamle 2. Wage and inflaion raes are inerconneced. Increases in wages end o increase roducion cos which ges assed ono cusomers in he form of higher rices. Increasing rices ma u ressure on firms o increase wages o kee u wih he cos of living. 3

The VAR() model We have 2 variables and and we consider he oin model: 0 2 0 2 The suerscris us denoe arameers and errors s for model and model. Each equaion is like an AR() model wih one oher elanaor variable. Each equaion deends on is own lag and he lag of he oher variable. We also now have wo errors, one for each equaion: and 4

Noice ha we can wrie he same model wih some mari noaion: 0 2 0 2 Since deends on and deends on, a horough undersanding of dnamics and forecasing requires us o oinl consider and in he ssem of 2 equaions. Simlif Noaion B defining he following vecors and maricies we end u wih a ver simle form for he VAR() model ha will also allow fore eas maniulaion. Le 0 2,, 0, and v β β 0 2 5

Now wrie he VAR() model using linear algebra β β v 0 Assumions on he errors Assumion : boh errors are uncorrelaed hrough ime is uncorrelaed wih is own as and. is uncorrelaed wih is own as and. This is equivalen o saing ha v is uncorrelaed wih v, where v 6

Assumion 2: The s are iid Normal and ma be conemoraneousl correlaed. denoes he variance covariance mari of he error erms. Variance of 2 As we go forward in he noes is alwas he variance covariance mari of he errors. 2 Conemoraneous covariance of errors Variance of An eamle: Trades and quoes Le denoe he h rade in a given asse. Le denoe he log ransacion rice associaed wih he h rade and r denoe he coninuousl comounded reurn r = (called dmidrice in he daase). Le denoe wheher he rade was buer or seller iniiaed (+=bu, =sell) (called in he daase). 7

Trades and quoes equaions Then we sack r and in a vecor. Now a each oin in ime we have an observaion for he reurn associaed wih he ransacion rice and a variable for wheher he rade was buer or seller iniiaed. Define: r r r r r 0 2,, 0, and v β β 0 2 A Firs order Vecor Auoregression VAR() is hen defined as: β0 β v where he elemens of v are iid Normal wih variance covariance mari and he errors are uncorrelaed hrough ime. For his model, he deendence of each variable on he as is summarized b he mari, and he conemoraneous deendence is deermined b he variance covariance mari of v, namel he covariance. 8

VAR for rades and quoes Deenden variables Sloe coefficiens Inerces (So he model for reurns and he model for rades are read vericall) VAR() model β β v where he elemens of v 0 Normal wih variance covariance mari are 9

Quesions o answer. Quesions How do we esimae he model? How do we check he goodness of fi? How do we forecas his model? How do we esimae VAR s? Esimaion is sraigh forward. Firs, ick. Can be he same for all variables in or we can have a differen for each variable. Usuall sa ackages use he same value of for all equaions. Esimae he model equaion b equaion using OLS us as we did for he univariae models. 0

VAR() eamle for rades and rices Se one esimae model for ransacion rices using lagged values of ransacion rices and lagged rades. Se wo esimae model for rades using lagged values of ransacion rices and lagged rades. Covariance mari of errors is esimaed b: We have he esimaed model: r r r e c r c c e b r b b r 0 0 ' ˆ 2( ) T ee T Where b and c corresond o esimaed arameers.

Does he model fi he daa? If he model is well secified, he residuals should be uncorrelaed. We can eamine he residuals of each equaion and check if he are uncorrelaed wih heir own as. We can also check o see ha he are uncorrelaed wih he residuals of he oher equaions. Eamine los of samle covariances of he residual vecor: T ˆ l ee T 2 ' l Noe ha his conains cross correlaions. In our rades and rice eamle here will be 4 combinaions of errors; rices wih lagged rices, rices wih lagged rades, rades wih lagged rades and rades wih lagged rices. 2

Correlogram of errors Auocorrelaions wih 2 Sd.Err. Bounds Cor(DMIDPRICE,DMIDPRICE(-i)) Cor(DMIDPRICE,XX(-i)).03.03.02.02.0.0.00.00 -.0 -.0 -.02 -.02 -.03 2 3 4 5 6 7 8 9 0 2 -.03 2 3 4 5 6 7 8 9 0 2 Cor(XX,DMIDPRICE(-i)) Cor(XX,XX(-i)).03.03.02.02.0.0.00.00 -.0 -.0 -.02 -.02 -.03 2 3 4 5 6 7 8 9 0 2 -.03 2 3 4 5 6 7 8 9 0 2 Forecasing VAR s Le E denoe he k se ahead forecas k of +k Le denoe he esimae of he h mari and 0 denoe he esimae of he inerce vecor. The one se ahead forecas is given b: E E β0 β E β β 0 3

The 2 se ahead forecas is given b: E E 2β0 β E 2 E β β β 2 0 2 2 The k se ahead forecas is given b: E E β0 β E k k k 0 E β β β k k k k.0020.006.002.0008.0004.0000 2000 200 2002 2003 2004 2005 2006 2007 2008 2009 200 R_F 4

.24.20.6.2.08.04.00 2000 200 2002 2003 2004 2005 2006 2007 2008 2009 200 X_F 5