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

Institutions

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

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Beyond statistical power in designing clinical trials: Shiny/R apps to the rescue

Rui Alves, Albert Sorribas, Ester Vilaprinyó, Pedro Sandoval
1 citations
Teaching Statistics
Statistical Methods in Clinical Trials
2.63
article

Beyond statistical power in designing clinical trials: Shiny/R apps to the rescue

Rui Alves, Albert Sorribas, Ester Vilaprinyó, Pedro Sandoval
article en
1 citations

Abstract

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.

Teaching StatisticsVol. 47(3)
Universitat de Lleida (ES), Instituto de Investigación Biomédica de Lleida (ES)
Instituto de Salud Carlos III, Direcció General de Recerca, Generalitat de Catalunya
Openalex Percentile: Top 13%
Statistical Methods in Clinical Trials
2.63
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.