Function File: info = curvefit_stat (f, p, x, y, settings)

Frontend for computation of statistics for fitting of values, computed by a model function, to observed values.

Please refer to the description of residmin_stat. The only differences to residmin_stat are the additional arguments x (independent values) and y (observations), that the model function f, if provided, has a second obligatory argument which will be set to x and is supposed to return guesses for the observations (with the same dimensions), and that the possibly user-supplied function for the jacobian of the model function has also a second obligatory argument which will be set to x.

See also: residmin_stat.

Package: optim