Skip to content

wilcoxon test with bonferroni correction

2 messages · Laura Lucia Prieto Godino, Chuck Cleland

#
Hi!
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






  Lucia Prieto Godino
PhD student.
Department of Zoology,
Downing street
University of Cambridge.
UK
#
On 2/1/2009 8:32 PM, Laura Lucia Prieto Godino wrote:
# Ten p-values
[1] 0.001 0.012 0.023 0.034 0.045 0.056 0.067 0.078 0.089 0.100

# Same ten p-values adjusted by the Bonferroni method
[1] 0.01 0.12 0.23 0.34 0.45 0.56 0.67 0.78 0.89 1.00

?p.adjust