Adequate sample size for developing prediction models is not simply related to events per variable

J Clin Epidemiol. 2016 Aug:76:175-82. doi: 10.1016/j.jclinepi.2016.02.031. Epub 2016 Mar 8.

Abstract

Objectives: The choice of an adequate sample size for a Cox regression analysis is generally based on the rule of thumb derived from simulation studies of a minimum of 10 events per variable (EPV). One simulation study suggested scenarios in which the 10 EPV rule can be relaxed. The effect of a range of binary predictors with varying prevalence, reflecting clinical practice, has not yet been fully investigated.

Study design and setting: We conducted an extended resampling study using a large general-practice data set, comprising over 2 million anonymized patient records, to examine the EPV requirements for prediction models with low-prevalence binary predictors developed using Cox regression. The performance of the models was then evaluated using an independent external validation data set. We investigated both fully specified models and models derived using variable selection.

Results: Our results indicated that an EPV rule of thumb should be data driven and that EPV ≥ 20 ​ generally eliminates bias in regression coefficients when many low-prevalence predictors are included in a Cox model.

Conclusion: Higher EPV is needed when low-prevalence predictors are present in a model to eliminate bias in regression coefficients and improve predictive accuracy.

Keywords: Cox model; Events per variable; External validation; Predictive modeling; Resampling study; Sample size.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Adult
  • Bayes Theorem
  • Biomedical Research / methods*
  • Biomedical Research / statistics & numerical data*
  • Female
  • Forecasting / methods*
  • Humans
  • Logistic Models
  • Male
  • Middle Aged
  • Patient Selection*
  • Proportional Hazards Models*
  • Regression Analysis
  • Research Design
  • Sample Size