[R] BIZARRE results from wilcox.test()

genecleaner genecleaner at gmail.com
Tue Jun 14 22:57:52 CEST 2011


I get these BIZARRE results from wilcox.test() 
When INCREASING the number of samples i get INCREASED p-values. When
increasing the number of samples further, the p-values goes down again. This
seems really bizarre!

Can anyone explain why this is so?! 


Example:

> w <- wilcox.test(c(1:40),(c(1:40)+100))
> w$p.value
[1] 1.860340e-23
> w <- wilcox.test(c(1:50),(c(1:50)+100))
> w$p.value
[1] 7.066072e-18
> w <- wilcox.test(c(1:60),(c(1:60)+100))
> w$p.value
[1] 3.556571e-21
> w <- wilcox.test(c(1:70),(c(1:70)+100))
> w$p.value
[1] 1.817156e-24

Best regards,
genecleaner (R version 2.11.1 (2010-05-31), Win7) 


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



More information about the R-help mailing list