Page 1 of 1

Quick question about variance decomposition

PostPosted: Wed Dec 14, 2016 9:22 am
by Robert
Dear Johannes,

I just wanted to ask you a quick question about the variance decomposition. I use conditional_variance_decomposition = [4,8,20], however the very first matrix dynare produces is the unconditional variance decomposition (it says above the matrix "VARIANCE DECOMPOSITION (in percent) (HP filter, lambda = 1600)", correct?

If yes then I should be able to find the values under the oo_.variance_decomposition path. However, there's no such path in oo_. Do you know where I can find the values, it seems I keep making a mistake.

Many thanks for your help.

Robert

Re: Quick question about variance decomposition

PostPosted: Wed Dec 14, 2016 8:27 pm
by jpfeifer
Dear Robert, it should be there, so please provide the file.

Re: Quick question about variance decomposition

PostPosted: Fri Dec 16, 2016 3:29 pm
by jpfeifer
It turns out this is a problem in the documentation of Dynare 4.4.3. That version only saves the variance decomposition in
Code: Select all
100*oo_.gamma_y{options_.ar+2}

Later versions have the correct field
Code: Select all
oo_.variance_decomposition

Re: Quick question about variance decomposition

PostPosted: Fri Dec 16, 2016 3:49 pm
by Robert
Many thanks for that Johannes!