Expand description
Deterministic bootstrap confidence intervals. Uses ChaCha8 (seeded)
so the same (samples, seed, iterations) triple always produces the
same (lo, hi). ChaCha8 is the same RNG family rand itself uses for
StdRng on most platforms; the explicit choice here is so we don’t
inherit a future rand default-change as a determinism break.
Functions§
- bootstrap_
ci - Resample
sampleswith replacementiterationstimes. For each resample, compute the mean. Return the percentiles of the resampled means — the canonical non-parametric bootstrap CI of the mean.