Computes the Kolmogorov-Smirnov test on two samples. Missing values are discarded.
data1 : sequence
First data set data2 : sequence Second data set alternative : {‘two_sided’, ‘less’, ‘greater’} optional Indicates the alternative hypothesis.
First data set
Second data set
Indicates the alternative hypothesis.
d : float
Value of the Kolmogorov Smirnov test p : float Corresponding p-value.
Value of the Kolmogorov Smirnov test
Corresponding p-value.
scipy.stats.mstats.ks_twosamp
scipy.stats.mstats.kurtosis