Hello Dynare Community,
I am writing to ask for your help with a peculiar issue I encountered while simulating a basic New Keynesian model with habit consumption. I am analyzing the responses to technology, government spending, and interest rate shocks, but the IRFs for the interest rate shock seem unusual.
In my code, I have implemented two versions of the Taylor rule. Despite their similar structure, these two rules produce opposite IRFs when I apply an interest rate increase shock.
• With the first Taylor rule, R/\text{steady_state}(R) = (R(-1)/\text{steady_state}(R))^{(\text{RHO_r})}*((Pi)^{(\text{kappa_pi})}*(y/\text{steady_state}(y))^{\text{kappa_y}})^{(1-\text{RHO_r})}*exp(\text{eps_r} ), which is commonly used by many, the interest rate shock causes variables such as output, consumption, and investment to increase initially before returning to equilibrium. This seems counterintuitive, given the contractionary nature of an interest rate hike.
• With the second Taylor rule, R-\text{steady_state}(R) = \text{kappa_pi}*(Pi-1)+\text{kappa_y}*log(y/y(-1))+\text{eps_r};, the shock results in output, consumption, and investment decreasing initially (as expected) before returning to equilibrium. However, the behavior of the interest rate itself is puzzling: instead of increasing and then gradually declining, R decreases initially and then increases. This contradicts the expected dynamic of an interest rate shock, where R should rise first and then decline.
I am unsure why these two Taylor rules yield such conflicting IRFs. Could anyone explain why this is happening and suggest how to resolve the issue?
Thank you for your time and insights!
basic_NK.mod (2.3 KB)