jackknife: Jackknife Estimation

Description Usage Arguments Value Author(s) See Also Examples

Description

Jackknife Estimation

Usage

1
2
3
4
5
6
7
jackknife(object, ...)

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

## S4 method for signature 'JackknifeVector'
summary(object, ...)

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.

Value

jackknife() returns a JackknifeVector object (i.e. a numeric vector of the n leave-one-out values of do).

summary() 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.

Author(s)

N. Frerebeau

See Also

Other resampling methods: bootstrap()

Examples

1
2
3
4
## Jackknife
x <- rnorm(20)
jack <- jackknife(x, do = mean) # Sample mean
summary(jack)

dimensio documentation built on Sept. 18, 2021, 5:06 p.m.