by gondal » Mon Dec 15, 2014 4:15 am
I found the error titled:
"STEADY: The Jacobian contains Inf or NaN. The problem arises from:
STEADY: Derivative of Equation 4 with respect to Variable y (initial value of y: 0.56)
STEADY: Derivative of Equation 1 with respect to Variable c (initial value of c: 0.98)
STEADY: Derivative of Equation 2 with respect to Variable c (initial value of c: 0.98)
STEADY: Derivative of Equation 3 with respect to Variable c (initial value of c: 0.98)
STEADY: Derivative of Equation 5 with respect to Variable c (initial value of c: 0.98)
STEADY: Derivative of Equation 2 with respect to Variable m (initial value of m: 0.68)
STEADY: Derivative of Equation 2 with respect to Variable p (initial value of p: 0.56)
STEADY: Derivative of Equation 5 with respect to Variable p (initial value of p: 0.56)
STEADY: Derivative of Equation 1 with respect to Variable i (initial value of i: 0.92)
STEADY: Derivative of Equation 4 with respect to Variable i (initial value of i: 0.92)
STEADY: Derivative of Equation 3 with respect to Variable n (initial value of n: 50)
STEADY: Derivative of Equation 6 with respect to Variable n (initial value of n: 50)
STEADY: Derivative of Equation 10 with respect to Variable n (initial value of n: 50)
STEADY: Derivative of Equation 5 with respect to Variable w (initial value of w: 20)
STEADY: Derivative of Equation 12 with respect to Variable pi (initial value of pi: 0.85)
STEADY: Derivative of Equation 12 with respect to Variable psi (initial value of psi: 0.77)
STEADY: The problem most often occurs, because a variable with
STEADY: exponent smaller than 1 has been initialized to 0. Taking the derivative
STEADY: and evaluating it at the steady state then results in a division by 0.
??? Error using ==> dynare_solve at 60
An element of the Jacobian is not finite or NaN
Error in ==> evaluate_steady_state at 66
[ys,check] = dynare_solve([M.fname '_static'],...
Error in ==> resol at 104
[dr.ys,M.params,info] = evaluate_steady_state(oo.steady_state,M,options,oo,0);
Error in ==> stoch_simul at 88
[oo_.dr,info,M_,options_,oo_] = resol(0,M_,options_,oo_);
Error in ==> yasir1 at 221
info = stoch_simul(var_list_);
Error in ==> dynare at 180
evalin('base',fname) ;
How can I solve it. Any suggestion.