Bootstrapping (statistics) Created 2026-09-24 Updated 2026-10-18
The bootstrap approximates a sampling distribution by repeatedly sampling with replacement from the empirical measure of the observed data. In the ordinary nonparametric version, observations are assumed independent and identically distributed; a bootstrap sample has the same size as the original statistical sample. A statistic, such as a sample mean or sample median, is recomputed on each resample. Its variation across resamples estimates how the original statistic would vary across repeated sampling from the unknown probability distribution.[ref]
The key distinction is between the observed statistical sample and its still-unknown source probability distribution. Condition on the observed values and form the empirical measure
Here is a Dirac measure. Draw independent indices from the uniform distribution on a finite set and set . Each observed slot has probability on every draw. If equal values occupy several slots, their total probability is the sum of those slot probabilities; distinct observed values need not be equally likely. A star denotes this conditional resampling experiment. There are equally likely ordered index sequences, although bootstrap count vectors and statistics can combine many such sequences.
Figure 1.
Sampling with replacement reuses observed slots while keeping the original data fixed
. Original schematic for observations . Three possible ordered bootstrap samples have different sample means. Their colors identify source slots; none of these samples is new evidence about the unknown probability distribution. Details.
A complicated sampling distribution need not stop statistical inference when recomputing the statistic is easy. The bootstrap reuses that calculation on simulated datasets. The plug-in estimator principle replaces the unknown probability measure by in the whole repeated-sampling experiment. Whether that substitution approximates the target sampling distribution needs an appropriate bootstrap consistency theorem for the sample mean or a result for the particular statistic. A larger number of resamples reduces Monte Carlo error; it cannot repair the bootstrap failure for a uniform endpoint, an unrepresentative statistical sample or ignored statistical dependence.[ref]
Cluster-resampled wringing allocation uses pilot contacts as the resampling units when assessing how uncertain wringing and readout variability affect a planned gauge block study. Readings from one prepared contact stay grouped. Resampling them as unrelated observations would remove the dependence that motivates nested contact-study allocation.
Write the pilot as vectors from independently prepared contacts. A cluster bootstrap draws of these vectors with replacement, copies every reading in each selected vector, recomputes the variance-component estimates and then reevaluates candidate allocations. For an original five-contact illustration, drawn indices copy contact2 twice and omit contact3. Each draw is a separate bootstrap occurrence; neither duplication nor omission creates a new physical contact. The empirical-with-replacement construction is the general bootstrap procedure, applied here to contact vectors.[ref]
For a balanced random-intercept linear mixed model, each resample can yield planning estimates
With preparation/read costs , a finite candidate has cost and modeled mean variance . Comparing candidates within each resample reveals how often the preferred allocation changes, instead of treating one pilot ratio as known exactly.
For an original180-minute budget with and minute, consider . With and , their mean variances are approximately0.6222,0.5556 and0.5778nm², favoring12 contacts with6 readings. Changing only the planning between-contact variance to1nm² gives0.4222,0.3056 and0.2778nm², favoring10 contacts with9 readings. A resampling distribution of planning inputs can therefore matter to the design decision.
The cost of flattening the data is visible analytically. Under the same model, the true mean variance is , while an independence calculation over all readings gives . Their ratio is
using intraclass correlation . For and , the variance ratio is2.5, a design effect that an independence-based analysis misses.
This nonparametric analysis inherits the limited empirical contact distribution and any boundary estimate . More bootstrap draws do not provide more independent wrings. Drift, shared standards or an unbalanced pilot need an appropriate model or resampling design. NIST documents physical wringing films and their dependence on preparation and elapsed time, which is why contact preparation belongs in the experimental record.[ref]
Yen-Chi Chen Created 2026-10-18 Updated 2026-11-05
His bootstrap notes explain the distinction between the unknown population distribution and the empirical distribution used for resampling. They also discuss when a bootstrap approximation can fail, including an endpoint of a uniform distribution. This is a useful bridge between a computational recipe and the mathematical conditions needed for reliable statistical inference.[ref]