The argument is not modified on return.
The vectors x, y and err_y must have the same length, unless err_y is given as a scalar.
Not changed on exit.
The vectors x, y and err_y must have the same length, unless err_y is given as a scalar.
Not changed on exit.
This argument can also be a scalar, which is then used as error for all points. If this argument is a vector, then it must have the same length as x and y.
Not changed on exit.
polynomial = a\<SUB\>0\</SUB\> + a\<SUB\>1\</SUB\>*x + a\<SUB\>2\</SUB\>*x\<SUP\>2\</SUP\> + a\<SUB\>3\</SUB\>*x\<SUP\>3\</SUP\> + ... + a\<SUB\>n\</SUB\>*x\<SUP\>n\</SUP\>
The input values for the terms are not used in the fitting procedure. Initial values are obtained from an unweighted maximum likelihood fit.
This argument must be modifiable, i.e. it can not be a constant nor an expression.
\√(\χ\²/(#points - #parameters))
This correction factor is equal to 1 if the errors to the data points have been assigned correctly.
These arguments must be modifiable, that is, they can neither be constants nor expressions.
Option | Meaning | Defaults |
---|---|---|
EQUAL |
Assume equal weight of all points | Not default |
NOPLOT |
Don't plot the histogram and fit | Default |
NOPRINT |
Don't print details during the fit | Default |
PLOT |
Plot the histogram with fit | Not default |
POISSON |
Assume Poisson errors | Default |
PRINT |
Print details during the fit | Not default |
Note: the EQUAL and POISSON options are ignored for matrix fits since the errors on the points are explicitly provided in that case.
Formatted on 21/01/18 at 16:55.