Sample size calculation in hierarchical factorial trials with unequal cluster sizes
- PMID: 34978097
- PMCID: PMC8962918
- DOI: 10.1002/sim.9284
Sample size calculation in hierarchical factorial trials with unequal cluster sizes
Abstract
Motivated by a suicide prevention trial with hierarchical treatment allocation (cluster-level and individual-level treatments), we address the sample size requirements for testing the treatment effects as well as their interaction. We assume a linear mixed model, within which two types of treatment effect estimands (controlled effect and marginal effect) are defined. For each null hypothesis corresponding to an estimand, we derive sample size formulas based on large-sample z-approximation, and provide finite-sample modifications based on a t-approximation. We relax the equal cluster size assumption and express the sample size formulas as functions of the mean and coefficient of variation of cluster sizes. We show that the sample size requirement for testing the controlled effect of the cluster-level treatment is more sensitive to cluster size variability than that for testing the controlled effect of the individual-level treatment; the same observation holds for testing the marginal effects. In addition, we show that the sample size for testing the interaction effect is proportional to that for testing the controlled or the marginal effect of the individual-level treatment. We conduct extensive simulations to validate the proposed sample size formulas, and find the empirical power agrees well with the predicted power for each test. Furthermore, the t-approximations often provide better control of type I error rate with a small number of clusters. Finally, we illustrate our sample size formulas to design the motivating suicide prevention factorial trial. The proposed methods are implemented in the R package H2x2Factorial.
Keywords: coefficient of variation; controlled effect; interaction test; linear mixed model; marginal effect; power analysis.
© 2022 John Wiley & Sons Ltd.
Conflict of interest statement
CONFLICT OF INTEREST
The authors have no conflict of interest.
Figures

References
-
- Murray DM. Design and Analysis of Group-Randomized Trials. New York, NY: Oxford University Press; . 1998.
-
- Donner A, Klar N. Design and Analysis of Group-Randomized Trials in Health Research. New York, NY: Oxford University Press; . 2000.
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources