The Jackknife
A way to estimate an estimator's own bias and standard error using nothing but the data itself — leave out one observation at a time, recompute, and see how much the answer moves.
Prerequisites: Standard Deviation, Maximum Likelihood Estimation (MLE)
You've computed a statistic — a correlation, a Sharpe ratio, a regression coefficient — and you want to know two things: is this estimate systematically biased, and how much would it wobble if you'd collected a slightly different sample? You don't have a formula for either, and simulating from an assumed distribution feels circular, since you don't fully trust the distributional assumption either. The jackknife answers both questions using nothing but the one dataset you already have: recompute the statistic with each observation removed, one at a time, and read the bias and spread off of how the answers move.
An analogy: testing a bridge by removing one support at a time
An engineer wants to know how much any single support beam matters to a bridge's overall stability, and whether the bridge's design has some hidden systematic weakness. One way to find out: remove each support beam, one at a time, and measure how much the bridge sags each time. If removing any single beam causes roughly the same, small amount of sag, the bridge is stable and no beam is doing outsized work — you'd also expect the "with all beams" measurement to be reasonably trustworthy. If removing one particular beam causes a huge sag, that beam — and by extension your original "all beams" measurement — was hiding an outsized dependency. The jackknife applies the same "remove one, see what changes" logic to a dataset instead of a bridge.
The procedure, one symbol at a time
Let be your statistic computed from the full sample of observations. Define as the same statistic recomputed after deleting observation — so you compute "leave-one-out" versions of your statistic, one for each data point removed. The jackknife estimate of bias is
Read ("theta-dot-bar") as simply the average of all leave-one-out estimates. In plain English: compare the average of the leave-one-out estimates to your original full-sample estimate; if they differ, that difference — scaled up by — is the jackknife's estimate of how much bias is baked into . The jackknife estimate of the standard error is
In plain English: measure how much the leave-one-out estimates spread out around their own average, and that spread — with a specific scaling factor built in to correct for the fact that leave-one-out samples overlap heavily — is your estimate of how much itself would wobble from sample to sample.
The explorer above shows a running estimate settling as more data arrives — the jackknife asks a related but different question about the same fixed dataset: not "what happens as grows," but "how much does the answer move if I quietly remove one observation at a time from the I already have?" Both are ways of probing an estimator's stability, from two different angles.
The explorer above shows how much a statistic bounces around across genuinely different samples — the spread you see there is the thing the jackknife is trying to estimate using only one sample, by simulating "slightly different data" through deletion instead of through drawing a fresh sample entirely.
The jackknife recomputes your statistic times, once per observation removed, and reads bias and standard error off how much those recomputed values move relative to the original — a fully data-driven check that requires no assumption about the underlying distribution.
Worked example 1: jackknife standard error of a sample mean
Five daily returns, in percent: . Full-sample mean: .
Leave-one-out means: drop the : . Drop a (first one): . Drop the : . Drop a (second one): . Drop a (third one): .
So the five leave-one-out values are . Their average: — matching exactly, so jackknife bias , correctly signalling the sample mean is unbiased.
Sum of squared deviations from : . . Compare to the ordinary textbook standard error of the mean, : sample standard deviation of the five points is , giving — an exact match, confirming the jackknife recovers the known formula here without ever using it directly.
Worked example 2: jackknife catching bias in a ratio estimator
Suppose you estimate a strategy's win/loss ratio from 4 days of P&L: wins of and losses of (in $thousands). Define .
Leave-one-out: drop the win of : wins sum , losses sum , ratio . Drop the win of : wins sum , losses sum , ratio . Drop the loss of : wins sum , losses sum , ratio . Drop the loss of : wins sum , losses sum , ratio .
Average of leave-one-out ratios: .
Jackknife bias: — a substantial estimated bias relative to the point estimate of itself, flagging that ratio estimators built from a handful of observations (especially with a small denominator like the loss sum here) can be badly biased, exactly the kind of warning sign the jackknife is built to surface without any distributional assumption about P&L.
What this means in practice
- Ratio and other nonlinear statistics (Sharpe ratios, win/loss ratios, correlation coefficients) are the cases where the jackknife earns its keep most, since these are exactly the statistics without simple, closed-form bias or standard-error formulas.
- With small samples, the jackknife's bias and standard-error estimates are themselves noisy — computing leave-one-out values from a small doesn't manufacture new information, it only re-examines the information already present, so the jackknife is a diagnostic tool, not a way to make a small sample behave like a large one.
- The bootstrap is the jackknife's more flexible cousin — instead of leaving out exactly one observation at a time, it resamples with replacement many times, generally giving better standard-error estimates for statistics that respond in a jumpy, non-smooth way to individual data points, where the jackknife's smoother leave-one-out approach can misbehave.
The jackknife can fail badly for statistics that are not "smooth" functions of the data — the sample median is the classic trap. Because the median only depends on the rank of the middle observation(s), removing one point often changes it by a large, discontinuous jump rather than the small, graceful nudge the jackknife's bias and standard-error formulas assume. Applying the plain jackknife to a median (or to other rank-based statistics) can give a badly wrong or even inconsistent standard error; a specially modified version, or the bootstrap, is needed instead.
Practice in interviews
Further reading
- Efron & Tibshirani, An Introduction to the Bootstrap, ch. 11
- Tukey, Bias and Confidence in Not-Quite Large Samples