boot.palm {palm} | R Documentation |
Bootstrapping for fitted models
Description
Carries out a parametric bootstrap procedure for models fitted
using the palm
package.
Usage
boot.palm(fit, N, prog = TRUE)
Arguments
fit |
A fitted object. |
N |
The number of bootstrap resamples. |
prog |
Logical, if |
Value
The original model object containing additional information
from the bootstrap procedure. These are accessed by functions
such as summary.palm and confint.palm. The
bootstrap parameter estimates can be found in the boots
component of the returned object.
Examples
## Fit model.
fit <- fit.ns(example.2D, lims = rbind(c(0, 1), c(0, 1)), R = 0.5)
## Carry out bootstrap.
fit <- boot.palm(fit, N = 100)
## Inspect standard errors and confidence intervals.
summary(fit)
confint(fit)
## Estimates are very imprecise---these data were only used as
## they can be fitted and bootstrapped quickly for example purposes.
[Package palm version 1.1.5 Index]