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
- nint
Number of samples
- pfloat 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
Functions for the two-sided distribution
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 distribution.