pub fn bootstrap<A, B, T, S>(
    a: &Sample<A>,
    b: &Sample<B>,
    nresamples: usize,
    statistic: S
) -> T::Distributionswhere
    A: Float,
    B: Float,
    S: Fn(&Sample<A>, &Sample<B>) -> T + Sync,
    T: Tuple,
    T::Distributions: Send,
    T::Builder: Send,
Expand description

Performs a two-sample bootstrap

  • Multithreaded
  • Time: O(nresamples)
  • Memory: O(nresamples)