Sampling, made tangible

Bootstrap bench

Draw observations from a six-item source rack. Every draw copies a label, so the same observation can appear again while the original stays in place.

With replacement · equal sample sizes
Live sampling tray
0 of 6 positions filled
Drag to orbit · wheel to zoom
Click a source token to draw it

Replacement, side by side

A complete example of sampling with replacement. The order changes, the sample size does not, and one source label may be copied more than once.

Original dataset

n = 6
The six observations that remain in the source rack.

One completed resample

n = 6
A is copied three times. Its original token is still available in the source.
Both samples contain exactly six observations, even though some labels repeat. 6 observations = 6 observations