HELP: Dynare run problems!

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.

HELP: Dynare run problems!

Postby jinyou_yin » Sun Mar 10, 2013 2:33 am

Thank you for your time to reading my problems:
When I run the dynare to simulate my model ,these problems as follow occured:

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

Error in stoch_simul (line 81)
print_info(info, options_.noprint);

Error in FE (line 300)
info = stoch_simul(var_list_);

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


Can U tell me the cause for this problems?
my mod file is uplodded.
is there problem with my parameters' values?
Attachments
FE.mod
(2.45 KiB) Downloaded 72 times
jinyou_yin
 
Posts: 11
Joined: Sun Mar 10, 2013 2:17 am

Re: HELP: Dynare run problems!

Postby jpfeifer » Sun Mar 10, 2013 9:17 am

Yes, your steady state value parameters are totally wrong. Both capital and labor are negative. Hence, when you compute
Code: Select all
 y_st = (k_st^(1-alpha))*(l_st^alpha)-m_fst;

You end up with a complex number because you take a root of a negative number.
------------
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

The Jacobian matrix contains not real or infinite elements

Postby alfaomega » Tue Feb 09, 2016 11:23 am

GKOPEN1feb9.mod
(17.25 KiB) Downloaded 47 times
Dear jpfeifer,

I am running the Gertler and Karadi model11, it works well for a closed economy, however when I opened it, and include a couple of equations more, it seems there is a problem with the Jacobian matrix, 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) ;

Would you mind give me some advice, I have no idea how I should solve the problem. I have been looking in the M_.params but I can see any parameter with NAN. I have read a couple of case in the forum, but I cannot figure out which equation is making a mess in my model. Any help you can give will be grateful.

Best,
alfaomega
alfaomega
 
Posts: 2
Joined: Tue Oct 20, 2015 1:19 pm

Re: HELP: Dynare run problems!

Postby jpfeifer » Sat Feb 20, 2016 8:25 am

------------
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