Dear all,
I am trying to estimate a model using Bayesian estimation method. The model with calibrations is working properly. But while estimating I get the following error: An element of the Jacobian is not finite or NaN.
And the explanation below the error: The problem most often occurs, because a variable with exponent smaller than 1 has been initialized to 0. Taking the derivative and evaluating it at the steady state then results in a division by 0.
But I don't see any issue with my variables and equations. Please help!
Your help will be much appreciated.
You can find the .mod file attached.