Learn R Programming

arkhe (version 0.5.0)

jackknife: Jackknife Estimation

Description

Jackknife Estimation

Usage

jackknife(object, ...)

# S4 method for numeric jackknife(object, do, ...)

Value

Returns a named numeric vector with the following elements:

mean

The jackknife estimate of mean of do.

bias

The jackknife estimate of bias of do.

error

he jackknife estimate of standard error of do.

Arguments

object

A numeric vector.

...

Extra arguments passed to do.

do

A function that takes object as an argument and returns a single numeric value.

Author

N. Frerebeau

See Also

Other resampling methods: confidence()

Examples

Run this code
## Jackknife
x <- rnorm(20)
jackknife(x, do = mean) # Sample mean

Run the code above in your browser using DataLab