Hi,

I am simulating a financial accelerator model of Bernanke, Gertler and Gilchrist (1999) (a code of Cesa-Bianchi: sites.google.com/site/ambropo/dynarecodes) and introduce a shock to variance of aggregate productivity.

The problem is - my IRFs are ‘jumping’ (not smooth) in contrast to IRFs presented in the literature on macro uncertainty.

Could you please help me - what am I doing wrong? Am attaching a code here.

Thank you!

BGG99_unc_TFP.mod (2.63 KB)

I am encountering similar problems. Would appreciate some help!

See the discussion at the bottom of [Impulse response figures not show up) as well as the Appendix B7 at sites.google.com/site/bornecon/research/Born_Pfeifer_Policyrisk_Appendix.pdf?attredirects=0

Short summary: either you need really a lot of replications or you use IRFs relative to the stochastic steady state/ergodic mean in the absence of shocks as described in our Appendix (which is exactly what Risk Matters did). Also note the terminological confusion. Risk matter actually computes IRFs not as deviations from the ergodic mean, but from a different concept best termed "ergodic mean in the absence of shocks " or “stochastic steady state”. They are deterministic and you don’t need replications to make them smooth.

Regarding IRF construction in the “Risk Matters” paper, see dynare.org/wp-repo/dynarewp039.pdf and [K_order_perturbation error)