scipy.stats.mstats.ks_twosamp¶
- 
scipy.stats.mstats.ks_twosamp(data1, data2, alternative='two-sided')[source]¶
- Computes the Kolmogorov-Smirnov test on two samples. - Missing values are discarded. - Parameters
- data1array_like
- First data set 
- data2array_like
- Second data set 
- alternative{‘two-sided’, ‘less’, ‘greater’}, optional
- Indicates the alternative hypothesis. Default is ‘two-sided’. 
 
- Returns
- dfloat
- Value of the Kolmogorov Smirnov test 
- pfloat
- Corresponding p-value. 
 
 
