Hi, the running of my mod.file displays this error message:

Some element of Newton direction isn’t finite. Jacobian maybe singular

or there is a problem with initial values

Error in ==> solve1 at 107

[x,f,fvec,check]=lnsrch1(xold,fold,g,p,stpmax,func,j1,j2,varargin{:});

Error in ==> dynare_solve at 150

[x,info]=solve1(func,x,j1(r(i):r(i+1)-1),j2(r(i):r(i+1)-1),jacobian_flag,

…

Error in ==> evaluate_steady_state at 66

[ys,check] = dynare_solve([M.fname ‘_static’],…

Error in ==> steady_ at 54

[steady_state,params,info] =

evaluate_steady_state(oo_.steady_state,M_,options_,oo_,~options_.steadystate.nocheck);

Error in ==> steady at 81

[steady_state,M_.params,info] = steady_(M_,options_,oo_);

Error in ==> regle at 183

steady;

Error in ==> dynare at 180

evalin(‘base’,fname) ;

yet I compute these values relative to calibration. Thanks in advance.

rule.mod (1.2 KB)