Thank you for your consistent professionalism and insight, which have provided me with a lot of inspiration. Your provided code will also be of great assistance to us.

I have a question: we have completed multiple sets of comparative analyses (we conducted the multiple comparisons under Bonferroni-adjusted p-values). As we have divided the data into 6 groups , the reviewers are requesting us to calculate the power to ensure an adequate sample size.

In this situation, is it necessary to calculate the power under the Bonferroni-adjusted p-values for the post hoc multiple comparisons? If so, how can this be implemented?

We often use the PASS software to calculate sample sizes and effect sizes. However, this time, we only found a mention of the Bonferroni method in the "Multiple contrasts (simulation)" module of the software（see supplement PDF）.

It mentions the Dunn-Bonferroni test method, but we haven't seen any reference to Bonferroni-adjusted p-values, and it doesn't seem to fit our needs. We're wondering if this is indeed the case.

Alternatively, are there other ways to achieve this, perhaps using R packages or other software?

Thanks !

Multiple_Contrasts-Simulation.pdf (314.9 KB)