Hi everyone,
I am trying to implement the BGG model with an optimal simple rule where the interest rate respond to asset prices, other than output gap, and inflation but I get the following message for each iteration:
Improvement on iteration ... = NaN
-----------------
-----------------
f at the beginning of new iteration, Inf
Predicted improvement: 0.000000000
lambda = 1; f = Inf
Norm of dx 0
bad gradient ------------------------
bad gradient ------------------------
bad gradient ------------------------
Cliff. Perturbing search direction.
Predicted improvement: 0.000000000
lambda = 1; f = Inf
Norm of dx 0
----
and finally, at the last iteration:
Improvement on iteration 1001 = NaN
iteration count termination
OPTIMAL VALUE OF THE PARAMETERS:
gammax0 0.5
gammac0 1.1
gammarr 0.8
which are the same parameters I put for the initialisation. I am wondering if it is normal. If there is something wrong may I ask what it is?
I attach the .mod file I wrote for an european calibrated model.
Thanks