Interface Resampler

All Superinterfaces:
Seedable
All Known Implementing Classes:
CaseResamplingReplacement, PattonPolitisWhite2009

public interface Resampler extends Seedable
This is the interface of a re-sampler method.
  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    Gets a resample from the original sample.

    Methods inherited from interface dev.nm.stat.random.Seedable

    seed
  • Method Details

    • newResample

      double[] newResample()
      Gets a resample from the original sample. It is very important this method is thread-safe so resampling can be run in parallel.
      Returns:
      a resample, e.g., a bootstrap sample