[R] exact wilcox test and Bonferroni correction

Meyners, Michael, LAUSANNE, AppliedMathematics Michael.Meyners at rdls.nestle.com
Fri Jan 22 11:55:48 CET 2010


?p.adjust
Apply that to a vector containing all p values you get from
wilcox.exact. Alternatively, multiply each p value by the number of
comparisons you perform, see any textbook for that. You might want to
consider a less conservative correction, though.
HTH, Michael

> -----Original Message-----
> From: r-help-bounces at r-project.org 
> [mailto:r-help-bounces at r-project.org] On Behalf Of netrunner
> Sent: Freitag, 22. Januar 2010 10:41
> To: r-help at r-project.org
> Subject: [R] exact wilcox test and Bonferroni correction
> 
> 
> Hi!
> I need to perform a Mann-Whitney test using Bonferroni 
> correction. I found the function pairwise.wilcox.test. 
> However, my data have ties. I know that when there are ties 
> is better to perform Mann Whitney test using the function 
> wilcox.exact. How can include in that the Bonferroni correction?
> 
> thank you for your help!
> 
> netrunner
> --
> View this message in context: 
> http://n4.nabble.com/exact-wilcox-test-and-Bonferroni-correcti
on-tp1099893p1099893.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> 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.
> 



More information about the R-help mailing list