Description Usage Arguments Details Value See Also
Check fit of nls estimate
1 | checkFit(M, fit, N)
|
M |
nls object (or NA) |
fit |
the method used to determine the best fit; options: "n_abs" (default), "Pmean", "Psd", "Pn", "sigma" |
N |
the actual (true) number of observations in the subset (numeric value) |
The parameter fit has the following options:
n_abs: the absolute deviation of the estimated number of observations in the subset to N
Pmean: the p-value of the parameter mean in the NLS model
Psd: the p-value of the parameter sd in the NLS model
Pn: the p-value of the parameter n in the NLS model
sigma: a parameter of the nls-function, which is the square root of the estimated variance of the random error
Returns a numeric value describing the fit, this should be minimized to choose a subset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.