pub fn paired_ci<F>(
baseline: &[f64],
candidate: &[f64],
statistic: F,
iterations: usize,
seed: Option<u64>,
) -> CiResultExpand description
Bootstrap the statistic over paired samples.
baselineandcandidatemust have equal length (caller enforces).statisticmaps (baseline_slice, candidate_slice) to a scalar.iterationsdefaults toDEFAULT_ITERATIONSwhen 0 is passed.seed: passSome(seed)for reproducible tests,Nonefor a random OS-seeded RNG.
Returns the 2.5 / 50 / 97.5 percentiles of the bootstrap distribution.