scipy.stats.mstats.mannwhitneyu

scipy.stats.mstats.mannwhitneyu(x, y, use_continuity=True)

Computes the Mann-Whitney on samples x and y. Missing values in x and/or y are discarded.

Parameters:

x : sequence

y : sequence use_continuity : {True, False} optional

Whether a continuity correction (1/2.) should be taken into account.

Returns:

u : float

The Mann-Whitney statistics

prob : float

Approximate p-value assuming a normal distribution.