Jump to content

Jackknife resampling

From Wikipedia, the free encyclopedia
Schematic of Jackknife Resampling

In statistics, the jackknife (jackknife cross-validation) is a cross-validation technique and, therefore, a form of resampling. It is especially useful for bias and variance estimation. The jackknife pre-dates other common resampling methods such as the bootstrap. Given a sample of size , a jackknife estimator can be built by aggregating the parameter estimates from each subsample of size obtained by omitting one observation.[1]

The jackknife technique was developed by Maurice Quenouille (1924–1973) from 1949 and refined in 1956. John Tukey expanded on the technique in 1958 and proposed the name "jackknife" because, like a physical jack-knife (a compact folding knife), it is a rough-and-ready tool that can improvise a solution for a variety of problems even though specific problems may be more efficiently solved with a purpose-designed tool.[2]

The jackknife is a linear approximation of the bootstrap.[2]

A simple example: mean estimation


The jackknife estimator of a parameter is found by systematically leaving out each observation from a dataset and calculating the parameter estimate over the remaining observations and then aggregating these calculations.

For example, if the parameter to be estimated is the population mean of random variable , then for a given set of i.i.d. observations the natural estimator is the sample mean:

where the last sum used another way to indicate that the index runs over the set .

Then we proceed as follows: For each we compute the mean of the jackknife subsample consisting of all but the -th data point, and this is called the -th jackknife replicate:

It could help to think that these jackknife replicates give us an approximation of the distribution of the sample mean and the larger the the better this approximation will be. Then finally to get the jackknife estimator we take the average of these jackknife replicates:

One may ask about the bias and the variance of . From the definition of as the average of the jackknife replicates one could try to calculate explicitly, and the bias is a trivial calculation but the variance of is more involved since the jackknife replicates are not independent.

For the special case of the mean, one can show explicitly that the jackknife estimate equals the usual estimate:

This establishes the identity . Then taking expectations we get , so is unbiased, while taking variance we get . However, these properties do not generally hold for parameters other than the mean.

This simple example for the case of mean estimation is just to illustrate the construction of a jackknife estimator, while the real subtleties (and the usefulness) emerge for the case of estimating other parameters, such as higher moments than the mean or other functionals of the distribution.

could be used to construct an empirical estimate of the bias of , namely with some suitable factor , although in this case we know that so this construction does not add any meaningful knowledge, but it gives the correct estimation of the bias (which is zero).

A jackknife estimate of the variance of can be calculated from the variance of the jackknife replicates :[3][4]

The left equality defines the estimator and the right equality is an identity that can be verified directly. Then taking expectations we get , so this is an unbiased estimator of the variance of .

Estimating the bias of an estimator


The jackknife technique can be used to estimate (and correct) the bias of an estimator calculated over the entire sample.

Suppose is the target parameter of interest, which is assumed to be some functional of the distribution of . Based on a finite set of observations , which is assumed to consist of i.i.d. copies of , the estimator is constructed:

The value of is sample-dependent, so this value will change from one random sample to another.

By definition, the bias of is as follows:

One may wish to compute several values of from several samples, and average them, to calculate an empirical approximation of , but this is impossible when there are no "other samples" when the entire set of available observations was used to calculate . In this kind of situation the jackknife resampling technique may be of help.

We construct the jackknife replicates:

where each replicate is a "leave-one-out" estimate based on the jackknife subsample consisting of all but one of the data points:

Then we define their average:

The jackknife estimate of the bias of is given by:

and the resulting bias-corrected jackknife estimate of is given by:

This removes the bias in the special case that the bias is and reduces it to in other cases.[2]

Estimating the variance of an estimator


The jackknife technique can be also used to estimate the variance of an estimator calculated over the entire sample.

See also





  1. ^ Efron 1982, p. 2.
  2. ^ a b c Cameron & Trivedi 2005, p. 375.
  3. ^ Efron 1982, p. 14.
  4. ^ McIntosh, Avery I. "The Jackknife Estimation Method" (PDF). Boston University. Avery I. McIntosh. Archived from the original (PDF) on 2016-05-14. Retrieved 2016-04-30.: p. 3.