rankbiserial
Rankbiserial, or rank-biserial correlation, is a nonparametric measure of effect size used to quantify the association between a binary variable and a continuous or ordinal variable. It is most commonly applied in conjunction with the Wilcoxon rank-sum test (Mann-Whitney U test) to describe the magnitude of group differences.
Calculation typically involves two groups with sizes n1 and n2. Let U be the Mann-Whitney statistic; using
An equivalent formulation uses sums of ranks. If R1 is the sum of ranks for group 1
Interpretation and usage: Rankbiserial provides a standardized measure of effect size for nonparametric comparisons. Values closer
Limitations and notes: The calculation assumes independent observations and two groups. Ties and unequal sample sizes