Lably
Skip to content

Jackknife resampling

Statistical method for resampling

  • 5 min read
  • 4 chapters

Related on Lably

Through Statistics and Variance

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.

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 x, then for a given set of i.i.d. observations x1,...,xn the natural estimator is the sample mean: x¯=1n∑i=1nxi=1n∑i∈[n]xi, where the last sum used another way to indicate that the index i runs over the set [n]={1,…,n}.

Then we proceed as follows: For each i∈[n] we compute the mean x¯(i) of the jackknife subsample consisting of all but the i-th data point, and this is called the i-th jackknife replicate: x¯(i)=1n−1∑j∈[n],j≠ixj,i=1,…,n.

It could help to think that these n jackknife replicates x¯(1),…,x¯(n) approximate the distribution of the sample mean x¯. A larger n improves the approximation. Then finally to get the jackknife estimator, the n jackknife replicates are averaged: x¯jack=1n∑i=1nx¯(i).

One may ask about the bias and the variance of x¯jack. From the definition of x¯jack as the average of the jackknife replicates, one could try to calculate explicitly. The bias is a trivial calculation, but the variance of x¯jack 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: 1n∑i=1nx¯(i)=x¯. This establishes the identity x¯jack=x¯. Then taking expectations, we get E[x¯jack]=E[x¯]=E[x], so x¯jack is unbiased, while taking variance, we get V[x¯jack]=V[x¯]=V[x]/n. 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.

x¯jack could be used to construct an empirical estimate of the bias of x¯, namely bias^(x¯)jack=c(x¯jack−x¯) with some suitable factor c>0, although in this case we know that x¯jack=x¯, 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 x¯ can be calculated from the variance of the jackknife replicates x¯(i): var^(x¯)jack=n−1n∑i=1n(x¯(i)−x¯jack)2=1n(n−1)∑i=1n(xi−x¯)2. The left equality defines the estimator var^(x¯)jack, and the right equality is an identity that can be verified directly. Then taking expectations, we get E[var^(x¯)jack]=V[x]/n=V[x¯], so this is an unbiased estimator of the variance of x¯.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Statistics