Thank you so much Prof. Pfeifer for your answer. I have some additional questions if you don’t mind:
Do we mean by append here, log substitution similar to exp substitution (instead of log_y = log_y - log_y_ss)? and in what way is it easier?
After the exp or log substitution, should we let stoch_simul in its default settings?
In case we let the model in its non-linear form without any form of substitution, will invoking the loglinear option in stoch_simul be enough to get irfs in term of percentage deviations? if so, in what way the substitution techniques are better?
Good afternoon,
I tried to use option 3 in the post cited above to have my IRFS in deviations from the steady state for some variables. However, I am doing something wrong and the code is not running anymore. Could anyone help me, please? This is the code: AspirationsHabitsUBI_dif_shock.mod (3.9 KB)
AspirationsHabitsUBI_dif_shock.mod (3.9 KB)
I saw that later… Here is the previous version of the same code before I tried to introduce log-variables. It runs and r>0 (although the value for it is implausibly high).
Still, may you see if you identify what I did wrong when trying to get the transformed variables to plot them? This should not affect the computed ss values.
Dear Johannes Pfeifer,
I rechecked the codes. It’s strange, but it looks like the introduction of the auxiliar log-variables make the code unable to find the steady state… I upload here the running code and the “same” code once I introduced log_y. I tried changing the initial values by those found as steady state values in the running code, but it makes no difference. How could it be? Any tip is welcome. Thank you so much. AspirationsHabitsUBI_dif_shock.mod (3.6 KB) AspirationsHabitsUBI_dif_shocktrylogs.mod (3.7 KB)
You should go for an analytical steady state. If you use the var(log) y; statement to automatically append the logged value, Dynare will find a different steady state: AspirationsHabitsUBI_dif_shock.mod (3.6 KB)