I am currently studying Del Negro et al. (2012): The Forward Guidance Puzzle. I want to build a similar model in Dynare, including the anticipated forward guidance shock in monetary policy, like the following equation:
However, I find the last term is very difficult to express in Dynare.
I tried using loops in the Macro Definition, but it didn’t seem to work. I’m also not sure if this approach is suitable for running the anticipated forward guidance shock.
I would greatly appreciate any advice on how to represent the last term of the monetary policy in Dynare.
Thank you very much.
The problem is not the macro loop but rather that you did not implement the other equation. You are e.g. missing equations determining inflation and the output gap. Use the savemacro option to see what your file generates. I fixed two minor issues.