SciPy

scipy.special.smirnovi

scipy.special.smirnovi(n, p) = <ufunc 'smirnovi'>

Inverse to smirnov

Returns d such that smirnov(n, d) == p, the critical value corresponding to p.

Parameters:
n : int

Number of samples

p : float array_like

Probability

Returns:
float

The value(s) of smirnovi(n, p), the critical values.

See also

smirnov
The Survival Function (SF) for the distribution
scipy.stats.ksone
Provides the functionality as a continuous distribution

kolmogorov, kolmogi, scipy.stats.kstwobign

Notes

smirnov is used by stats.kstest in the application of the Kolmogorov-Smirnov Goodness of Fit test. For historial reasons this function is exposed in scpy.special, but the recommended way to achieve the most accurate CDF/SF/PDF/PPF/ISF computations is to use the stats.ksone distrubution.

Previous topic

scipy.special.smirnov

Next topic

scipy.special.kolmogorov