Consider two independent samples and , with the size of and , and the sample data is denoted as and respectively.
The null hypothesis, , is that the two distributions are the same. And this is to be tested against an alternative hypothesis which is:
The test procedure includes the following steps:
For more details of the algorithm, please refer to nag_mann_whitney (g08amc)