The global variables that are to be varied are those that appear in the argument list of the procedure call. The other globals are not changed.
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.
In the initial estimate, the data points where y\ \≤\ 0 are skipped. If there are many such points which should be taken into account for the fit, then convergence is not guaranteed.
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.
These parameters must be given a suitable initial value of type Number, for instance by using the Global statement.
On return of a successful fit, the global variables are set equal to the optimum value found. The global variables are of type Undefined if the fit fails.
\√(\χ\²/(#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:
Formatted on 21/01/18 at 16:55.