Excellent question. You've connected the dots perfectly. The short answer is yes, you are correct.
The most general and accurate way to characterize the optimality of the Wilcoxon-Mann-Whitney (WMW) test is to say that it is the most powerful (or more precisely, the locally most powerful rank) test for detecting alternatives under the proportional odds (PO) model.
Let's break down why this is the case, building on the points you've already made.
Let
The proportional odds assumption states that the odds of the outcome being less than or equal to
Applying the logit transformation, where
This means that if you plot the logit-transformed CDFs for the two groups, they will be parallel, separated by a vertical distance of
Your second bullet point is the formal proof of this concept.
Because the WMW test is algebraically equivalent to the score test for the PO model, it inherits the score test's optimality properties. Therefore, the WMW test is the LMP rank test against proportional odds alternatives.
Your first bullet point is a specific instance of the more general PO case.
If
Now, consider two groups with a location shift:
The logit-transformed CDFs are:
The difference is
However, the PO model is more general. It does not require the underlying distributions to be logistic. For example, two normal distributions with different means but equal variances will approximately satisfy the PO assumption, especially near the center of the distributions. The WMW test is often nearly as powerful as the t-test in this a case and much more powerful for heavy-tailed distributions. The PO model correctly identifies the structural relationship for which the WMW test is optimal, regardless of the baseline distribution's shape.
Your analogy to the log-rank test is spot on and highlights a beautiful symmetry in semiparametric statistics.
| Feature | Wilcoxon-Mann-Whitney Test | Log-Rank Test |
|---|---|---|
| Data Type | Continuous or Ordinal Outcome | Time-to-Event (Survival) Data |
| Underlying Model | Proportional Odds (PO) Model | Cox Proportional Hazards (PH) Model |
| Model Assumption | Constant Odds Ratio: | Constant Hazard Ratio: |
| Optimality | Maximally powerful for PO alternatives | Maximally powerful for PH alternatives |
| Formal Link | Is the score test for the PO model | Is the score test for the Cox PH model |
To conclude, your intuition is correct.
This is a more profound understanding than the common textbook explanation that "it tests for differences in medians" (which is only true under additional assumptions) or that "it's optimal for the logistic distribution" (which is just one special case).
Was this answer helpful?
version: June 2025 release
Status: UQ Validated
Validated: 8 months ago
Status: Human Verified
Verified: 7 months ago
Loading model reviews...
Loading reviews...