Command FRESULT
Parameters Defaults
FRESULT numbers
/
PARAMETERS
CORR
FUNCTION(xval)
STORE(st)
CONFIDENCE(co) 0.683
GRAPHIC
SIGMA
STATISTICS
Purpose
List or store fit results.
Example
...
FPEAKS 7
FIT
FRESULT / STORE(result)
IPAR result / list
will store the values of 21 fit parameters and fit parameter errors in
global parameter result. When listed, the layout is as follows:
RESULT(1..21,1..3) double /* fres
<value of fit parameter # 1> <positive error> <negative error>
...
<value of fit parameter #21> <positive error> <negative error>
Parameter NUMBERS
List of numbers of the component (partial) fit functions to be selected
(see also command FLAST).
If omitted, the complete fit function is taken.
Parameter PARAMETERS
Fit parameters are requested. This is the default.
Parameter CORR
The matrix of correlation coefficients is requested.
Parameter FUNCTION(xval)
List of x-values the fit function is evaluated for.
xval may also be specified as from TO to BY step
(with step=1 by default).
Parameter STORE(st)
Name of a flaoting point global parameter array to receive the specified fit results
(STATISTICS, FUNCTION(),CORR or PARAMETERS).
A 1-dimensional array is sufficient for statistics, function values or fit parameters.
If the destination array is 2- or more dimensional and has sufficient
bounds, the respective results are stored columnwise, containing the
following items per row:
for PARAMETERS: fit parameter, positive and negative error,
for FUNCTION(): x-value, function value, negative and positive function error,
for CORR : correlation coefficients per fit parameters,
for STATISTICS: chi-square, number of degrees of freedom and the probability.
Parameter CONFIDENCE(co)
For 0 < co < 1 the evaluated function and fit parameter errors correspond to confidence limit co.
Usually co = 0.683 corresponds to the propagated error bars of the fitted input data.
Parameter GRAPHIC
Write results into the current picture
Parameter SIGMA
For peak functions the variance is listed instead of the FWHM.
Parameter STATISTICS
Requests statistical information:
the values of chi-square, the number of degrees of freedom and the probability.