Page 1 of 1

Variance decomposition at business cycle frequency

PostPosted: Wed Jul 13, 2016 4:06 pm
by Feanor
Dear all,

I've a question about variance decomposition. Justiniano et al (investment shock) and Christiano et al (risk shock) have obtained the variance decomposition at business cycle frequency (6 to 32 quarters or 8 to 32 quarters, respectively) using spectral density.

Is there a way to do it in Dynare?

I guess I've to use UnivariateSpectralDensity command, to get the spectrum and calculate the median of the variance between 2 pi / 32 = 0.19 and 2 pi / 6 = 1.05 frequencies (like Figure 2 of Justiniano et al). I have to do this for each shock of my model.

Is it correct?

Thanks!

Carlos.

Re: Variance decomposition at business cycle frequency

PostPosted: Wed Jul 13, 2016 5:01 pm
by jpfeifer
It seems you are looking for the
Code: Select all
bandpass_filter=[6 32]

option of stoch_simul. It is implemented in the current unstable version.

Re: Variance decomposition at business cycle frequency

PostPosted: Wed Jul 13, 2016 8:18 pm
by Feanor
Thanks, Johannes.

This is the equivalent command of Christiano's and Justiniano's calculations, isn't it?

Re: Variance decomposition at business cycle frequency

PostPosted: Fri Jul 15, 2016 6:43 am
by jpfeifer
Yes, it should be.