Interface ObjectResampler<X>

All Superinterfaces:
Seedable
All Known Implementing Classes:
CaseResamplingReplacementForObject, PattonPolitisWhite2009ForObject

public interface ObjectResampler<X> extends Seedable
This is the interface of a re-sampler method for objects.
  • Method Summary

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

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

    seed
  • Method Details

    • newResample

      X[] 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