Choose shock values in irf?

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.

Choose shock values in irf?

Postby jimmyk » Mon Aug 08, 2011 6:55 pm

I want to simulate a succession of two shocks. It seems that deterministic simulation as in:

shocks;
var v;
periods 1 2 3:10;
values .001 .0003 0;
end;
simul (periods=10);

treats both shocks as known in advance (perfect foresight). On the other hand, stoch_simul computes an irf using just a one-standard-deviation shock. Is there any way to compute irfs using specific shock values?
jimmyk
 
Posts: 20
Joined: Fri Jul 08, 2011 8:58 pm

Re: Choose shock values in irf?

Postby MichelJuillard » Fri Aug 12, 2011 8:35 pm

No it is not possible

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Re: Choose shock values in irf?

Postby olayenidynare » Sat Aug 13, 2011 7:32 pm

Yes it is possible!!! But it requires that you write a m-mother file from where you input the values for the shock parameter usring set_param_value. At this point remember to declare the parameter in the paramter block and reset it in the calibration using set_param_value.

In the shocks block don't use the value but use the declared parameter.

Good luck

Olayeni
olayenidynare
 
Posts: 22
Joined: Sat Feb 21, 2009 3:17 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 11 guests