Sample size calculation in clinical trial using R

J Minim Invasive Surg. 2023 Mar 15;26(1):9-18. doi: 10.7602/jmis.2023.26.1.9.

Abstract

Since the era of evidence-based medicine, it has become a matter of course to use statistics to create objective evidence in clinical research. As an extension of this, it has become essential in clinical research to calculate the correct sample size to demonstrate a clinically significant difference before starting the study. Also, because sample size calculation methods vary from study design to study design, there is no formula for sample size calculation that applies to all designs. It is very important for us to understand this. In this review, each sample size calculation method suitable for various study designs was introduced using the R program (R Foundation for Statistical Computing). In order for clinical researchers to directly utilize it according to future research, we presented practice codes, output results, and interpretation of results for each situation.

Keywords: Categorical outcome; Continuous outcome; Effect size; Sample size.

Publication types

  • Review