Loading…

Wilcoxon Rank Sum ( Two Independent Samples ), Mann Whitney U

Statistics • Nonparametric Methods

View all topics

Wilcoxon Rank Sum / Mann–Whitney U (Two Independent Samples)

Compare two independent samples using ranks and report \(U\), p-value, and effect size (AUC / Cliff’s \(\delta\)).

Ready

Options

Ranks are assigned to the combined data (midranks for ties). Then \[ U_1 = R_1 - \frac{n_1(n_1+1)}{2}, \quad U_2 = n_1 n_2 - U_1. \]

Data

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is the Mann-Whitney U test (Wilcoxon rank-sum test) used for?

It compares two independent samples without assuming normality by converting values to ranks and testing whether one group tends to have larger values than the other. It is often used as a nonparametric alternative to the two-sample t-test.

How are the U statistics computed from ranks?

All observations are combined and ranked (midranks are used for ties), then R1 is the sum of ranks for group A. The calculator computes U1 = R1 - n1(n1+1)/2 and U2 = n1 n2 - U1.

When should I use exact, permutation, or normal-approximation p-values?

Exact p-values are best for small samples when there are no ties. Permutation (Monte Carlo) works well with ties by simulating random relabeling, and the normal approximation is typically used for larger samples with optional tie and continuity corrections.

What does AUC (common language effect size) mean in this calculator?

AUC is computed as A = U1/(n1 n2) and can be interpreted as the probability that a randomly chosen value from sample A is greater than a randomly chosen value from sample B, with ties contributing half. Values near 0.50 suggest no tendency for A to be larger than B.

How do ties affect the Mann-Whitney U test?

Ties are handled by assigning midranks in the combined ranking. For the normal approximation and permutation methods, tie correction adjusts the variance or resampling behavior to reflect tied values.