I want to simulate the effect of different kinds of multiple testing correction such as Bonferroni
, Fisher's LSD
, DUncan
, Dunn-Sidak Newman-Keuls
, Tukey
, etc... on Anova
.
I guess I should simply run a regular Anova
. And then accept as significant p.value
s which I calculate by using p.adjust
. But I'm not getting how this p.adjust
function works. Could give me some insights about p.adjust()
?
when running:
> p.adjust(c(0.05,0.05,0.1),"bonferroni")
# [1] 0.15 0.15 0.30
Could someone explain as to what does this mean?
Thank you for your answer. I kinda know a bit of all that. But I still don't understand the output of p.adjust. I'd expect that...
P.adjust(0.08,'bonferroni',n=10)
... would returns 0.008 and not 0.8. n=10 doesn't it mean that I'm doing 10 comparisons. and isn't 0.08 the "original alpha" (I mean the threshold I'd use to reject the NULL hypothesis if I had one simple comparison)