scipy.stats.mstats.kruskalwallis

scipy.stats.mstats.kruskalwallis(*args)

The Kruskal-Wallis H-test is a non-parametric ANOVA for 2 or more groups, requiring at least 5 subjects in each group. This function calculates the Kruskal-Wallis H and associated p-value for 2 or more independent samples.

Returns: H-statistic (corrected for ties), associated p-value