element of Newton isn't finite!!!!
Posted: Tue Jun 18, 2013 9:48 pm
Hello everyone,
I try to reproduce a DSGE model with trend inflation (non linear). I have 19 equations for 19 endogenous variables with 3 shocks in the model. but I cant understand how to solve this message error...some help plz.
??? Error using ==> lnsrch1 at 53
Some element of Newton direction isn't finite. Jacobian maybe singular or there is a
problem with initial values
Error in ==> solve1 at 129
[x,f,fvec,check]=lnsrch1(xold,fold,g,p,stpmax,func,j1,j2,varargin{:});
Error in ==> dynare_solve at 130
[x,info]=solve1(func,x,j1(r(i):r(i+1)-1),j2(r(i):r(i+1)-1),jacobian_flag,
bad_cond_flag, varargin{:});
I try to reproduce a DSGE model with trend inflation (non linear). I have 19 equations for 19 endogenous variables with 3 shocks in the model. but I cant understand how to solve this message error...some help plz.
??? Error using ==> lnsrch1 at 53
Some element of Newton direction isn't finite. Jacobian maybe singular or there is a
problem with initial values
Error in ==> solve1 at 129
[x,f,fvec,check]=lnsrch1(xold,fold,g,p,stpmax,func,j1,j2,varargin{:});
Error in ==> dynare_solve at 130
[x,info]=solve1(func,x,j1(r(i):r(i+1)-1),j2(r(i):r(i+1)-1),jacobian_flag,
bad_cond_flag, varargin{:});