Problems with 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.

Problems with steady state

Postby timoferics » Sat Feb 06, 2016 9:55 pm

Hello!

I'm working on my final paper, and I have some difficulties, and I ask for your help, because I'm relatively a new user at dynare, I used Matlab before.

I'm stuck with my recent model, it says: "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".

I'm sure, many of you have met this, but I just can't figure out the problem, and I can't really interpret the Errors. Can you help me solve the problem? I would really appreciate it, thank you for your help. :)
Attachments
matlab18.mod
(1.08 KiB) Downloaded 76 times
timoferics
 
Posts: 1
Joined: Sat Feb 06, 2016 9:40 pm

Re: Problems with steady state and Jacobian Matrix

Postby alfaomega » Thu Feb 18, 2016 12:33 pm

Dear all,

I am running the Gertler and Karadi model11, it works well for a closed economy, however when I extend it for an open economy and include a couple of equations more. It seems there is a problem with the Jacobian matrix and I got this message:

Error using print_info (line 51)
The Jacobian matrix evaluated at the steady state contains elements that are not real or are infinite

Error in check (line 76)
print_info(info, 0, options);

Error in GKOPEN1feb9 (line 490)
oo_.dr.eigval = check(M_,options_,oo_);

Error in dynare (line 180)
evalin('base',fname) ;

Could you help me with some advice, I have been looking in the M_.params but I can see any parameter with NAN. I have read a couple of cases in the forum, but I cannot figure out which equation is making a mess in my model. Any help you can give will be really grateful.

Best,
alfaomega
Attachments
GKOPEN1feb9.mod
(17.26 KiB) Downloaded 76 times
alfaomega
 
Posts: 2
Joined: Tue Oct 20, 2015 1:19 pm

Re: Problems with steady state

Postby jpfeifer » Sat Feb 20, 2016 7:53 am

Never put check before steady. Running model_diagnostics first yields
MODEL_DIAGNOSTICS: The following endogenous variables aren't present at the current period in the model:
ex

Before running the model, make sure your parameters and model-local variables (the ones with the pound operator )are well defined. For this purpose, evaluate them in Matlab e.g. using F9. You will see that for example in
Code: Select all
# PHIXss = (-B_Sss)^etapsis;

B_Sss is positive, meaning you take the root of a negative number, resulting in complex values.
------------
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: Google [Bot] and 11 guests