Description Usage Arguments Details Value Author(s) References Examples
Bootstrap resampling
1 2 3 4 5 6 7 8 9 10 |
nls |
an object of class 'nls' |
niter |
number of iterations |
x, object |
an object of class 'nlsBoot' |
type |
type of representation (options are "pairs" or "boxplot") |
mfr |
layout definition (number of rows and columns in the graphics device) |
ask |
if TRUE, draw plot interactively |
... |
further arguments passed to or from other methods |
Non-parametric bootstrapping is used. Mean centered residuals are bootstrapped. By default, 999 resampled data sets are created from which bootstrap estimates are obtained by fitting the model on each of these data sets. Whenever the fit fails to converge, a flag reports the number of non-convergences. If the fitting procedure fails to converge in more than 50% of the cases, the procedure is interrupted with a flag and no result is given. The function summary
returns the bootstrap estimates and the 95 percent confidence intervals which are simply defined by the median and the 2.5 and 97.5 percentiles of the bootstrap sample of estimates. The bootstrap estimates distributions can be visualized using the function plot.nlsBoot
either by plotting the bootstrap sample for each pair of parameters or by displaying the boxplot representation of the bootstrap sample for each parameter. Notice that nlsBoot
does not currently handle transformed dependent variables specified in the left side of the nls
formula.
nlsBoot
returns a list of three objects:
coefboot |
contains the bootstrap parameter estimates |
bootCI |
contains the bootstrap medians and the bootstrap 95% confidence intervals |
rse |
is the vector of bootstrap residual errors |
Florent Baty florent.baty@gmail.com
Marie-Laure Delignette-Muller ml.delignette@vetagro-sup.fr
Bates DM and Watts DG (1988) Nonlinear regression analysis and its applications. Wiley, Chichester, UK.
Huet S, Bouvier A, Poursat M-A, Jolivet E (2003) Statistical tools for nonlinear regression: a practical guide with S-PLUS and R examples. Springer, Berlin, Heidelberg, New York.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.