Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

Sample Size Analysis for Machine Learning Clinical Validation Studies

View ORCID ProfileDaniel M. Goldenholz, View ORCID ProfileHaoqi Sun, View ORCID ProfileWolfgang Ganglberger, View ORCID ProfileM. Brandon Westover
doi: https://doi.org/10.1101/2021.10.26.21265541
Daniel M. Goldenholz
1Beth Israel Deaconess Medical Center, Boston USA
2Harvard Medical School, Boston USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Daniel M. Goldenholz
  • For correspondence: daniel.goldenholz@bidmc.harvard.edu
Haoqi Sun
2Harvard Medical School, Boston USA
3Massachusetts General Hospital, Boston USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Haoqi Sun
Wolfgang Ganglberger
2Harvard Medical School, Boston USA
3Massachusetts General Hospital, Boston USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Wolfgang Ganglberger
M. Brandon Westover
2Harvard Medical School, Boston USA
3Massachusetts General Hospital, Boston USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for M. Brandon Westover
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

ABSTRACT

OBJECTIVE Before integrating new machine learning (ML) into clinical practice, algorithms must undergo validation. Validation studies require sample size estimates. Unlike hypothesis testing studies seeking a p-value, the goal of validating predictive models is obtaining estimates of model performance. Our aim was to provide a standardized, data distribution- and model-agnostic approach to sample size calculations for validation studies of predictive ML models.

MATERIALS AND METHODS Sample Size Analysis for Machine Learning (SSAML) was tested in three previously published models: brain age to predict mortality (Cox Proportional Hazard), COVID hospitalization risk prediction (ordinal regression), and seizure risk forecasting (deep learning). The SSAML steps are: 1) Specify performance metrics for model discrimination and calibration. For discrimination, we use area under the receiver operating curve (AUC) for classification and Harrell’s C-statistic for survival models. For calibration, we employ calibration slope and calibration-in-the-large. 2) Specify the required precision and accuracy (≤0.5 normalized confidence interval width and ±5% accuracy). 3) Specify the required coverage probability (95%). 4) For increasing sample sizes, calculate the expected precision and bias that is achievable. 5) Choose the minimum sample size that meets all requirements.

RESULTS Minimum sample sizes were obtained in each dataset using standardized criteria.

DISCUSSION SSAML provides a formal expectation of precision and accuracy at a desired confidence level.

CONCLUSION SSAML is open-source and agnostics to data type and ML model. It can be used for clinical validation studies of ML models.

Competing Interest Statement

The authors have declared no competing interest.

Funding Statement

Dr. Goldenholz received funding from NIH 5KL2TR002542. Dr. Westover was supported by the Glenn Foundation for Medical Research and American Federation for Aging Research (Breakthroughs in Gerontology Grant); American Academy of Sleep Medicine (AASM Foundation Strategic Research Award); Football Players Health Study (FPHS) at Harvard University; Department of Defense through a subcontract from Moberg ICU Solutions, Inc; and NIH (R01NS102190, R01NS102574, R01NS107291, RF1AG064312, R01AG062989). MBW is a co-founder of Beacon Biosignals.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

3 Studies were used for this paper. The ST study was determined exempted by the Beth Israel Deaconess Medical Center Institutional Review Board, 2017D000488. The COVA and BAI studies were determined exempted by the Mass General Brigham Institutional Review Board, 2013P001024

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines and uploaded the relevant EQUATOR Network research reporting checklist(s) and other pertinent material as supplementary files, if applicable.

Yes

Footnotes

  • daniel.goldenholz{at}bidmc.harvard.edu, hsun8{at}mgh.harvard.edu, WGANGLBERGER{at}mgh.harvard.edu, mwestover{at}mgh.harvard.edu

  • CONFLICT OF INTEREST DISCLOSURES: DG, HS, WG and MBW have no relevant conflict of interests to disclose.

  • ROLE OF FUNDER/SPONSOR: Dr. Goldenholz received funding from NIH 5KL2TR002542. Dr. Westover was supported by the Glenn Foundation for Medical Research and American Federation for Aging Research (Breakthroughs in Gerontology Grant); American Academy of Sleep Medicine (AASM Foundation Strategic Research Award); Football Players Health Study (FPHS) at Harvard University; Department of Defense through a subcontract from Moberg ICU Solutions, Inc; and NIH (R01NS102190, R01NS102574, R01NS107291, RF1AG064312, R01AG062989). MBW is a co-founder of Beacon Biosignals.

Data Availability

All data produced in the present study are available upon reasonable request to the authors

https://github.com/GoldenholzLab/SSAML

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. All rights reserved. No reuse allowed without permission.
Back to top
PreviousNext
Posted October 27, 2021.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
Sample Size Analysis for Machine Learning Clinical Validation Studies
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
Sample Size Analysis for Machine Learning Clinical Validation Studies
Daniel M. Goldenholz, Haoqi Sun, Wolfgang Ganglberger, M. Brandon Westover
medRxiv 2021.10.26.21265541; doi: https://doi.org/10.1101/2021.10.26.21265541
Digg logo Reddit logo Twitter logo Facebook logo Google logo LinkedIn logo Mendeley logo
Citation Tools
Sample Size Analysis for Machine Learning Clinical Validation Studies
Daniel M. Goldenholz, Haoqi Sun, Wolfgang Ganglberger, M. Brandon Westover
medRxiv 2021.10.26.21265541; doi: https://doi.org/10.1101/2021.10.26.21265541

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Health Informatics
Subject Areas
All Articles
  • Addiction Medicine (161)
  • Allergy and Immunology (414)
  • Anesthesia (90)
  • Cardiovascular Medicine (857)
  • Dentistry and Oral Medicine (159)
  • Dermatology (97)
  • Emergency Medicine (248)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (393)
  • Epidemiology (8560)
  • Forensic Medicine (4)
  • Gastroenterology (383)
  • Genetic and Genomic Medicine (1749)
  • Geriatric Medicine (167)
  • Health Economics (372)
  • Health Informatics (1239)
  • Health Policy (620)
  • Health Systems and Quality Improvement (467)
  • Hematology (196)
  • HIV/AIDS (372)
  • Infectious Diseases (except HIV/AIDS) (10294)
  • Intensive Care and Critical Care Medicine (553)
  • Medical Education (192)
  • Medical Ethics (51)
  • Nephrology (211)
  • Neurology (1677)
  • Nursing (97)
  • Nutrition (250)
  • Obstetrics and Gynecology (326)
  • Occupational and Environmental Health (450)
  • Oncology (928)
  • Ophthalmology (263)
  • Orthopedics (101)
  • Otolaryngology (172)
  • Pain Medicine (113)
  • Palliative Medicine (40)
  • Pathology (252)
  • Pediatrics (534)
  • Pharmacology and Therapeutics (250)
  • Primary Care Research (207)
  • Psychiatry and Clinical Psychology (1766)
  • Public and Global Health (3835)
  • Radiology and Imaging (623)
  • Rehabilitation Medicine and Physical Therapy (320)
  • Respiratory Medicine (520)
  • Rheumatology (208)
  • Sexual and Reproductive Health (167)
  • Sports Medicine (158)
  • Surgery (190)
  • Toxicology (36)
  • Transplantation (101)
  • Urology (76)