Under the continuous common-distribution null of the Wilcoxon rank sum test, pooled labels are exchangeable. The product records every choice of ranks: choosing assigns rank to the first sample. Its indicated coefficient counts subsets of size and rank sum . Divide by and sum the lower tail for the one-sided P-value. Equivalently the counts satisfy with , allowing an exact integer computation.
For two independent continuous samples of positive sizes under a common-distribution null, each -subset of ranks is equally likely. The smallest rank sum is , attained only by . The only subset with rank sum one larger is . Hence the exact lower tail at that threshold is . This follows directly by observing that any other change increases the sum by at least two.
Articles by others on the same topic
There are currently no matching articles.