Variance decomposition
Posted: Mon Jun 06, 2011 3:00 pm
Hi, I am new user of Dynare.
As far as I understood, when performing the stoch_simul command, the shock variance decomposition is computed and stored in oo_.gamma_y{7,1} (the first 6 elements being the autocovariances of order 0 to 6).
I made a trial with the example file rbc.mod (from Fernandez-Villaverde files). In the original file, the model is solved with stoch_simul(order = 1) and no variance decomposition is computed. Is this because of the first order approximation (i.e., certainty equivalence)?
I therefore modified the command to get a second order approximation, stoch_simul(order = 2). Nonetheless, I get an empty cell in oo_.gamma_y{7,1}. Why is that? Also, cell oo_.gamma_y{8,1} is not empty, but the numbers are different from one. Given that tehre is only one shock, I expected that it accounted for 100% of the variance of the endogenous variables. Am I wrong?
Thanks in advance,
Ambrogio
As far as I understood, when performing the stoch_simul command, the shock variance decomposition is computed and stored in oo_.gamma_y{7,1} (the first 6 elements being the autocovariances of order 0 to 6).
I made a trial with the example file rbc.mod (from Fernandez-Villaverde files). In the original file, the model is solved with stoch_simul(order = 1) and no variance decomposition is computed. Is this because of the first order approximation (i.e., certainty equivalence)?
I therefore modified the command to get a second order approximation, stoch_simul(order = 2). Nonetheless, I get an empty cell in oo_.gamma_y{7,1}. Why is that? Also, cell oo_.gamma_y{8,1} is not empty, but the numbers are different from one. Given that tehre is only one shock, I expected that it accounted for 100% of the variance of the endogenous variables. Am I wrong?
Thanks in advance,
Ambrogio