Use the usual two mutually independent samples, and rank their pooled observations increasingly. Continuity gives no ties with probability one. Let be the pooled rank of and define the Wilcoxon rank sum test statistic
The last identity counts the ranks contributed by the other sample after subtracting the within- ranks.
When , the observations are stochastically smaller, so reject for small , equivalently small . For instance,
The inequality follows from and for continuous . A common-uniform quantile coupling also makes this direction transparent: , and is nondecreasing in each .
Under the common-distribution null hypothesis, the pooled observations are exchangeable. Every selection of ranks for the labels has probability . Thus the exact null law is
Choose a lower-tail critical value with probability at most the desired size, optionally randomizing at its boundary to attain the size exactly. This law is independent of the unknown common distribution. Common increasing transformations leave the pooled ranks of observations unchanged, so the statistic is a function of the maximal invariant from part (i). Although a rank sum is not itself maximal, it is an invariant test statistic. These facts justify the test within nonparametric statistics.
Sampling ranks without replacement gives
so with the same variance. For with , the normal approximation for a rank sum states
Equivalently replace by . The large-sample one-sided test rejects when this standardized statistic is below the lower normal distribution quantile. This is the two-sample rank-sum test, rather than the paired Wilcoxon signed-rank test.

Articles by others on the same topic (0)

There are currently no matching articles.