Behavior of prediction performance metrics with rare events
Preprint
Abstract
Area under the receiving operator characteristic curve (AUC) is commonly reported alongside binary prediction models. However, there are concerns that AUC might be a misleading measure of prediction performance in the rare event setting. This setting is common since many events of clinical importance are rare events. We conducted a simulation study to determine when or whether AUC is unstable in the rare event setting. Specifically, we aimed to determine whether the bias and variance of AUC are driven by the number of events or the event rate. We also investigated the behavior of other commonly used measures of prediction performance, including positive predictive value, accuracy, sensitivity, and specificity. Our results indicate that poor AUC behavior -- as measured by empirical bias, variability of cross-validated AUC estimates, and empirical coverage of confidence intervals -- is driven by the minimum class size, not event rate. Performance of sensitivity is driven by the number of events, while that of specificity is driven by the number of non-events. Other measures, including positive predictive value and accuracy, depend on the event rate even in large samples. AUC is reliable in the rare event setting provided that the total number of events is moderately large.Keywords
All Related Versions
This publication has 22 references indexed in Scilit:
- Statistical plasmode simulations–Potentials, challenges and recommendationsStatistics in Medicine, 2024
- Predictive Modeling Using Artificial Intelligence and Machine Learning Algorithms on Electronic Health Record DataCritical Care Clinics, 2023
- Complex modeling with detailed temporal predictors does not improve health records-based suicide risk predictionnpj Digital Medicine, 2023
- Racial/Ethnic Disparities in the Performance of Prediction Models for Death by Suicide After Mental Health VisitsJAMA Psychiatry, 2021
- Poor performance of clinical prediction models: the harm of commonly applied methodsJournal of Clinical Epidemiology, 2018
- Comparing the performance of propensity score methods in healthcare database studies with rare outcomes2017
- Substantial effective sample sizes were required for external validation studies of predictive logistic regression modelsJournal of Clinical Epidemiology, 2005
- The use of the area under the ROC curve in the evaluation of machine learning algorithmsPattern Recognition, 1997
- A simulation study of the number of events per variable in logistic regression analysisJournal of Clinical Epidemiology, 1996
- Basic principles of ROC analysisSeminars in Nuclear Medicine, 1978