Page 1 of 1
can't find steady state
Posted:
Mon Nov 17, 2014 10:58 pm
by clara
Dear Dynare users,
when i run file.mod i have a problem in computing the steady state. Do you have any suggestion to resolve the problem please?
Thank you a lot!
Clara
??? Error using ==> print_info at 74
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
Error in ==> steady at 92
print_info(info,options_.noprint, options_);
Re: can't find steady state
Posted:
Tue Nov 18, 2014 12:55 am
by fernando.fernandes
Is your model log-linearized?
If you paste more details on your debugging, it might be helpful.
Regards,
Fernando
Re: can't find steady state
Posted:
Tue Nov 18, 2014 12:21 pm
by clara
Hi Fernando,
My model is not log-linearized. i just calculate steady state and put initial value for endogenous variables.
Clara
Re: can't find steady state
Posted:
Mon Nov 24, 2014 6:27 am
by jpfeifer
Focus on the equations were Dynare shows big residuals. For example in equation 4 when you do the exp-substitution, the brackets seem to be wrong. You might want to consider solving the linear model first and then going to loglinearization later using exp(), once everything else works.
Re: can't find steady state
Posted:
Fri Dec 05, 2014 6:34 pm
by clara
Dear Professor Pfeifer,
I rewritten the model without (exp) and have corrected errors in the equations with a large residue but I still get the same error message. Is there something else I should do? Thank you for your help. New codes are in attachement.
clara
Re: can't find steady state
Posted:
Sat Dec 06, 2014 4:14 pm
by jpfeifer
Identify the problematic equations by putting
- Code: Select all
resid(1);
before steady. Then check these equations.
For example, your Taylor rule shows a problematic residual:
- Code: Select all
R=rhor*R(-1)+(1-rhor)*(phipi*pi+phiy*(y-y(-1)))+er;
Basically, the constant seems to be missing. I think it should be along the lines of
- Code: Select all
R=rhor*R(-1)+(1-rhor)*(R_bar + phipi*pi+phiy*(y-y(-1)))+er;