Example: marketing

EC 823: Applied Econometrics - fmwww.bc.edu

VAR, SVAR and VECM modelsChristopher F BaumEC 823: Applied EconometricsBoston College, Spring 2013 Christopher F Baum (BC / DIW)VAR, SVAR and VECM modelsBoston College, Spring 20131 / 61 Vector autoregressive modelsVector autoregressive (VAR) modelsAp-th order vector autoregression, orVAR(p), with exogenousvariablesxcan be written as:yt=v+A1yt 1+ +Apyt p+B0xt+B1Bt 1+ +Bsxt s+utwhereytis a vector ofKvariables, each modeled as function ofplagsof those variables and, optionally, a set of exogenous assume thatE(ut) =0,E(utu t) = andE(utu s) =0 t6= F Baum (BC / DIW)VAR, SVAR and VECM modelsBoston College, Spring 20132 / 61 Vector autoregressive modelsIf the VAR is stable (see commandvarstable) we can rewrite theVAR in moving average form as:yt=

VAR, SVAR and VECM models Christopher F Baum EC 823: Applied Econometrics Boston College, Spring 2013 Christopher F Baum (BC / DIW) VAR, SVAR and VECM models Boston College, Spring 2013 1 / 61

Tags:

  Model, Applied, Econometrics, Applied econometrics, Ec 823

Information

Domain:

Source:

Link to this page:

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

Other abuse

Transcription of EC 823: Applied Econometrics - fmwww.bc.edu

1 VAR, SVAR and VECM modelsChristopher F BaumEC 823: Applied EconometricsBoston College, Spring 2013 Christopher F Baum (BC / DIW)VAR, SVAR and VECM modelsBoston College, Spring 20131 / 61 Vector autoregressive modelsVector autoregressive (VAR) modelsAp-th order vector autoregression, orVAR(p), with exogenousvariablesxcan be written as:yt=v+A1yt 1+ +Apyt p+B0xt+B1Bt 1+ +Bsxt s+utwhereytis a vector ofKvariables, each modeled as function ofplagsof those variables and, optionally, a set of exogenous assume thatE(ut) =0,E(utu t) = andE(utu s) =0 t6= F Baum (BC / DIW)VAR, SVAR and VECM modelsBoston College, Spring 20132 / 61 Vector autoregressive modelsIf the VAR is stable (see commandvarstable) we can rewrite theVAR in moving average form as.

2 Yt= + i=0 Dixt i+ i=0 iut iwhich is the vector moving average (VMA) representation of the VAR,where all past values ofythave been substituted out. TheDimatricesare the dynamic multiplier functions, or transfer functions. Thesequence of moving average coefficients iare the simpleimpulse-response functions (IRFs) at F Baum (BC / DIW)VAR, SVAR and VECM modelsBoston College, Spring 20133 / 61 Vector autoregressive modelsEstimation of the parameters of the VAR requires that the variables inytandxtare covariance stationary, with their first two moments finiteand time-invariant.

3 If the variables inytare not covariance stationary,but their first differences are, they may be modeled with a vector errorcorrection model , or the absence of exogenous variables, the disturbancevariance-covariance matrix contains all relevant information aboutcontemporaneous correlation among the variables inyt. VARs may bereduced-formVARs, which do not account for this contemporaneouscorrelation. They may berecursiveVARs, where theKvariables areassumed to form a recursive dynamic structural model where eachvariable only depends upon those above it in the vectoryt.

4 Or, theymay bestructuralVARs, where theory is used to place restrictions onthe contemporaneous F Baum (BC / DIW)VAR, SVAR and VECM modelsBoston College, Spring 20134 / 61 Vector autoregressive modelsStata has a complete suite of commands for fitting and forecastingvector autoregressive (VAR) models and structural vectorautoregressive (SVAR) models. Its capabilities include estimating andinterpreting impulse response functions (IRFs), dynamic multipliers,and forecast error vector decompositions (FEVDs).

5 Subsidiary commands allow you to check the stability condition of VARor SVAR estimates; to compute lag-order selection statistics for VARs;to perform pairwise Granger causality tests for VAR estimates; and totest for residual autocorrelation and normality in the disturbances forecasts may be computed and graphed after VAR or F Baum (BC / DIW)VAR, SVAR and VECM modelsBoston College, Spring 20135 / 61 Vector autoregressive modelsStata svarbasiccommand allows you to fit a simple reduced-formVAR without constraints and graph the impulse-response functions(IRFs).

6 The more generalvarcommand allows for constraints to beplaced on the allows you to select the appropriate lag orderfor the VAR; commandvarwlecomputes Wald tests to determinewhether certain lags can be excluded;varlmarchecks forautocorrelation in the disturbances; andvarstablechecks whetherthe stability conditions needed to compute IRFs and FEVDs F Baum (BC / DIW)VAR, SVAR and VECM modelsBoston College, Spring 20136 / 61 Vector autoregressive modelsIRFs, OIRFs and FEVDsIRFs, OIRFs and FEVDsImpulse response functions, or IRFs, measure the effects of a shock toan endogenous variable on itself or on another endogenous sirfcommands can compute five types of IRFs:simpleIRFs,orthogonalizedIRFs,cumul ativeIRFs,cumulativeorthogonalizedIRFs andstructuralIRFs.

7 We defined the simple IRFin an earlier forecast error variance decomposition (FEVD) measures thefraction of the forecast error variance of an endogenous variable thatcan be attributed to orthogonalized shocks to itself or to anotherendogenous F Baum (BC / DIW)VAR, SVAR and VECM modelsBoston College, Spring 20137 / 61 Vector autoregressive modelsIRFs, OIRFs and FEVDsTo analyze IRFs and FEVDs in Stata, you estimate a VAR model anduseirf createto estimate the IRFs and FEVDs and store them in afile. This step is done automatically by thevarbasiccommand, butmust be done explicitly after thevarorsvarcommands.

8 You maythen useirf graph,irf tableor otherirfanalysis commandsto examine IRFs to be computed, the VAR must be stable. The simple IRFsshown above have a drawback: they give the effect over time of aone-time unit increase to one of the shocks, holding all else to the extent the shocks are contemporaneously correlated, theother shocks cannot be held constant, and the VMA form of the VARcannot have a causal F Baum (BC / DIW)VAR, SVAR and VECM modelsBoston College, Spring 20138 / 61 Vector autoregressive modelsOrthogonalized innovationsOrthogonalized innovationsWe can overcome this difficulty by takingE(utu t)

9 = , the covariancematrix of shocks, and finding a matrixPsuch that =PP andP 1 P 1=IK. The vector of shocks may then beorthogonalizedbyP 1. For a pure VAR, without exogenous variables,yt= + i=0 iut i= + i=0 iPP 1ut i= + i=0 iP 1ut i= + i=0 iwt iChristopher F Baum (BC / DIW)VAR, SVAR and VECM modelsBoston College, Spring 20139 / 61 Vector autoregressive modelsOrthogonalized innovationsSims (Econometrica, 1980) suggests thatPcan be written as theCholesky decomposition of 1, and IRFs based on this choice areknown as theorthogonalizedIRFs.

10 As a VAR can be considered to bethe reduced form of a dynamic structural equation (DSE) model ,choosingPis equivalent to imposing a recursive structure on thecorresponding DSE model . Theorderingof the recursive structure isthat imposed in the Cholesky decomposition, which is that in which theendogenous variables appear in the VAR F Baum (BC / DIW)VAR, SVAR and VECM modelsBoston College, Spring 201310 / 61 Vector autoregressive modelsOrthogonalized innovationsAs this choice is somewhat arbitrary, you may want to explore theOIRFs resulting from a different ordering.


Related search queries