I am new to dynare and wanted to use it for a little project. I set up a DSGE model to analyze fiscal policy measures (Taxes, subsidies) on the welfare of homeowners and renters under a shock to the real interest rate.
However, my code wasn’t working at all and I got “Impossible to find the steady state. Either the model doesn’t have a steady state, there are an infinity of steady states, or the guess values are too far from the solution”. Then I tried to go back to the basics of the model so without any of the extensions but still get “The steady state contains NaN or Inf” (see attached) .
Can anyone please tell me whether its the model or the guesses? ttt.mod (1.2 KB)
thanks for the reply. I checked many different guesses but neither of them reduces the error. However, it changed to “Impossible to find the steady state. Either the model doesn’t have a steady state, there are an infinity of steady states, or the guess values are too far from the solution”.
So could this also mean the model has an issue?
Thanks in advance.
Looking at the residuals after a call to steady, I get
Residuals of the static equations:
Equation number 1 : 0
Equation number 2 : 4.5613e-06
Equation number 3 : -3.305e-07
Equation number 4 : -1.1391e-06
Equation number 5 : 0
Equation number 6 : 0
Equation number 7 : 0
Equation number 8 : 3.5124e-07
Equation number 9 : 0
Equation number 10 : 1.8408e-06
Equation number 11 : 0
Equation number 12 : 4.9887e-07
Equation number 13 : -5.3015e-07
Equation number 14 : -1.3915e-06
Equation number 15 : -37.4346
Equation number 16 : 1.0098e-06
So there is something weird with equation 15. You should check whether that equation is really correct. In general, I recommend doing an exp()-substitution only after the model works. It is too error prone. One missing/wrong substitution will make finding the steady state impossible.