Skip to main content
eScholarship
Open Access Publications from the University of California

UCSF

UC San Francisco Previously Published Works bannerUCSF

Sample Size for Joint Testing of Indirect Effects

Abstract

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.

Many UC-authored scholarly publications are freely available on this site because of the UC's open access policies. Let us know how this access is important for you.

Main Content
For improved accessibility of PDF content, download the file to your device.
Current View