[R] BIZARRE results from wilcox.test()

genecleaner genecleaner at gmail.com
Wed Jun 15 00:26:41 CEST 2011


Dear Daniel and Sarah, 

Thanks you for your rude replies .
The script that I provided was only an example and to illustrate the
problem. It makes perfectly sense to use the Wilcoxon test on my datasets.
However, you replies were nonsensical, since you could not solve the problem
but rather just bullied me.

Anyway, this is the solution to the problem: the exact=TRUE statement should
be added

> w <- wilcox.test(c(1:50),(c(1:50)+100))
> w$p.value
[1] 7.066072e-18
> w <- wilcox.test(c(1:50),(c(1:50)+100), exact=TRUE)
> w$p.value
[1] 1.982331e-29

Best regards,
genecleaner

--
View this message in context: http://r.789695.n4.nabble.com/BIZARRE-results-from-wilcox-test-tp3597818p3598039.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list