Ordinary bootstrap resamples with replacement from the empirical distribution to approximate a sampling distribution. That empirical distribution puts equal mass on the observations and is discrete: resamples contain many ties, and for medians, quantiles, or densities—quantities sensitive to whether new numeric values appear—the bootstrap distribution often sits on only a few lattice points.[3] The smoothed bootstrap adds a bandwidth-h random perturbation to each resampled observation, which is equivalent to drawing from a kernel density estimate with bandwidth h.[1][2][3] The sections below first use a toy calculation to show where discreteness comes from, then compare ordinary and smoothed bootstrap distributions of the sample median on MASS::newcomb, and finally discuss reading and costs. Basic with-replacement sampling and standard-error stories live in other column pieces; here the focus is why noise is added. When a median’s bootstrap distribution has only a dozen values, percentile intervals look stepped; that is not a compute failure but a direct consequence of a discrete empirical distribution—and the motive for smoothing.[3]
Why the empirical distribution makes resamples “blocky”
Toy case: with 100 distinct observations, one with-replacement draw of size 100 leaves any given observation out with probability (1−1/100)^100≈0.366; the expected number of distinct values is about 100·(1−(1−1/100)^100)≈63.4.[1] Those figures describe one resample’s combinatorial structure—they do not mean 37% of the original data is permanently discarded; the next resample usually drops a different set.[1] For order-based statistics such as the median, heavy ties squeeze the possible values onto a sparse grid, so the histogram looks stepped. That discreteness is what smoothing targets; it is not a sign that bootstrap itself is “broken.” Misreading “about 63 distinct values expected” as “bootstrap throws away a third of the data” overstates the issue: omissions are normal under resampling; the real worry is that the statistic is pinned to a sparse lattice, distorting percentile intervals and density estimates.[1]
Adding noise equals sampling from a kernel density
For a univariate smoothed bootstrap, draw an observation y_i with replacement, sample noise ε from the chosen kernel, and set x=y_i+hε.[2] Default bandwidths often follow rules such as bw.nrd0; a shrink correction can preserve sample mean and variance so that plain noise does not systematically inflate variance.[2] Adding zero-mean kernel noise to each resampled observation is equivalent to sampling from a kernel density estimate.[3] Bandwidth h jointly controls smoothness and bias: too small nearly recovers the ordinary bootstrap; too large flattens the distribution. Smoothing can reduce discreteness. The resulting distribution and intervals can still be sensitive to the bandwidth.[1] In practice, first plot the support of ordinary bootstrap replicates: if it is already nearly continuous, the marginal gain from smoothing is usually small; only a few spikes make a serious discussion of h worthwhile.
A median contrast on Newcomb’s light data
The example uses MASS::newcomb: Newcomb’s 1882 “Third Series” passage-time measurements, 66 numbers; dividing by 1000 and adding 24.8 converts to travel time in microseconds over a known distance, with a modern “true” value near 33.02.[4] On R 4.3.3 this run draws B=20000 resamples of the sample median (seed 20261122). Ordinary bootstrap medians take only 12 distinct values, with percentile interval about [26, 28.5]; the smoothed version uses a Gaussian kernel with h=bw.nrd0≈1.961, adds hε to resampled points, and yields 20000 distinct replicates with percentile interval about [25.78, 28.84]. The figure shows the unsmoothed-variance (uncorrected) smooth procedure; a separately saved variance-corrected variant uses the empirical variance with n in the denominator and has a similar center and interval. The original sample median is 27; ordinary bootstrap SE is about 0.68, smoothed about 0.77, variance-corrected about 0.76—smoothing slightly raises dispersion in exchange for continuous support, not automatically narrower intervals. These numbers describe this numerical experiment only, not a substantive claim about the speed of light.

Figure: ordinary vs smoothed bootstrap distributions of the MASS::newcomb sample median (B=20000, h=bw.nrd0).
Reading, side evidence, and limits
The left panel is stepped; the right is nearly continuous: smoothing buys a richer support of replicate values, not automatically shorter intervals or universally smaller error. In a separate simulation (100 normal samples, 100 repeats of Shapiro–Wilk), Raviv reports rejection rates of about 6–7% on original samples, about 45% on ordinary bootstrap samples, and about 15% after smoothing—discreteness can badly distort “looks normal,” and smoothing helps but does not finish the job; those rates belong to the original author, not to this newcomb run.[1] Whether smoothing is worth it depends on whether the target is truly lattice-hurt and whether h can be chosen responsibly. For many means and regression coefficients, ordinary bootstrap remains enough; smoothing is not an across-the-board upgrade.[1][3] Classics such as Silverman and Young (1987) are cited as pointers only.[1] If the target is a mean or a smooth differentiable statistic, lattice effects are often mild and ordinary bootstrap remains the default; if the target is a median, quantile, or bootstrap density shape, first count distinct replicate values, then decide whether to smooth and how to choose h.[1][3]
Atomicity of the empirical distribution can turn some bootstrap distributions into sparse spikes; adding kernel noise to resampled values is one repair that moves sampling onto a smooth density. The newcomb median example only shows that the lattice can disappear and intervals then change shape. Bandwidth sensitivity and whether to smooth at all still turn on the target—do not read this as smoothed bootstrap universally beating the ordinary bootstrap. Calling smoothing “always more modern, always more accurate” hides the bandwidth cost; calling it “an optional repair when discreteness already hurts the target” matches the formulas and the example.
References
-
Eran Raviv. Motivation for the Smoothed Bootstrap. https://eranraviv.com/smoothed-bootstrap/
-
CRAN. kernelboot reference manual. https://cran.r-project.org/web/packages/kernelboot/refman/kernelboot.html
-
Wikipedia. Bootstrapping (statistics), Smooth bootstrap. https://en.wikipedia.org/wiki/Bootstrapping_(statistics)
-
MASS::newcomb. https://stat.ethz.ch/R-manual/R-devel/library/MASS/html/newcomb.html
-
Silverman, B. W. & Young, G. A. (1987). The bootstrap: to smooth or not to smooth? Biometrika, 74(3), 469–479. https://doi.org/10.1093/biomet/74.3.469