Next: wls, Previous: residmin_stat, Up: Residual optimization [Index]

### 2.5 Statistics for curve fitting

As `nonlin_curvefit` can be used instead of `nonlin_residmin` for curve fitting ( see nonlin_curvefit, see nonlin_residmin), `curvefit_stat` can be used instead of `residmin_stat` ( see residmin_stat) for statistics on the results of curve fitting.

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.