Skip to content
Glacius
StatisticsConcept reference

Bootstrap intervals

A percentile bootstrap interval takes the two tail quantiles corresponding to a central confidence level from bootstrap statistic replicates; its coverage is an approximation.

On this page 8 sections
  1. Overview
  2. Understand the idea
  3. The interval need not center on the original estimate
  4. More resamples make the empirical percentiles more stable
  5. A closer look
  6. Key takeaway
  7. Sources & further reading
  8. Concept connections

01Understand the idea#

A percentile bootstrap interval uses the middle part of a collection of bootstrap statistic values. It summarizes uncertainty in the statistic rather than selecting the middle observations from the original dataset. First resample, then compute one statistic per resample, then find the stated percentiles.

A percentile bootstrap interval uses two quantiles of bootstrap statistic outputs to approximate a confidence interval. For a central 90% interval, leave 5% in each tail and read the 5th and 95th percentiles.

For central fraction cc, tail fractions are (1c)/2(1-c)/2 and (1+c)/2(1+c)/2. Sort the BB supplied replicates, retaining repeats. Multiply a tail fraction pp by BB, and round upward to a rank.

If bootstrap means are 2,3,4,5,82,3,4,5,8, sort these five values before using a percentile rule. Under a rule that selects the second and fourth ordered values, the interval is [3,5][3,5]. A different interpolation rule could give different endpoints, so follow the exact quantile convention supplied.

For these eight outputs, central 50% uses p=0.25,0.75p=0.25,0.75. Ranks are 2,62,6, so the interval is [2,7][2,7].

Sorted bootstrap outputs are 1,2,3,4,5,7,9,12. Each displayed rank is equally spaced; this is an ordered list, not a metric number axis. Central 50 percent leaves 25 percent in each tail. With B=8 and rank rounded upward, ranks 2 and 6 select 2 and 7. The interval [2,7] is not centered on the original estimate 4.Sorted bootstrap outputs are 1,2,3,4,5,7,9,12. Each displayed rank is equally spaced; this is an ordered list, not a metric number axis. Central 50 percent leaves 25 percent in each tail. With B=8 and rank rounded upward, ranks 2 and 6 select 2 and 7. The interval [2,7] is not centered on the original estimate 4.
Figure 1Sorted bootstrap outputs are 1,2,3,4,5,7,9,12. Each displayed rank is equally spaced; this is an ordered list, not a metric number axis. Central 50 percent leaves 25 percent in each tail. With B=8 and rank rounded upward, ranks 2 and 6 select 2 and 7. The interval [2,7] is not centered on the original estimate 4.
Link to this figure ↗Download SVGDownload PNG
Check your reasoning

Replicates: 0, 2, 4, 6, 8, 12. Central 50%. Rule: sort; percentile p uses rank pB rounded up. Interval?

  1. A[2, 8]
  2. B[0, 12]
  3. C[2, 6]
Show answer and explanation
[2, 8]

Ranks 2, 5 give [2, 8].

02The interval need not center on the original estimate#

The interval need not center on the original estimate. In the example, estimate 44 does not force equal distances to 22 and 77. These tiny lists illustrate endpoint mechanics; they do not establish reliable coverage.

Check your reasoning

IID bootstrap percentiles: 10%=4; 50%=7; 90%=12. Central 80% interval / coverage?

  1. A[4, 7]; approximate.
  2. B[4, 12]; approximate.
  3. C[4, 12]; always exact.
Show answer and explanation
[4, 12]; approximate.

Use 10% and 90%.

03More resamples make the empirical percentiles more stable#

More resamples make the empirical percentiles more stable. They do not add new observations. A small original sample or an extreme statistic, such as a maximum, can give poor coverage even with many resamples.

Check your reasoning

Maximum of 4 IID observations. “10000 resamples fix tail coverage.” Repair.

  1. ACoverage guaranteed.
  2. BNew data are added.
  3. CTail limits remain.
Show answer and explanation
Tail limits remain.

No unseen tail data.

04A closer look#

A percentile interval is an approximation and can perform poorly for small samples, strong bias, or unsuitable statistics. Many computational replicates reduce simulation noise in the endpoints; they do not repair an unrepresentative original sample.

Key takeaway

Use the stated percentile convention on the bootstrap outputs, read both tail endpoints, and retain the limitations of the original sample and statistic.

  • Read both percentile endpoints and their limits.

Sources & further reading

  1. [1]
  2. [2]

Reference this concept

Link to this page, a section, or an individual figure.

Glacius. “Bootstrap intervals.” Math behind ML. /learn/s-bootstrap-interval