WilcoxonRangsummenTest
The Wilcoxon rank-sum test, also known as the Mann–Whitney U test, is a nonparametric statistical test used to assess whether two independent samples originate from the same distribution. It is commonly applied to determine if one sample tends to have larger values than the other. The null hypothesis states that the distributions are identical in location, while the alternative asserts a stochastic difference in one direction (or two-sided, depending on the specification).
The test requires independent samples and at least ordinal data. It does not assume normality of the
Calculation proceeds by ranking all observations from both samples together, with tied values receiving average ranks.
Interpretation centers on whether the observed test statistic is unusually large or small under H0; a small