pub fn bootstrap_resample(
data: &[f64],
n_resamples: usize,
rng: &mut Lcg,
) -> Vec<Vec<f64>>Expand description
Bootstrap resample data with replacement, returning n resampled datasets.
Each dataset is a vector of length data.len() drawn uniformly with
replacement from data.