Page 1 of 1

HELP: Dynare run problems!

PostPosted: Sun Mar 10, 2013 2:33 am
by jinyou_yin
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?

Re: HELP: Dynare run problems!

PostPosted: Sun Mar 10, 2013 9:17 am
by jpfeifer
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.

The Jacobian matrix contains not real or infinite elements

PostPosted: Tue Feb 09, 2016 11:23 am
by alfaomega
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

Re: HELP: Dynare run problems!

PostPosted: Sat Feb 20, 2016 8:25 am
by jpfeifer