Page 1 of 1
Temporary shocks on backward equations without init/endval
Posted:
Sat May 19, 2012 9:38 am
by Sira
Hello,
I am working on a model without expectations, and only backward equations.
And i would like to study the effects of a temporary shock after which the system
goes back to the original equilibrium (the model is stable).
The stochastic shocks work, but it is not the case for temporary shocks.
Although there isn't any problem with the transition from an equilibrium to an other
with the use of initval and endval, how could i introduce a temporary shock on this model and
study a go back to the original equilibrium?
Many thanks
Regards
Sira
Re: Temporary shocks on backward equations without init/endv
Posted:
Wed Jun 06, 2012 2:18 pm
by Sira
Hello,
Nobody knows?
I just would like to know how to simul a temporary shock on this backward model,
with a go back to the original equilibrium.
Should i use an external Matlab file?
Many thanks
Regards
Sira
Re: Temporary shocks on backward equations without init/endv
Posted:
Mon Jul 02, 2012 7:13 am
by Sira
Hello,
Still nobody knows?
I just would like an answer, even a quick one!
How can we simul a temporary shock on backward equations on Dynare (without the use of initval and endval)?
Should i use an external Matlab file? If so, how?
Many thanks
Regards
Sira
Re: Temporary shocks on backward equations without init/endv
Posted:
Mon Jul 02, 2012 10:58 am
by jpfeifer
You were mostly right in your mod-file. The problem is that if the shock becomes too large, Dynare does not find a solution. For example with delR=0.079 instead of 0.08 it still works.
Re: Temporary shocks on backward equations without init/endv
Posted:
Mon Jul 02, 2012 3:37 pm
by Sira
Thank you for the answer.
I tried with a very small shock, but i don't see any shift on the figures of the
variables.
Regarding an external Matlab file, i shall put this command in the mod file:
"shocks(shocks_file = temporary_shock_matlab.m);"
But how can i code the m.file in order to have a temporary shock on backward equations?
Is there already a post dealing with that kind of code?
Many thanks
Sira
Re: Temporary shocks on backward equations without init/endv
Posted:
Tue Jul 03, 2012 8:19 am
by jpfeifer
In my posted example with the small shock to delR, you will see that the variable del moves. Why do you want an external shock file?
Re: Temporary shocks on backward equations without init/endv
Posted:
Tue Jul 03, 2012 2:50 pm
by Sira
Ok, i looked at the example again , but i also fail to see it; i certainly don't know how
to look at it correctly.
Thank you
Sira