Sample Size for Joint Testing of Indirect Effects
- First Online:
- Cite this article as:
- Vittinghoff, E. & Neilands, T.B. Prev Sci (2015) 16: 1128. doi:10.1007/s11121-014-0528-5
This paper presents methods to calculate sample size for evaluating mediation by joint testing of both links in an indirect pathway from exposure to mediator to outcome. Calculations rely on simulations of the underlying data structure, with testing of the two links performed under the simplifying assumption that the two test statistics are asymptotically independent. Simulations show that the proposed methods are accurate. Continuous and binary exposures and mediators, as well as continuous, binary, count, and survival outcomes are accommodated, along with over-dispersion of count outcomes, design effects, and confounding of the exposure-mediator and mediator-outcome relationships. An illustrative example is provided, and a documented R program implementing the calculations is available online.