This is documentation for an old release of SciPy (version 1.6.3). Read this page in the documentation of the latest stable release (version 1.15.1).
scipy.stats.mstats.mannwhitneyu¶
-
scipy.stats.mstats.
mannwhitneyu
(x, y, use_continuity=True)[source]¶ Computes the Mann-Whitney statistic
Missing values in x and/or y are discarded.
- Parameters
- xsequence
Input
- ysequence
Input
- use_continuity{True, False}, optional
Whether a continuity correction (1/2.) should be taken into account.
- Returns
- statisticfloat
The Mann-Whitney statistics
- pvaluefloat
Approximate p-value assuming a normal distribution.