Understand the idea
The Mann-Whitney test does not compare means: it compares RANKS, effectively asking 'if you picked one observation from each group at random, how often would group A's value be bigger than group B's?'. The rank-biserial correlation turns that idea into a single number.
A rank-biserial correlation of 0 means the two groups' values are thoroughly mixed together: pick one from each group at random, and either could be bigger about equally often. A value near 1 (or -1) means one group's values are almost always higher (or lower) than the other's, strong separation between the groups.
It plays the same role that Cohen's d plays for the t-test, but on the rank scale rather than the mean scale, which makes it the appropriate companion effect size whenever the data are analyzed with Mann-Whitney or Wilcoxon rather than a t-test: reporting Cohen's d instead would misrepresent what was actually tested.
The rank-biserial correlation is the usual Mann-Whitney effect size. The probability of superiority, also called the common language effect size, is the chance that a randomly chosen value from one group is larger than one from the other (ties count as half); the rank-biserial equals twice that probability minus 1.
Practitioner explanation
For Mann-Whitney, KernelStats computes r = 2*U1/(n1*n2) - 1 = (U1 - U2)/(n1*n2), where U1 belongs to the alphabetically FIRST group, so a positive r means the first group tends to rank higher (the textbook form 1 - 2U/(n1*n2) with U the smaller statistic gives the same magnitude but a sign that depends on which U is used; equivalently, derived from the common-language effect size, the probability that a randomly drawn observation from one group exceeds one from the other); for the Wilcoxon signed-rank test on paired data, the analogous statistic is computed from the signed-rank sums rather than U.
Rank-biserial r is directly interpretable as 2p - 1 where p is the probability that a value from group 1 exceeds a value from group 2 (ties handled by a documented convention); this 'probability of superiority' framing is often more communicable to a non-technical audience than the correlation-scale number itself; the card reports r, and p = (r + 1)/2 follows directly from it. For the Wilcoxon signed-rank test the card uses r = (W+ - W-)/(W+ + W-).
KernelStats reports rank_biserial_r on both the Mann-Whitney and Wilcoxon signed-rank cards, deliberately alongside (not instead of) the median difference in the outcome's original units, since the rank-based effect size communicates consistency of ordering but not the SIZE of a typical difference on the measurement's own scale.
When to use it
Consider it when
Alongside every Mann-Whitney or Wilcoxon signed-rank test, as the size measure consistent with what that test actually compares (rank ordering, not means).
Use caution when
As a substitute for Cohen's d when a t-test (not a rank-based test) was the actual analysis run: the two effect sizes answer different questions and are not interchangeable.
Formulas and symbols
Rank-biserial correlation (Mann-Whitney)
U_1 the Mann-Whitney U statistic of the alphabetically first group; n1, n2 the two group sizes. Positive r: the first group tends to rank higher.
Common misconceptions
Misconception
The Mann-Whitney test compares medians between groups.
Correction
Mann-Whitney tests whether one group's values tend to rank higher than the other's (stochastic dominance), which coincides with a median comparison only under the additional assumption that the two distributions have the same shape and differ only in location.
Read more: Misconception: the Mann-Whitney/Wilcoxon test always compares medians
References
- NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.5.16 Wilcoxon rank-sum (Mann-Whitney) test, NIST/SEMATECH (2012), §1.3.5.16.
