pub fn bootstrap<S: Fn(&[f64]) -> f64>(
data: &[f64],
statistic: S,
resamples: usize,
seed: u64,
) -> Result<BootstrapResult, ErrorsJSL>Expand description
Resamples data with replacement resamples times and evaluates statistic on each.