SciPy

scipy.stats.mstats.kstest

scipy.stats.mstats.kstest(data1, data2, args=(), alternative='two-sided', mode='auto')[source]
Parameters
data1array_like
data2str, callable or array_like
argstuple, sequence, optional

Distribution parameters, used if data1 or data2 are strings.

alternativestr, as documented in stats.kstest
modestr, as documented in stats.kstest
Returns
tuple of (K-S statistic, probability)

Previous topic

scipy.stats.mstats.chisquare

Next topic

scipy.stats.mstats.ks_2samp