Beyond statistical power in designing clinical trials: Shiny/R apps to the rescue
Abstract Medical students must understand statistical reasoning and sample size selection to design and interpret clinical trials. Beyond achieving sufficient statistical power, ensuring meaningful precision in treatment effect estimates is equally important. We developed free, interactive Shiny/R tools that let learners explore how varying sample sizes influence both power and precision in common study designs. As an example, we discuss a Shiny/R app that explores a two‐group design with a binary outcome, allowing sample size computation, effect estimation, and simulation of experiments in different scenarios. By engaging with these simulations, students gain a practical grasp of clinical trial design, ultimately enhancing their research skills and improving patient care.
Authors
- Rui Alves
- Albert Sorribas (ORCID: https://orcid.org/0000-0002-7407-4075)
- Ester Vilaprinyó (ORCID: https://orcid.org/0000-0002-5787-5890)
- Pedro Sandoval
Institutions
- Universitat de Lleida (ES)
- Instituto de Investigación Biomédica de Lleida (ES)
Publication Details
- Journal
- Teaching Statistics
- Published
- 2025-03-29
- DOI
- https://doi.org/10.1111/test.12403
- Citations
- 1
- Primary Topic
- Statistical Methods in Clinical Trials
- Type
- article
- Field-Weighted Citation Impact
- 2.63
Funders
- Instituto de Salud Carlos III
- Direcció General de Recerca, Generalitat de Catalunya