On Thu, 28 Jun 2007 14:18:52 -0700 Nordlund, Dan (DSHS/RDA) wrote:
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Marcus
> > Vinicius Sent: Thursday, June 28, 2007 1:32 PM
> > To: r-help@stat.math.ethz.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Marcus Vinicius
> Sent: Thursday, June 28, 2007 1:32 PM
> To: r-help@stat.math.ethz.ch
> Subject: [R] Wilcoxon Rank Sum Test.
>
> Dear,
>
> I'm using R software
Dear,
I'm using R software to evaluate Wilcoxon Rank Sum Test and I' getting one
Warning message as this:
> C1dea_com
[1] 1.000 0.345 0.200 0.208 0.508 0.480 0.545 0.563 0.451 0.683 0.380 0.913
1.000 0.506
> C1dea_sem
[1] 1.000 0.665 0.284 0.394 0.509 0.721 0.545 0.898 0.744 0.683 0.382 0.913
1
Consider the following:
l0 <- list(1:3, 4:5)
l1 <- list(6:8, 9:11, 12:16)
WT <- mapply(function(x,y)wilcox.test(x,y)$p.value, l0, l1)
The simplest Bonferroni for this case would be as follows:
length(WT)*WT
Greater numerical precision could be obtained as follows:
1-(1-WT)
How about something like:
wilcox.bonf <- function(a,b) {
n <- length(a)
mapply( function(x,y) wilcox.test(x,y)$p.value*n,a,b)
}
On 11/09/06, Raj, Towfique <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> I am trying to run Wilcoxon Rank-Sum Test with Bonferroni's
> correction. I have two
Dear all,
I am trying to run Wilcoxon Rank-Sum Test with Bonferroni's
correction. I have two lists: l0, l1:
mapply(function(x,y)wilcox.test(x,y)$p.value, l0, l1)
How do I run Bonferroni's correction on mapply? Any help is much apperciated.
Thanks,
-Raj
_
Hi,
This might be a general question: I am comparing two
groups using Wilcoxon rank sum test. However, the size
of the two groups differ a lot, e.g., one group has 20
and the other has 1. Is the test still appropriate
given this huge disparity in size? If yes, what is the
alternative?
Thanks