pub fn bootstrap_estimate(
data: &[f64],
b: usize,
seed: u64,
statistic: impl Fn(&[f64]) -> f64,
) -> Option<BootstrapResult>Expand description
Estimate the standard error (and bias) of statistic applied to data, over
b bootstrap resamples. statistic maps a sample slice to a scalar. None
if data is empty or b < 2.