Related Experiment Video
Updated: Jun 9, 2026

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
Design of Trials with Composite Endpoints with the R Package CompAREdesign
Jordi Cortés-Martínez1, Marta Bofill-Roig1,2, Guadalupe Gómez-Melis1
1Research group in Biostatistics and Bioinformatics, GRBIO, Department of Statistics and Operations Research and Institute for Research and Innovation in Health (IRIS), Universitat Politècnica de Catalunya (BarcelonaTech), Jordi Girona 1-3, 08034 Barcelona, Spain.
None:
Composite endpoints are frequently used as primary endpoints in clinical trials, especially those involving time-to-event data. Designing such trials poses significant challenges due to the frequent violation of the proportional hazards assumption when composite endpoints are used, even if the assumption holds true for individual components. Consequently, the conventional formulae for sample size calculation no longer apply. This paper introduces the R package CompAREdesign which incorporates novel methodologies developed by the authors to compute key trial design elements, including sample size and effect sizes, based on information of composite endpoint components. Additionally, the package offers features for designing trials with binary composite endpoints, and functions to simulate trials under a wide range of scenarios. While several R packages exist for analyzing trials with composite endpoints, CompAREdesign package is, to our knowledge, the first package specifically tailored to the design phase of such studies. CompAREdesign is available on CRAN.
Related Concept Videos
Study Design in Statistics
Does aspirin reduce the risk of heart attacks? Is one brand of fertilizer more effective at growing roses than another? Is fatigue as dangerous to a driver as the influence of alcohol? Questions like these are answered using randomized experiments with proper...
Bioequivalence Experimental Study Designs: Repeated Measures, Cross-Over, Carry-Over, and Latin Square Designs
Experimental Designs
Study Designs in Epidemiology
Observational studies are those where the researcher does not intervene but rather observes natural variations. They include cross-sectional, cohort, and case-control studies.
Bioequivalence Experimental Study Designs: Completely Randomized and Randomized Block Designs
Comparing the Survival Analysis of Two or More Groups
