variance decomposition Smets and Wouters (2007)
Posted: Thu Jul 17, 2014 3:55 pm
Hi everybody,
I was trying to replicate the variance decomposition in Smets and Wouters (2007), and could use some help with that.
1) Based on the results it seems that if hp_filter option is set, the HP filter is only used by Dynare for variance decomposition, but not for conditional variance decomposition. Is that correct?
2) As a consequence, with hp_filter option even for period 100 the two decompositions don't look the same. But I was quite surprised how different they are - for example for GDP, productivity shock is attributed 47% without HP filter but only 20% with HP filter, and wage mark-ups get 6% vs 24%. It also seems that Figure 1 in Smets and Wouters (2007) is based on non-HP filtered decomposition; why would this be the preferred way to analyze the contribution of different shocks?
Any insight is much appreciated. Thanks!
Jan
I was trying to replicate the variance decomposition in Smets and Wouters (2007), and could use some help with that.
1) Based on the results it seems that if hp_filter option is set, the HP filter is only used by Dynare for variance decomposition, but not for conditional variance decomposition. Is that correct?
2) As a consequence, with hp_filter option even for period 100 the two decompositions don't look the same. But I was quite surprised how different they are - for example for GDP, productivity shock is attributed 47% without HP filter but only 20% with HP filter, and wage mark-ups get 6% vs 24%. It also seems that Figure 1 in Smets and Wouters (2007) is based on non-HP filtered decomposition; why would this be the preferred way to analyze the contribution of different shocks?
- Code: Select all
VARIANCE DECOMPOSITION (in percent) (HP filter, lambda = 1600)
ea eb eg eI er ep ew
y 20.74 18.06 17.13 20.11 11.40 5.95 6.61
CONDITIONAL VARIANCE DECOMPOSITION (in percent)
Period 100:
ea eb eg eI er ep ew
y 47.10 2.15 3.32 4.09 2.55 16.15 24.65
Any insight is much appreciated. Thanks!
Jan