In: Statistics and Probability
How do I prove the following: Show that for comparing two groups, the Kruskal-Wallis test is equivalent to the Mann-Whitney test. Please explain the meaning of each test statistic and identify the distribution each one follows.
Use the Kruskal–Wallis test when you have one nominal variable and one is that the variation within the groups is equal (homoscedasticity). The Mann–Whitney U-test (also known as the Mann–Whitney–Wilcoxon test, the same distribution, the Kruskal–Wallis test will show no difference among them.
Test statistics for Kruskal–Wallis test
where:
we use the Mann Whitney U test. The test statistic is U, the smaller of
where R1 and R2 are the sums of the ranks in groups 1 and 2, respectively.