A simple and effective method for simulating nested exchangeable correlated binary data for longitudinal cluster randomised trials

被引:0
|
作者
Bowden, Rhys A. [1 ]
Kasza, Jessica [1 ]
Forbes, Andrew B. [1 ]
机构
[1] Monash Univ, Sch Publ Hlth & Prevent Med, Melbourne, Vic, Australia
基金
英国医学研究理事会;
关键词
Simulation; Correlated binary random variables; Nested exchangeable correlation structure; Longitudinal cluster randomised trials; Block exchangeable correlation structure; Hierarchical models; Multi-level models; SPECIFIED MARGINAL MEANS; VARIABLES; DISTRIBUTIONS; DESIGN;
D O I
10.1186/s12874-024-02285-4
中图分类号
R19 [保健组织与事业(卫生事业管理)];
学科分类号
摘要
BackgroundSimulation is an important tool for assessing the performance of statistical methods for the analysis of data and for the planning of studies. While methods are available for the simulation of correlated binary random variables, all have significant practical limitations for simulating outcomes from longitudinal cluster randomised trial designs, such as the cluster randomised crossover and the stepped wedge trial designs. For these trial designs as the number of observations in each cluster increases these methods either become computationally infeasible or their range of allowable correlations rapidly shrinks to zero.MethodsIn this paper we present a simple method for simulating binary random variables with a specified vector of prevalences and correlation matrix. This method allows for the outcome prevalence to change due to treatment or over time, and for a 'nested exchangeable' correlation structure, in which observations in the same cluster are more highly correlated if they are measured in the same time period than in different time periods, and where different individuals are measured in each time period. This means that our method is also applicable to more general hierarchical clustered data contexts, such as students within classrooms within schools. The method is demonstrated by simulating 1000 datasets with parameters matching those derived from data from a cluster randomised crossover trial assessing two variants of stress ulcer prophylaxis.ResultsOur method is orders of magnitude faster than the most well known general simulation method while also allowing a much wider range of correlations than alternative methods. An implementation of our method is available in an R package NestBin.ConclusionsThis simulation method is the first to allow for practical and efficient simulation of large datasets of binary outcomes with the commonly used nested exchangeable correlation structure. This will allow for much more effective testing of designs and inference methods for longitudinal cluster randomised trials with binary outcomes.
引用
收藏
页数:11
相关论文
共 7 条