Wouter J. Den Haan
University of Amsterdam
April 28, 2011
General de…nition IRFs
The IRF gives the j
th-period response when the system is shocked by a one-standard-deviation shock.
Suppose
y
t= ρy
t 1+ ε
tand ε
thas a variance equal to σ
2Consider a sequence of shocks f ¯ε
tg
∞t=1. Let the generated series for y
tbe given by f ¯y
tg
∞t=1.
Consider an alternative series of shocks such that
˜ε
t= ¯ε
t+ σ if t = τ
¯ε
to.w.
The IRF is then de…ned as
IRF ( j ) = ˜y
τ 1+j¯y
τ 1+jIRFs for linear processes
Linear processes: The IRF is independent of the particular draws for ¯ε
tThus we can simply start at the steady state (that is when ¯ε
thas been zero for a very long time) IRF ( j ) = σρ
j 1Often you cannot get an analytical formula for the impulse response function, but simple iteration on the law of motion (driving process) gives you the exact same answer
Note that the IRF is not stochastic
IRFs in theoretical models
When you have solved for the policy functions then it is trivial to get the IRFs by simply giving the system a one standard deviation shock and iterating on the policy functions.
Shocks in the model are structural shocks, such as productivity shock
preference shock
monetary policy shock
IRFs in empirical models
What we are going to do?
Describe an empirical model that has turned out to be very useful (for example for forecasting)
Reduced form VAR
Make clear we do not have to worry about variables being I(1) Describe a way to back out structural shocks (this is the hard part)
Structural VAR
Reduced Form Vector AutoRegressive models (VARs)
Let y
tbe an n 1 vector of n variables (typically in logs)
y
t=
∑
J j=1A
jy
t j+ u
twhere A
jis an n n matrix.
This system can be estimated by OLS (equation by equation) even if y
tcontains I ( 1 ) variables
constants and trend terms are left out to simplify the notation
Spurious regression
Let z
tand x
tbe I ( 1 ) variables that have nothing to do with each other
Consider the regression equation z
t= ax
t+ u
tThe least-squares estimator is given by
ˆa
T= ∑
Tt=1
x
tz
t∑
Tt=1x
2tProblem:
T
lim
!∞ˆa
T6= 0
Source of spurious regressions
The problem is not that z
tand x
tare I(1)
The problem is that there is not a single value for a such that u
tis stationary
If z
tand x
tare cointegrated then there is a value of a such that z
tax
tis stationary
Then least-squares estimates of a are consistent
but you have to change formula for standard errors
How to avoid spurious regressions?
Answer: Add enough lags.
Consider the following regression equation z
t= ax
t+ bz
t 1+ u
tNow there are values of the regression coe¢ cients so that u
tis stationary, namely
a = 0 and b = 1
So as long as you have enough lags in the VAR you are …ne
(but be careful with inferences)
Structural VARs
Consider the reduced-form VAR y
t=
∑
J j=1A
jy
t j+ u
tFor example suppose that y
tcontains the interest rate set by the central bank real GDP
residential investment What a¤ects
the error term in the interest rate equation?
the error term in the output equation?
the error term in the housing equation?
Structural shocks
Suppose that the economy is being hit by "structural shocks", that is shocks that are not responses to economic events Suppose that there are 10 structural shocks. Thus
u
t= Be
twhere B is a 3 10 matrix.
Without loss of generality we can assume that
E [ e
te
0t] = I
Structural shocks
Can we identify B from the data?
E [ u
tu
0t] = BE [ e
te
0t] B
0= BB
0We can get an estimate for E [ u
tu
0t] using
Σ ˆ =
∑
T t=J+1ˆu
tˆu
0t/ ( T J )
But B has 30 and ˆ Σ only 9 elements.
Identi…cation of B
Can we identify B if there are only three structural shocks?
B has 9 distinct elements Σ is symmetric ˆ
Not all equations are independent. Σ
1,2= Σ
2,1. For example Σ
1,2= b
11b
21+ b
12b
22+ b
13b
23but also
Σ
2,1= b
21b
11+ b
22b
12+ b
23b
13In other words, di¤erent B matrices lead to the same Σ matrix
Identi…cation of B
We need additional identi…cation assumptions 2
4 u
itu
ytu
rt3 5 = B
2 4 e
1te
2te
mpt3 5
And suppose we impose
B = 2
4 0 0
0 3 5
Then I can solve for the remaining elements of B from ˆB
0ˆB = Σ ˆ
In Matlab use B=chol(S)
0Identi…cation of B
Suppose instead we use 2 4 u
ytu
itu
rt3 5 = D
2 4 e
1te
2te
mpt3 5
And that we impose
D = 2
4 0 0
0 3 5
This corresponds with imposing B =
2
4 0
0 0 3 5
This does not a¤ect the IRF of e
mpt. All that matters for the
IRF is whether a variable is ordered before or after r
tFirst-order VAR
y
t= A
1y
t 1+ Be
tNow we can calculate IRFs, variances, and autocovariances analytically
Mainly because you can easily calculate the MA representation
y
t= Be
t+ A
1Be
t 1+ A
21Be
t 2+
State-space notation
Every VAR can be presented as a …rst-order VAR. For example let y
1,ty
2,t= A
1y
1,t 1y
2,t 1+ A
2y
1,t 2y
2,t 2+ B e
1,te
2,t2
6 6 4
y
1,ty
2,ty
1,t 1y
2,t 13 7 7
5 = A
1A
2I
2 20
2 22 6 6 4
y
1,t 1y
2,t 1y
1,t 2y
2,t 23 7 7
5 + B 0
2 20
2 20
2 22 6 6 4
e
1,te
2,t0 0
3
7 7
5
VAR used by Gali
z
t=
∑
J j=1A
jz
t j+ Bε
twith
z
t= ∆ ln ( y
t/h
t)
∆ ln ( h
t) ε
t= ε
t,technologyε
t,non-technologyIdentifying assumption (Blanchard-Quah)
Non-technology shock does not have a long-run impact on productivity
Long-run impact is zero if
Response of the level goes to zero
Responses of the di¤erences sum to zero
Get MA representation
z
t= A ( L ) z
t+ Bε
t= ( I A ( L ))
1Bε
t= D ( L ) ε
t= D
0ε
t+ D
1ε
t 1+
Note that D
0= B
Sum of responses
∑
∞ j=0D
j= D ( 1 ) = ( I A ( 1 ))
1B Blanchard-Quah assumption:
∑
∞ j=0D
j= 0
De…nition Reduced form VAR Reduced form VAR Trick Blanchard-Quah Critique
If you ever feel bad about getting too much
criticism ....
If you ever feel bad about getting too much criticism ....
be glad you are not a structural VAR
Structural VARs & critiques
From MA to AR Lippi & Reichlin
From prediction errors to structural shocks Fernández-Villaverde, Rubio-Ramirez, Sargent Problems in …nite samples
Chari, Kehoe, McGratten
From MA to AR
Consider the two following di¤erent MA(1) processes
y
t= ε
t+ 1
2 ε
t 1, E
t[ ε
t] = 0, E
th ε
2ti
= σ
2x
t= e
t+ 2e
t 1, E
t[ e
t] = 0, E
th e
2ti
= σ
2/4
Di¤erent IRFs
Same variance and covariance
E y
ty
t j= E x
tx
t jFrom MA to AR
AR representation:
y
t= ( 1 + θL ) ε
t1
( 1 + θL ) y
t= ε
t1
( 1 + θL ) =
∑
∞ j=0a
jL
jSolve for a
js from
1 = a
0+ ( a
1+ a
0θ ) L + ( a
2+ a
1θ ) L
2+
From MA to AR
Solution:
a
0= 1 a
1= a
0θ
a
2= a
1θ = a
0θ
2You need
j θ j < 1
Prediction errors and structural shocks
Solution to economic model
x
t+1= Ax
t+ Bε
t+1y
t+1= Cx
t+ Dε
t+1x
t: state variables
y
t: observables (used in VAR)
ε
t: structural shocks
Prediction errors and structural shocks
From the VAR you get
e
t+1= y
t+1E
t[ y
t+1]
= Cx
t+ Dε
t+1E
t[ Cx
t+1]
= C ( x
tE
t[ x
t]) + Dε
t+1Problem: Not guaranteed that
x
t= E
t[ x
t]
Prediction errors and structural shocks
Suppose: y
t= x
tthat is, all state variables are observed Then
x
t= E
t[ x
t]
Prediction errors and structural shocks
Suppose: y
t6= x
tF-V,R-R,S show that x
t= E
t[ x
t] if
the eigenvalues of A BD
1C
must be strictly less than 1 in modulus
Finite sample problems
Summary of discussion above
Life is excellent if you observe all state variables But,
we don’t observe capital (well)
even harder to observe news about future changes
If ABCD condition is satis…ed, you are still ok in theory Problem: you may need ∞-order VAR for observables
recall that k
thas complex dynamics
Finite sample problems
1
Bias of estimated VAR
apparently bigger for VAR estimated in …rst di¤erences
2