bundles / scipy 1.18.0 / scipy / stats / _mstats_basic / kstest
function
scipy.stats._mstats_basic:kstest
Signature
def kstest(data1, data2, args = (), alternative = two-sided, method = auto)Summary
Performs the Kolmogorov-Smirnov test for goodness of fit.
Parameters
data1: array_likedata2: str, callable or array_likeargs: tuple, sequence, optionalDistribution parameters, used if
data1ordata2are strings.alternative: str, as documented in stats.kstestmethod: str, as documented in stats.kstest
Returns
: tuple of (K-S statistic, probability)
Aliases
scipy.stats._mstats_basic.kstest