Sample size determination for mediation analysis of longitudinal data

Haitao Pan, Suyu Liu, Danmin Miao, Ying Yuan

Research output: Contribution to journalArticlepeer-review

82 Scopus citations

Abstract

Background: Sample size planning for longitudinal data is crucial when designing mediation studies because sufficient statistical power is not only required in grant applications and peer-reviewed publications, but is essential to reliable research results. However, sample size determination is not straightforward for mediation analysis of longitudinal design. Methods: To facilitate planning the sample size for longitudinal mediation studies with a multilevel mediation model, this article provides the sample size required to achieve 80% power by simulations under various sizes of the mediation effect, within-subject correlations and numbers of repeated measures. The sample size calculation is based on three commonly used mediation tests: Sobel's method, distribution of product method and the bootstrap method. Results: Among the three methods of testing the mediation effects, Sobel's method required the largest sample size to achieve 80% power. Bootstrapping and the distribution of the product method performed similarly and were more powerful than Sobel's method, as reflected by the relatively smaller sample sizes. For all three methods, the sample size required to achieve 80% power depended on the value of the ICC (i.e., within-subject correlation). A larger value of ICC typically required a larger sample size to achieve 80% power. Simulation results also illustrated the advantage of the longitudinal study design. The sample size tables for most encountered scenarios in practice have also been published for convenient use. Conclusions: Extensive simulations study showed that the distribution of the product method and bootstrapping method have superior performance to the Sobel's method, but the product method was recommended to use in practice in terms of less computation time load compared to the bootstrapping method. A R package has been developed for the product method of sample size determination in mediation longitudinal study design.

Original languageEnglish (US)
Article number32
JournalBMC Medical Research Methodology
Volume18
Issue number1
DOIs
StatePublished - Mar 27 2018

Keywords

  • Longitudinal study
  • Mediation analysis
  • Sample size determination

ASJC Scopus subject areas

  • Epidemiology
  • Health Informatics

Fingerprint

Dive into the research topics of 'Sample size determination for mediation analysis of longitudinal data'. Together they form a unique fingerprint.

Cite this