medRxivPreprintOpen accesshealth informatics

Cohort Versus Nested Case-Control Designs for Predicting Early-Onset Gastrointestinal Cancer Using Electronic Health Records

R. Fan, S. Azadnajafabad, J. M. Reps, B. Bowe, M. R. Hofford, K.-H. Lim, G. Hripcsak, Y. Cao,

Observational

Key points

From the paper's conclusion
  • Objective: To determine how cohort versus nested case-control (NCC) design affects EHR-based prediction of a rare outcome.

Abstract

Purpose: To determine how cohort and case-control study designs affect the discrimination, calibration, and feature rankings of EHR-based models for predicting early-onset gastrointestinal cancer. Methods: Using EHR data from an integrated health system, we developed models to predict EOGIC within 2 years after an outpatient visit among adults age 18-49 years at the time of the visit. We compared two cohort and five case-control designs. Models included L1-regularized logistic regression (LASSO), XGBoost, and multilayer perceptrons (MLP). Models were trained with nested five-fold cross-validation. We assessed model discrimination using area under the precision recall curve (AUPRC), area under the receiver operating characteristic curve (AUROC), calibration before and after isotonic recalibration, and similarity of feature rankings across study designs and predictive models. Results: AUROC does not depend on outcome prevalence, it is suitable for comparing discrimination across study designs with different outcome prevalences; however, it was less sensitive to variation in model performance in this rare-outcome setting. AUPRC estimated in case-enriched samples did not generalize to the incidence-representative population in the intended deployment setting. Raw predicted probabilities substantially overestimated observed risks under both study designs. Isotonic recalibration improved calibration, although residual miscalibration remained. Cohort-based feature rankings were more consistent across algorithms, whereas case-control-based rankings depended more strongly on algorithms. Conclusion: Study design substantially affects the discrimination, calibration, and feature-ranking patterns of EHR-based EOGIC prediction models. Cohort designs are generally better suited to EHR-based models for early detection because they preserve the outcome incidence and temporal relationship between the predictors and the outcome. When case-control designs are used for model development, models should be evaluated and recalibrated in an incidence-representative cohort that reflects the intended clinical setting.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Cohort Versus Nested Case-Control Designs for Predicting Early-Onset Gastrointestinal Cancer Using Electronic Health Records — Science Skim