Observed W
Shuffles
Proportion with W ≤ observed
estimated one-sided p-value
Observations and their ranks
group A group B
Distribution of W under the null hypothesis
shuffles with W ≤ observed other shuffles