Journals / Eskisehir Medical Journal / 2026 / Volume: 7 Issue: 3

The Effect of Different Effect Size Assumptions on Sample Size and Power: An R-Based Approach for Clinical Research

Muzaffer Bilgin(ESKİŞEHİR OSMANGAZİ ÜNİVERSİTESİ, TIP FAKÜLTESİ)0000-0002-6072-6466
Ertuğrul Çolak(ESKİŞEHİR OSMANGAZİ ÜNİVERSİTESİ, TIP FAKÜLTESİ)0000-0003-3251-1043
Pages
—
Publication Date
2026-08-29
DOI
—
🏛️Bibliographic metadata and full text access for this article are provided via DergiPark.
DergiPark Record ↗
✨

AI Summary & Key Takeaways

AI Insight
⚡ TL;DR(Too Long; Didn't Read)

The study provides a reproducible R framework for practitioners.

📌 3 Key Takeaways

🎯
Objective & Hypothesis:Introduction: In clinical research, sample size and power are usually calculated from closed-form analytic formulas based on a single assumed effect size.
📊
Key Findings & Data:For each, analytical power (pwr, power.prop.test, Hsieh, Schoenfeld, Hanley-McNeil) and simulation power (10,000 repetitions/cell) were compared under matched assumptions, together with assumption-violation scenarios for every design (unequal variance, skewed distribution, non-proportional hazards, non-binormal ROC, rare-event logistic regression, and heteroscedastic ANOVA).
💡
Conclusion & Impact:The study provides a reproducible R framework for practitioners.
🔬Design:Lab & Field Experiment
📍Scope:Comprehensive Sample
⚙️Variables:Sample Size · Statistical Power · Effect Size

Abstract

Introduction: In clinical research, sample size and power are usually calculated from closed-form analytic formulas based on a single assumed effect size. This study maps where analytic and Monte Carlo simulation power converge and diverge across clinical designs, and compares assurance (expected power) with classical nominal power. Materials and Methods: Six designs were examined: two-group mean difference, two proportions, one-way ANOVA, logistic regression, survival (log-rank/Cox), and diagnostic accuracy (ROC-AUC). For each, analytical power (pwr, power.prop.test, Hsieh, Schoenfeld, Hanley-McNeil) and simulation power (10,000 repetitions/cell) were compared under matched assumptions, together with assumption-violation scenarios for every design (unequal variance, skewed distribution, non-proportional hazards, non-binormal ROC, rare-event logistic regression, and heteroscedastic ANOVA). For each divergent scenario we additionally computed the correctly-specified analytical method (Welch; Lakatos-type average log-hazard-ratio; Welch ANOVA). The simulation engine's validity was verified via Type-I error calibration under H0, and the effect of optimistic effect-size specification on sample size was quantified. All powers are reported with Monte Carlo standard error (MCSE). Analyses used R 4.6.1 with per-cell deterministic seeds and sessionInfo. Results: Type-I error matched the nominal level in all primary tests (0.046–0.052; continuity-corrected proportion test conservative at 0.030), with two exceptions identified in this revision: heteroscedastic ANOVA was mildly liberal (0.068) and, under 2:1 allocation with unequal variances, the pooled t-test was markedly liberal (0.127). Where assumptions held, analytical and simulation power closely overlapped (e.g., two-group d=0.50: 0.801 vs 0.806; logistic OR=1.50: 0.896 vs 0.888; survival HR=0.70: 0.734 vs 0.731). Under assumption violation, divergence was marked: with unequal variance, simulation power was 34–64% below the naïve analytical estimate (d=0.50: 0.801 vs 0.315), and with a delayed treatment effect 79–83% below the value assuming proportional hazards (HR=0.60: 0.959 vs 0.181). In both cases the correctly-specified method reproduced the simulated power to within Monte Carlo error (Welch 0.312; Lakatos-type 0.187). Under effect-size uncertainty, assurance remained below nominal power, and the gap widened with uncertainty (prior SD=0.15: 0.801→0.740; SD=0.30: 0.801→0.674), a pattern reproduced in the survival and logistic designs. Overestimating the planning effect by 30% dropped a targeted 0.80 power to ~0.50. Conclusion: When assumptions are satisfied, analytical power calculation is sufficient and simulation-verifiable. When applied outside their stated assumptions, analytical formulas overestimate power in most of the violation scenarios examined — with the exception of the skewed-distribution case at small effect sizes, where the direction of the divergence reversed. The divergences reflect misapplication rather than a deficiency of analytical theory: in each case the correctly-specified formula recovered the simulated power. The study provides a reproducible R framework for practitioners.

🔖

Cite This Article

Bilgin, M., Çolak, E. (2026). The Effect of Different Effect Size Assumptions on Sample Size and Power: An R-Based Approach for Clinical Research. Eskisehir Medical Journal, Volume: 7 Issue: 3. https://ajindex.com/articles/1614176

📄 Full Text PDF Viewer

📄

PDF görüntüleyici hazırlanıyor...

References (16)

  1. O’Hagan A, Stevens JW, Campbell MJ. Assurance in clinical trial design. Pharm Stat. 2005;4(3):187-201.
  2. Albers C, Lakens D. When power analyses based on pilot data are biased: Inaccurate effect size estimators and follow-up bias. J Exp Soc Psychol. 2018;74:187-95.
  3. Leon AC, Davis LL, Kraemer HC. The role and interpretation of pilot studies in clinical research. J Psychiatr Res. 2011;45(5):626-9.
  4. Arnold BF, Hogan DR, Colford JM, Hubbard AE. Simulation methods to estimate design power: an overview for applied research. BMC Med Res Methodol. 2011;11:94.
  5. Huang X, Xu J, Tang Z, Yuan Y. Sample size calculation by a simulation-based approach versus a simplified analytical approach in randomized controlled trials. Contemp Clin Trials. 2022;112:106634.
  6. Ren S, Oakley JE. Assurance calculations for planning clinical trials with time-to-event outcomes. Stat Med. 2014;33(1):31-45.
  7. Du H, Wang L. A Bayesian power analysis procedure considering uncertainty in effect size estimates from a meta-analysis. Multivariate Behav Res. 2016;51(5):589-605.
  8. Akbulut Ö. Hayvan deneylerinde örneklem büyüklüğünün kaynak eşitlik yöntemi ile belirlenmesi ve güç analizi. KSÜ Tıp Fak Derg. 2023;18(2):117-25. doi:10.17517/ksutfd.1123704
  9. Kalaycıoğlu A, Akhanlı SE. Sağlık araştırmalarında güç analizinin önemi ve temel prensipleri: tıbbi çalışmalar üzerinde uygulamalı örnekler. Turkish J Public Health. 2020;18(1):103-12.
  10. Cohen J. Statistical Power Analysis for the Behavioral Sciences. 2nd ed. Hillsdale, NJ: Lawrence Erlbaum Associates; 1988.
  11. Hsieh FY, Bloch DA, Larsen MD. A simple method of sample size calculation for linear and logistic regression. Stat Med. 1998;17(14):1623-34.
  12. Hanley JA, McNeil BJ. The meaning and use of the area under a receiver operating characteristic (ROC) curve. Radiology. 1982;143(1):29-36.
  13. Champely S. pwr: Basic Functions for Power Analysis [Internet]. R package version 1.3-0. 2020. Available from: https://CRAN.R-project.org/package=pwr
  14. Therneau TM. survival: A Package for Survival Analysis in R [Internet]. R package version 3.5. 2023. Available from: https://CRAN.R-project.org/package=survival
  15. Robin X, Turck N, Hainard A, Tiberti N, Lisacek F, Sanchez JC, et al. pROC: an open-source package for R and S+ to analyze and compare ROC curves. BMC Bioinformatics. 2011;12:77.
  16. Morris TP, White IR, Crowther MJ. Using simulation studies to evaluate statistical methods. Stat Med. 2019;38(11):2074-102.