Example: marketing

Vector Autoregression Analysis: Estimation and Interpretation

Vector Autoregression Analysis: Estimation andInterpretationJohn E. FloydUniversity of Toronto September 19, 20051 IntroductionThis expositional paper lays out the mechanics of running and interpretingvector autoregressions. It proves no theorems. Rather, it sets out the basicsof how VAR s work and outlines some fundamentals regarding interpreta-tion. For the theoretical details, see Walter Enders,Applied EconometricTime series , John Wiley & Sons, 1995, pp. 291 353 and earlier material asrequired, Helmut L utkepohl,Introduction to Multiple Time series Analysis,Springer-Verlag, 1991, pp.

Time Series, John Wiley & Sons, 1995, pp. 291{353 and earlier material as required, Helmut Lutk˜ epohl, Introduction to Multiple Time Series Analysis, Springer-Verlag, 1991, pp. 9{27, 43{58, and 97{117, and James D. Hamil-ton, Time Series Analysis, Princeton University Press, 1994, pp. 257{372 and earlier material as required.

Tags:

  Series, Vector, Vector autoregression, Autoregression

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of Vector Autoregression Analysis: Estimation and Interpretation

1 Vector Autoregression Analysis: Estimation andInterpretationJohn E. FloydUniversity of Toronto September 19, 20051 IntroductionThis expositional paper lays out the mechanics of running and interpretingvector autoregressions. It proves no theorems. Rather, it sets out the basicsof how VAR s work and outlines some fundamentals regarding interpreta-tion. For the theoretical details, see Walter Enders,Applied EconometricTime series , John Wiley & Sons, 1995, pp. 291 353 and earlier material asrequired, Helmut L utkepohl,Introduction to Multiple Time series Analysis,Springer-Verlag, 1991, pp.

2 9 27, 43 58, and 97 117, and James D. Hamil-ton,Time series Analysis, Princeton University Press, 1994, pp. 257 372and earlier material as The Underlying Economic ModelConsider the following economic model with two variablesy1andy2, eachof which depends on itself lagged, on the current and lagged values of theother variable and on aiiderror term:y1(t)=v10+v12y2(t)+a11y1(t 1)+a12y2(t 2)+e1(t)(1)y2(t)=v20+v21y1(t)+a21y1(t 1)+a22y2(t 2)+e2(t)(2) This is written to help students understand how to run VARs. It is not a substitutefor reading the literature cited. I would like to thank John Maheu for system can be written in matrix notation as[y1(t)y2(t)]=[v10v20]+[0v12v210][y1(t) y2(t)]+[a11a12a21a22][y1(t 1)y2(t 1)]+[e1(t)e2(t)](3)or, in general matrix notation withmvariables andplags,yt=v+A0yt+A1yt 1+A2yt 2+A3yt 3+ +Apyt p+et(4)whereyt,vandetarem 1 column vectors andA0,A1,A2, Aparem mmatrices of coefficients.

3 The vectoretis am-element Vector of whitenoise residuals that satisfiesE{etet }=D, whereDis a diagonal matrix. Anappropriate scaling of the elements ofywould makeDan identity VAR estimationEquations (1) and (2), which are called astructuralVAR or aprimitivesystemcan be solved simultaneously to yield thereduced formorstandardformof the VAR:y1(t)=b10+b11y1(t 1)+b12y2(t 2)+u1(t)(5)y2(t)=b20+b21y1(t 1)+b22y2(t 2)+u2(t)(6)or[y1(t)y2(t)]=[b10b20]+[b11b 12b21b22][y1(t 1)y2(t 1)]+[u1(t)u2(t)](7)whereb10=v10+v12v201 v12v21b11=v12a11+a211 v12v21b12=a12+v12a221 v12v21b20=v20+v21v101 v12v21b21=a21+v21a111 v12v21b22=v21a12+a221 v12v212andu1(t)=11 v12v21[e1(t)+v12e2(t)]u2(t)=11 v12v21[v21e1(t)+e2(t)].

4 In the generalmvariable case withplags we have(I A0)yt=v+A1yt 1+A2yt 2+A3yt 3+ +APyt p+et(8)which reduces toyt= (I A0) 1v+ (I A0) 1A1yt 1+ (I A0) 1A2yt 2+ (I A0) 1A3yt 3+ + (I A0) 1 APyt p+ (I A0) 1et.(9)Lettingb= (I A0) 1v,B1= (I A0) 1A1,B2= (I A0) 1A2, etc., andut= (I A0) 1etwe can write the VAR in standard form in thegeneral case asyt=b+B1yt 1+B2yt 2+B3yt 3+ +BPyt p+ut.(10)All this assumes, of course, that the matrix (I A0) has an inverse. GiventhatE{etet }=D, the variance-covariance matrix of the Vector of residualsutequals =E{utut }=E{[(I A0) 1et][(I A0) 1et] }=E{[(I A0) 1]etet [(I A0) 1] }= [(I A0) 1]E{etet }[(I A0) 1] = [(I A0) 1]D[(I A0) 1] The equations in (10)

5 Can be estimated by ordinary least squares because the independent variables in all equations are the same, there isno efficiency gain by estimating these equations as a system using the seem-ingly unrelated regression this point it is appropriate to perform a number of tests to deter-mine what variables should be in the VAR, the appropriate number of lags,whether seasonal dummies should be included and, indeed, whether a VARis even appropriate for the research problem at hand. To focus strictly on themechanics at this point, however, these model-selection issues are postponedto a later The Moving Average RepresentationThe standard form system given by (10) can be manipulated to express thecurrent value of each variable as a function solely of the Vector of residualsut.

6 This is called itsmoving average representation ytis a moving averageof the current and past values +C1ut 1+C2ut 2+ +Csut s+y0.(11)wherey0is some initial value see how we can do this, suppose for the moment that we have onlyone lag of each variable in the VAR ( , a VAR(1) process). Under thisassumption, (10) reduces toyt=b+Byt 1+ut.(12)Lagging (12)ntimes, we obtainyt 1=b+Byt 2+ut 1yt 2=b+Byt 3+ut 2yt 3=b+Byt 4+ut 3 yt s=b+Byt s+ut s 1 Successive substitution into (12) yieldsyt= [1 +B+B2+B3+B4+ +Bs]b+ut+But 1+B2ut 2+B3ut 3+ +Bsut s= (1 B) 1b+ut+But 1+B2ut 2+B3ut 3+ +Bsut s.

7 (13)In terms of (11) this yieldsy0= (1 B) 1bandCk=Bk,k= 0 there arep >1 lags, we first convert the VAR(p) system into aVAR(1) system of the form4 ytyt 1yt 2yt p+1 = + B1B2B3 BP 1 BPIm0 0 000Im0 000 0Im 0 0 Im0 yt 1yt 2yt 3yt p + which can be expressed more simply asYt= +BYt 1+ t.(14)Here,Yt, , and taremp 1 column vectors andBis anmp system is formed by taking the expression (10) as the first equation(more correctly, set of equations) and adding thep 1 equations (sets ofequations)yt 1=yt 1yt 2=yt 2yt 3=yt 3 yt p+2=yt p+2yt p+1=yt p+1sequentially analogy with equation (13), the moving average representation of(14) is seen to beYt= [Imp B] 1 + t+B t 1+B2 t 2+B3 t 3+ +Bn t s(15)whereImpis anmp mpidentity turns out that the moving average representation of our original VAR(p)

8 System is represented by selected parts of the topmequations of the system5(15). We can strip off these terms by operating on (15) with them mpmatrixJ= [Im0 0 0 0].We thereby obtain (11), reproduced below,yt=C0ut+C1ut 1+C2ut 2+ +Csut s+y0.(11)wherey0=J C0=JB0J =JImpJ C1=JB1J =JBJ C2=JB2J C3=JB3J Cs=JBsJ To fully understand how the above procedures work it is necessary toapply them. Consider the age-old problem of modelling the behaviour ofmonetary and other aggregates over the business cycle. We focus the analysison conditions in the United States because that is one of the few economiesthat one might treat, at considerable risk, as if it were a closed is probably defensible because the authorities pay little attentionto the effects of their policies on the rest of the world and the country islarge enough that changes in the domestic money supply and output canhave a significant effect on world levels of these variables.

9 Moreover, to theextent that other countries are concerned about the effects of monetaryshocks on their exchange rates with respect to the dollar, and adjusttheir monetary policies to offset these effects, their monetary conditions willmimic those in the , whose authorities will then effectively control worldmonetary reasons that will be outlined later when issues regarding the inter-pretation of VARs are discussed, we select four variables the detrendedlogarithms of base money and real GDP, the year over year rate of inflation6of the implicit GDP deflator, and the level of the market interest rate on 90-day commercial data are used with no seasonal dummyvariables.

10 The base money and real GDP variables are detrended to keepour analysis of the interactions between the variables uncontaminated by therelationships between their trends. The purpose at this point is to demon-strate the calculations model selection criteria will be considered the best statistical package to use for VAR analysis is , RATS is expensive and one can, with some inconvenience,program VARs using a free platform for statistical computing called Xlisp-Stat, which was written by Luke Tierney at the University of VAR presented immediately below is programmed in detail in the Xlisp-stat code , available from my web-site location noted infootnote 3.


Related search queries