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 / _stats_py / _attempt_exact_2kssamp

function

scipy.stats._stats_py:_attempt_exact_2kssamp

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

Signature

def _attempt_exact_2kssamp(n1, n2, g, d, alternative)

Summary

Attempts to compute the exact 2sample probability.

Extended Summary

n1, n2 are the sample sizes g is the gcd(n1, n2) d is the computed max difference in ECDFs

Returns (success, d, probability)

Aliases

  • scipy.stats._stats_py._attempt_exact_2kssamp