ERFC(x)
Posted: Wed Mar 25, 2015 5:02 pm
I have a problem with the steady state. I am using the ''normcdf'' function in my ss file.
it used to work well in my previous model.
I modified the model and now this is the error I get . Any idea what should I check ???
thnx in advance
Warning: Trust-region-dogleg algorithm of FSOLVE cannot handle non-square systems; using
Levenberg-Marquardt algorithm instead.
> In fsolve at 285
In AGKbgg_steadystate at 25
In evaluate_steady_state_file at 49
In evaluate_steady_state at 58
In steady_ at 54
In steady at 81
In AGKbgg at 630
In dynare at 180
Error using erfc
Input must be real and full.
Error in normcdf>localnormcdf (line 124)
p(todo) = 0.5 * erfc(-z ./ sqrt(2));
Error in normcdf (line 46)
[varargout{1:max(1,nargout)}] = localnormcdf(uflag,x,varargin{:});
it used to work well in my previous model.
I modified the model and now this is the error I get . Any idea what should I check ???
thnx in advance
Warning: Trust-region-dogleg algorithm of FSOLVE cannot handle non-square systems; using
Levenberg-Marquardt algorithm instead.
> In fsolve at 285
In AGKbgg_steadystate at 25
In evaluate_steady_state_file at 49
In evaluate_steady_state at 58
In steady_ at 54
In steady at 81
In AGKbgg at 630
In dynare at 180
Error using erfc
Input must be real and full.
Error in normcdf>localnormcdf (line 124)
p(todo) = 0.5 * erfc(-z ./ sqrt(2));
Error in normcdf (line 46)
[varargout{1:max(1,nargout)}] = localnormcdf(uflag,x,varargin{:});