Variance decomposition at business cycle frequency

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Variance decomposition at business cycle frequency

Postby Feanor » Wed Jul 13, 2016 4:06 pm

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.
Feanor
 
Posts: 4
Joined: Fri Aug 17, 2012 4:05 am

Re: Variance decomposition at business cycle frequency

Postby jpfeifer » Wed Jul 13, 2016 5:01 pm

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.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Variance decomposition at business cycle frequency

Postby Feanor » Wed Jul 13, 2016 8:18 pm

Thanks, Johannes.

This is the equivalent command of Christiano's and Justiniano's calculations, isn't it?
Feanor
 
Posts: 4
Joined: Fri Aug 17, 2012 4:05 am

Re: Variance decomposition at business cycle frequency

Postby jpfeifer » Fri Jul 15, 2016 6:43 am

Yes, it should be.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests