ArticleslgStudy

mathematics

Jackknife resampling

Jackknife resampling is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Jackknife resampling rather than just read about it. In short: 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.

Jackknife resampling — main illustration
Jackknife resampling — illustration

Key takeaways

  • Jackknife resampling belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Jackknife resampling to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Jackknife resampling from memory before moving on to harder problems.

Reference excerpt

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 n, a jackknife estimator can be built by aggregating the parameter estimates from each subsample of size (n−1) obtained by omitting one observation. The jackknife is a linear approximation of the bootstrap. 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¯.

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 x. Based on a finite set of observations x1,...,xn, which is assumed to consist of i.i.d. copies of x, the estimator θ̂ is constructed:

θ̂=fn(x1,…,xn). 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:

bias(θ̂)=E[θ̂]−θ. One may wish to compute several values of θ̂ from several samples, and average them, to calculate an empirical approximation of E[θ̂], but this is impossible when there are no "other samples" when the entire set of available observations x1,...,xn was used to calculate θ̂. In this kind of situation the jackknife resampling technique may be of help. We construct the jackknife replicates:

θ̂(1)=fn−1(x2,x3…,xn) θ̂(2)=fn−1(x1,x3,…,xn) ⋮ θ̂(n)=fn−1(x1,x2,…,xn−1) where each replicate is a "leave-one-out" estimate based on the jackknife subsample consisting of all but one of the data points:

θ̂(i)=fn−1(x1,…,xi−1,xi+1,…,xn)i=1,…,n. Then we define their average:

θ̂jack=1n∑i=1nθ̂(i) The jackknife estimate of the bias of θ̂ is given by:

bias^(θ̂)jack=(n−1)(θ̂jack−θ̂) and the resulting bias-corrected jackknife estimate of θ is given by:

θ̂jack∗=θ̂−bias^(θ̂)jack=nθ̂−(n−1)θ̂jack. This removes the bias in the special case that the bias is O(n−1) and reduces it to O(n−2) in other cases.

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.

… excerpt ends here. Continue reading the full article.

Illustrations

Jackknife resampling: Schematic of jackknife resampling
Schematic of jackknife resampling

Worked examples

Example 1 — a first encounter with Jackknife resampling

Start with the simplest possible case. Write down what Jackknife resampling claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Jackknife resampling before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Jackknife resampling ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Jackknife resampling

In research
Jackknife resampling appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Jackknife resampling in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Jackknife resampling is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational statistics, Resampling (statistics), so understanding it makes those chapters shorter.
In everyday life
Look for Jackknife resampling outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Jackknife resampling” →

How to study Jackknife resampling in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Jackknife resampling means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Jackknife resampling out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Jackknife resampling in simple terms?

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.

Why does Jackknife resampling matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Jackknife resampling?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Jackknife resampling.

Tags

  • Computational statistics
  • Resampling (statistics)

Keep exploring