bootstrap() generate bootstrap estimations of an MCD.
jackknife() generate jackknife estimations of an MCD.
# S4 method for MeanDate
bootstrap(object, n = 1000, f = NULL, calendar = getOption("kairos.calendar"))# S4 method for MeanDate
jackknife(object, f = NULL, calendar = getOption("kairos.calendar"))
# S4 method for MeanDate
simulate(object, nsim = 1000)
If f is NULL, bootstrap() and jackknife() return a data.frame
with the following elements (else, returns the result of f applied to the
n resampled values) :
The observed value.
The bootstrap/jackknife estimate of mean.
The bootstrap/jackknife estimate of bias.
The boostrap/jackknife estimate of standard erro.
A MeanDate object (typically returned by mcd()).
A non-negative integer specifying the number of bootstrap
replications.
A function that takes a single numeric vector (the result of
the resampling procedure) as argument.
An aion::TimeScale object specifying the target
calendar (see calendar()).
A non-negative integer specifying the number of simulations.
N. Frerebeau
Other resampling methods:
resample_event