resample_mcd {kairos} | R Documentation |
Resample Mean Ceramic Dates
Description
-
bootstrap()
generate bootstrap estimations of an MCD. -
jackknife()
generate jackknife estimations of an MCD.
Usage
## S4 method for signature 'MeanDate'
bootstrap(object, n = 1000, f = NULL, calendar = getOption("kairos.calendar"))
## S4 method for signature 'MeanDate'
jackknife(object, f = NULL, calendar = getOption("kairos.calendar"))
## S4 method for signature 'MeanDate'
simulate(object, nsim = 1000)
Arguments
object |
|
n |
A non-negative |
f |
A |
calendar |
An |
nsim |
A non-negative |
Value
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) :
- original
The observed value.
- mean
The bootstrap/jackknife estimate of mean.
- bias
The bootstrap/jackknife estimate of bias.
- error
The boostrap/jackknife estimate of standard erro.
Author(s)
N. Frerebeau
See Also
Other resampling methods:
resample_event