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

Read the full article See related articles

Listed in

This article is not in any list yet, why not save it to one of your lists.
Log in to save this article

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.

BACKGROUND AND SIGNIFICANCE

Early-onset cancers, generally defined as cancers diagnosed before age 50 years, are an increasing public health concern. In the United States, the age standardized incidence of early-onset gastrointestinal cancers (EOGIC), including cancers of the esophagus, stomach, small intestine, cecum, appendix, colon, rectum, liver, intrahepatic bile duct, gallbladder, other biliary organs, and pancreas, increased by approximately 2.2% annually from 2010 to 2019 1 , making it the largest annual increase among early-onset cancer groups.

Despite its rising incidence, EOGIC remains uncommon, with an incidence of up to 15 cases per 100,000 person-years. 1,2 This low incidence limits the feasibility of population-wide screening. Among all GI cancers, only colorectal cancer screening guidelines recommend screening starting at age 45 years. However, because the median age at EOCRC diagnosis is 44 years 3 , this threshold leaves approximately half of patients below the recommended screening age. Routine screening is not recommended for average-risk individuals for other gastrointestinal cancers. Thus, personalized risk stratification using routinely available clinical information could help identify patients at elevated risk and support early detection.

Electronic health records (EHRs) offer an opportunity to assess EOGIC risk using routinely collected clinical data, including medical history, vital signs, and laboratory measurements. 4,5 Among early-onset gastrointestinal cancers, EOCRC has been studied most extensively. We identified 13 studies that developed EHR-based risk models for EOCRC between 2011 and 2026, among which 9 studies (69.2%) used case-control designs, 6–14 and 4 (30.8%) used cohort designs 15–18 , while study-design choices are usually not reported.

Study design can have profound impact on the discriminative performance, risk calibration, and clinical interpretation of predictive models. 19–23 Previous studies comparing cohort and case-control designs have shown that case-control sampling can lead to miscalibrated absolute risk estimates. 19,23 Case-control design, by indexing predictors relative to the event date can introduce “temporal bias,” that is, predictors measured close to the event enhance discrimination under retrospective evaluation but may not generalize to prospectively deployable settings. 24 Evidence to guide the selection of study designs for prediction model development of early-onset cancer remains limited. This gap is important because early-onset cancer is a very rare outcome, creating a strong incentive to enrich cases during model development, yet it is unclear whether performance gains observed under case-control designs persist when models are evaluated prospectively in a population representative of the model deployment setting.

Article activity feed