rangsumtest
Rangsumtest, commonly referred to as the rank-sum test, is a nonparametric statistical method used to compare two independent samples to assess whether their population distributions differ in central tendency. It is particularly suited when the data are ordinal or when the assumptions of normality required for a t-test are not met.
In practice, data from both samples are pooled and ranked together from smallest to largest. Let n1
For small samples, the exact distribution of U is used to obtain a p-value. For larger samples,
Assumptions include independence within and between samples and measurement on at least an ordinal scale. The
---