[R] wilcoxon test with bonferroni correction

Laura Lucia Prieto Godino llp23 at cam.ac.uk
Mon Feb 2 02:32:35 CET 2009

I need to run a wilcoxon (Mann-whitly, in fact) test with bonferroni  
correction, as I am running 10 consecutive wilcoxon test not  
independent, and I know that bonferroni will partially correct for  
this problem, but I have no idea how to do it with R, I have been  
looking in the archive but couldn't understand how to do it.

The format I am using at the moment is

r4_o <-

  [1] 1.05 2.60 1.57 3.07 1.20 1.00 2.11 1.10 0.10

r4_m <-

[1] 0 0 0 0 0 0 0 0 0

wilcoxon.test (r4_o, r3_m)

Does any body know how to make the bonferroni correction when I  
compare them with the wilcoxon test?

Thank you very much.


  Lucia Prieto Godino
PhD student.
Department of Zoology,
Downing street
University of Cambridge.

More information about the R-help mailing list