To use the Bonferroni correction in R, you can use the pairwise.t.test() function, 211 making sure that you set p.adjust.method = "bonferroni". Alternatively, since the whole reason why we’re doing th...To use the Bonferroni correction in R, you can use the pairwise.t.test() function, 211 making sure that you set p.adjust.method = "bonferroni". Alternatively, since the whole reason why we’re doing these pairwise tests in the first place is because we have an ANOVA that we’re trying to understand, it’s probably more convenient to use the posthocPairwiseT() function in the lsr package, since we can use my.anova as the input:
To use the Bonferroni correction in R, you can use the pairwise.t.test() function, 211 making sure that you set p.adjust.method = "bonferroni". Alternatively, since the whole reason why we’re doing th...To use the Bonferroni correction in R, you can use the pairwise.t.test() function, 211 making sure that you set p.adjust.method = "bonferroni". Alternatively, since the whole reason why we’re doing these pairwise tests in the first place is because we have an ANOVA that we’re trying to understand, it’s probably more convenient to use the posthocPairwiseT() function in the lsr package, since we can use my.anova as the input: