You are viewing an older version (1.17.1).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _resampling / ResamplingMethod

class

scipy.stats._resampling:ResamplingMethod

source: /scipy/stats/_resampling.py:2147

Signature

class ResamplingMethod(n_resamples: int = 9999, batch: int = None) → None

Members

Summary

Configuration information for a statistical resampling method.

Extended Summary

Instances of this class can be passed into the method parameter of some hypothesis test functions to perform a resampling or Monte Carlo version of the hypothesis test.

Attributes

n_resamples : int

The number of resamples to perform or Monte Carlo samples to draw.

batch : int, optional

The number of resamples to process in each vectorized call to the statistic. Batch sizes >>1 tend to be faster when the statistic is vectorized, but memory usage scales linearly with the batch size. Default is None, which processes all resamples in a single batch.

Aliases

  • scipy.stats._resampling.ResamplingMethod