I’m studying DSGE model with sticky price and wage.
but matlab shows me warning and error messages below.
Could you help me?
Sorry, bothering you
And Sorry for my poor English.
Thank you for your kindness.
Warning: Divide by zero.
In lnsrch1 at 62
In solve1 at 87
In dynare_solve at 73
In steady_ at 23
In steady at 7
In sw2 at 212
In dynare at 26
Warning: Divide by zero.
In lnsrch1 at 63
In solve1 at 87
In dynare_solve at 73
In steady_ at 23
In steady at 7
In sw2 at 212
In dynare at 26
SOLVE: maxit has been reached
??? Error using ==> steady_
STEADY: convergence problems
If you didn’t specify the initial value, 0 is default and it cause some problem. For example, the value of denominator is 0 somewhere mentioned in your message. My suggestion is to pick some reasonable initial guess beforehand