Page 1 of 1

problem related to stoch_simul

PostPosted: Tue Jun 28, 2011 12:27 pm
by agostina
Hi,I am new in Dynare.
I have a problem with the sentence stoch_simul. I am working with a DSGE model which has 3 shocks and 9 variables.
When i use stoch_simul, i can see how all the variables respond to 2 of the 3 shocks (in the code: "eh", "e"), but i can not get the impulse-response of all the variables when the shock "eh" take place.
how can I solve that problem?

thanks.

Re: problem related to stoch_simul

PostPosted: Wed Jun 29, 2011 7:57 pm
by jpfeifer
By default, only variables are plotted where the response is larger than 1e-10. If you want all variables although some responses might be 0, you can change the line
Code: Select all
 if max(y(i_var(j),:)) - min(y(i_var(j),:)) > 1e-10

of stoch_simul to a value that better suits you.