powered by
Jackknife Estimation
jackknife(object, ...)# S4 method for numeric jackknife(object, do, ...)
# S4 method for numeric jackknife(object, do, ...)
Returns a named numeric vector with the following elements:
numeric
mean
The jackknife estimate of mean of do.
do
bias
The jackknife estimate of bias of do.
error
he jackknife estimate of standard error of do.
A numeric vector.
Extra arguments passed to do.
A function that takes object as an argument and returns a single numeric value.
function
object
N. Frerebeau
Other resampling methods: confidence()
confidence()
## Jackknife x <- rnorm(20) jackknife(x, do = mean) # Sample mean
Run the code above in your browser using DataLab