Var Slides
Var Slides
(MFx)
IMFx
This training material is the property of the International Monetary Fund (IMF) and is intended for use in IMF
Institute for Capacity Development (ICD) courses. Any reuse requires the permission of the ICD.
EViews is a trademark of IHS Global Inc.
Introduction
Del Negro and Schorfheide (2011):
At first glance, VARs appear to be
straightforward multivariate generalizations of
univariate autoregressive models. At second
sight, they turn out to be one of the key
empirical tools in modern macroeconomics.
Structural Analysis
Structural VARs
Unit Plan/Roadmap
Specification and
Estimation of reducedform VAR
Model
rejected
Model Checking
Forecasting
Source:Lutkepohl (2007)
Model accepted
Structural VAR
specification and
estimation
Impulseresponse
analysis
Forecast-error
variance
decomposition
Introduction to VARs
Let yt be a vector with the value of n variables at time t:
y t = [ y1,t y2,t ... yn ,t ]'
form VAR
G 0 = (n 1) vector of constants
E[et ] = 0
G j = (n n) matrix of coefficients
, if t =
E[et e '] =
0 otherwise
NOT diagonal
where
yt
y1,t
=
, for example: y t
y
2,t
G1
e1,t
g11 g12
=
,
e
t e
g
g
21
22
2,t
gdp
e21
E[et et '] =
e e
12
0
E[et e '] =
0
e e
1 2
e2
2
0
, for t
0
Estimation: by OLS
Performed with OLS applied equation by equation
Estimates are:
consistent
efficient
equivalent to GLS
E[ y t ]=
2.
E[ y t + j ]=
1
2
...
n
The covariance matrix of yt and yt+j depends on the time lapsed j and
not on the reference period t
E[( y t )( y t + j ) ']=
E[( y s )( y s + j ) ']=
The conditions for a VAR to be stationary are similar to the conditions for a
univariate AR process to be stationary:
(I n G 1L - G 2 L - ... - G p L )y t = G 0 + e t
Lag polynomial
Lag operator
G(L)y t = G 0 + e t
For yt to be stationary, the matrix polynomial in the lag operator G(L) must
be invertible
det(I n G 1L - G 2 L2 - ... - G p Lp ) =
0 -0.5
-1.0
-1.5
-1.5
-1.0
-0.5
0.0
0.5
1.0
1.5
If a VAR is stationary, the yt vector can be expressed as a sum of all of the past
white noise shocks et (VMA() representation)
yt
=
+ G(L)-1 e t , where
y t=
G(L)-1 G 0
+ (I n + 1L + 2 L2 + ...)e t
y t = + i et-i
Wold
theorem
i =0
T = 100
p = 4
n 7
Yt -1 = ( y t -1 , y t -2 ,..., y t -T )
0 +G
1y + G
2 y + ... + G
py
E[y t | Yt-1 ] = G
t-1
t-2
t-p
Iterated Forecasts
Iterating one period forward:
0 +G
1E[y | Y ] + G
2 y + ... + G
py
E[y t+1 | Yt-1 ] = G
t
t-1
t-1
t-p+1
E[ y t + j | Yt-1 ] = G
t + j-1 | Yt-1 ] + G 2 E[y t + j-2 | Yt-1 ] + ... + G p y t-p+ j