Hello everyone,
I need help with my mod file (attached). I am trying to simulate the effects of a permanent and surprise monetary policy shock in a deterministic New Keynesian model.
The problem is that I do not get the initial spike in interest rate one would see in a monetary tightening. Instead, the interest rate drops.
The shock works through the interest rate rule:
(1+int)/(1+int_t) = ((1+infl)/(1+infl_t))^varphi
where
int = interest rate
int_t = target interest rate
infl = inflation rate
infl_t = target inflation rate.
Before the shock, infl_t = infl_old (2%) (t = -infinity,...,-1)
After the shock, infl_t = infl_new (0%) (t = 0, ... , infinity).
And int_t = (1+infl_t)/betta - 1, from the Euler equation.
In the mod file, I specified ‘infl_t’ and ‘int_t’ to be exogenous variables and ‘int’ to be endogenous. I use initval and endval having manually solved for the steady state values related to the two inflation rate targets.
Should I instead make ‘int’ an exogenous variable and use the ‘shocks’ command? But this is only for temporary shocks, isn’t it? I am really quite lost. What changes should I make?
Thanks in advance!