Hi all,
I am trying to estimate output gap using a method used in a recent IMF paper (http://www.imf.org/external/pubs/ft/wp/2015/wp1579.pdf). They use IRIS (as is typical for output gap measurement apparently) which requires the optimization toolbox which I cannot get. Therefore I am trying to do it in Dynare.
The problem is that potential output has a unit root, but I cannot simply use a first difference because I need the level for the gap equation (gap=actual -potential). How could I get around this? I am attaching the mod file - I get convergence if I made the process a non-unit root (I have 0.95 coefficient in the file).
Thanks a lot in advance!