Skip to content
Prev 76074 / 398502 Next

Wilcoxon Signed Rank Test

R> library("exactRankTests")
R> x <- c(1.83,  0.50,  1.62,  2.48, 1.68, 1.88, 1.55, 3.06, 1.30)
R> y <- c(0.878, 0.647, 0.598, 2.05, 1.06, 1.29, 1.06, 3.14, 1.29)
R> wilcox.exact(x, y, paired = TRUE, alternative = "greater")

        Exact Wilcoxon signed rank test

data:  x and y
V = 40, p-value = 0.01953
alternative hypothesis: true mu is greater than 0

is one of the examples shown in ?wilcox.exact

Best,

Torsten