This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _resampling / MonteCarloTestResult

class

scipy.stats._resampling:MonteCarloTestResult

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_resampling.py:775

Signature

class MonteCarloTestResult(statistic: float | np.ndarray, pvalue: float | np.ndarray, null_distribution: np.ndarray) → None

Members

Summary

Result object returned by scipy.stats.monte_carlo_test.

Attributes

statistic : float or ndarray

The observed test statistic of the sample.

pvalue : float or ndarray

The p-value for the given alternative.

null_distribution : ndarray

The values of the test statistic generated under the null hypothesis.

Aliases

  • scipy.stats._resampling.MonteCarloTestResult