can't find steady state

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

can't find steady state

Postby clara » Mon Nov 17, 2014 10:58 pm

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_);
clara
 
Posts: 31
Joined: Thu Jul 24, 2014 4:13 pm

Re: can't find steady state

Postby fernando.fernandes » Tue Nov 18, 2014 12:55 am

Is your model log-linearized?

If you paste more details on your debugging, it might be helpful.

Regards,

Fernando
fernando.fernandes
 
Posts: 8
Joined: Mon Nov 17, 2014 5:09 pm

Re: can't find steady state

Postby clara » Tue Nov 18, 2014 12:21 pm

Hi Fernando,
My model is not log-linearized. i just calculate steady state and put initial value for endogenous variables.
Clara
clara
 
Posts: 31
Joined: Thu Jul 24, 2014 4:13 pm

Re: can't find steady state

Postby jpfeifer » Mon Nov 24, 2014 6:27 am

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.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: can't find steady state

Postby clara » Fri Dec 05, 2014 6:34 pm

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
clara
 
Posts: 31
Joined: Thu Jul 24, 2014 4:13 pm

Re: can't find steady state

Postby jpfeifer » Sat Dec 06, 2014 4:14 pm

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;
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 11 guests