I am trying to replicate the dynare code for the model of Erceg, Henderson and Levin (2000) with the calibration from the textbook of Gali “Monetary Policy, Inflation and the Business Cycle” 2008
If i try to compute the parameter for an optimal monetary policy by inserting this passage
phip = 1.5;
osr(irf=20) pip pip x;**
I always get the error message:
**OPTIMAL SIMPLE RULE
??? Reference to non-existent field ‘ys’.
Error in ==> osr1 at 67
[dr.ys,check1] = dynare_solve(fh,dr.ys,options_.jacobian_flag,…
Error in ==> osr at 47
Error in ==> stickywages3osr at 199
Error in ==> dynare at 132
I think, there is something wrong with my original model (not the osr-part i added). I attached the original model file too. This mod.file can be calculated with dynare without problems, but i still think there is something wrong with it, because it depicts a negative output gap and in Gali (2008) the output gap is positive.