first order solves, second order won't
Posted: Wed Mar 12, 2008 3:39 am
The attached code (a toy model starting to think about non-linear equations for probability of mortgage default) solves fine if I set order=1 but it won't solve the second order approximation: this error, or something similar in later versions of Dynare... Any ideas?? thanks! David
>>>>>>>>>>>>>>>>.
??? Reference to non-existent field 'ghs2'.
Error in ==> dr2 at 11
ghs2 = dr.ghs2;
Error in ==> dynare_solve at 41
fvec = feval(func,x,varargin{:});
Error in ==> resol at 55
dr.ys = dynare_solve('dr2',ys,dr);
Error in ==> stoch_simul at 46
[dr_, info] = resol(ys_,0);
Error in ==> pd at 108
info=stoch_simul(var_list_);
Error in ==> dynare at 26
evalin('base',fname) ;
>>>>>>>>>>>>>>>>.
??? Reference to non-existent field 'ghs2'.
Error in ==> dr2 at 11
ghs2 = dr.ghs2;
Error in ==> dynare_solve at 41
fvec = feval(func,x,varargin{:});
Error in ==> resol at 55
dr.ys = dynare_solve('dr2',ys,dr);
Error in ==> stoch_simul at 46
[dr_, info] = resol(ys_,0);
Error in ==> pd at 108
info=stoch_simul(var_list_);
Error in ==> dynare at 26
evalin('base',fname) ;