Monday, November 28, 2011

Wilcoxon rank sum test

> wilcox.test(rnorm(10), rnorm(10, 2), conf.int = TRUE)

Wilcoxon rank sum test

data: rnorm(10) and rnorm(10, 2)
W = 7, p-value = 0.0004871
alternative hypothesis: true location shift is not equal to 0
95 percent confidence interval:
-2.9488832 -0.8543696
sample estimates:
difference in location
-2.002531

No comments: