bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _resampling / ResamplingMethod
class
scipy.stats._resampling:ResamplingMethod
source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_resampling.py:2157
Signature
class ResamplingMethod(n_resamples: int = 9999, batch: int | None = None) → NoneMembers
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: intThe number of resamples to perform or Monte Carlo samples to draw.
batch: int, optionalThe 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