[R] Simple General Statistics and R question (with 3 line example) - get z value from pairwise.wilcox.test

From: JP <jeanpaul.ebejer_at_inhibox.com>
Date: Thu, 28 Apr 2011 14:18:24 +0100

Hi there,

I am trying to do multiple pairwise Wilcoxon signed rank tests in a manner similar to:

a <- c(runif(1000, min=1,max=50), rnorm(1000, 50), rnorm(1000, 49.9, 0.5), rgeom(1000, 0.5))
b <- c(rep("group_a", 1000), rep("group_b", 1000), rep("group_c", 1000), rep("group_d", 1000))
pairwise.wilcox.test(a, b, alternative="two.sided", p.adj="bonferroni", exact=F, paired=T)

This gives me the following output:

        group_a group_b group_c
group_b <2e-16  -       -

group_c <2e-16 0.25 -
group_d <2e-16 <2e-16 <2e-16

(which is kind of expected since group_b and group_c have similar distributions)

I have found that when doing a wilcoxon signed ranked test you should report:

My questions are:

Many Thanks

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 28 Apr 2011 - 13:22:58 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 28 Apr 2011 - 13:30:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive