problem related to stoch_simul

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.

problem related to stoch_simul

Postby agostina » Tue Jun 28, 2011 12:27 pm

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.
Attachments
len.mod
(1.91 KiB) Downloaded 71 times
agostina
 
Posts: 4
Joined: Fri Jun 24, 2011 4:59 pm

Re: problem related to stoch_simul

Postby jpfeifer » Wed Jun 29, 2011 7:57 pm

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.
------------
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: Google [Bot] and 6 guests