#######################
# MANN-WHITNEY U TEST
#######################
# samples given
usa <- c(2, 30, 35, 70, 100, 120, 135, 150, 190, 200)
aus <- c(8, 12, 16, 29, 35, 40, 45, 46, 95)
# mann-whitney u test
wilcox.test(usa, aus, exact=FALSE) # two-sided test: order doesn't matter
Wilcoxon rank sum test with continuity correction
data: usa and aus
W = 70.5, p-value = 0.04114
alternative hypothesis: true location shift is not equal to 0