Handling Missing Race and Ethnicity in an EHR-Based Study Through Integration of Individual Measures and Neighborhood Sociodemographic and Socioeconomic Measures

Race and ethnicity are frequently missing in electronic health records (EHRs), where excluding these records can bias pediatric research and disparity estimates. Imputing missing values may reduce this bias but can perform unevenly across methods and subgroups, especially for smaller or heterogeneous categories. We compared four approaches-logistic regression, random forest, k-nearest neighbors (KNN), and multiple imputation by chained equations (MICE)-to impute missing race (Black/White/Other) and ethnicity (Hispanic/Non-Hispanic) using individual- and census-tract-level sociodemographic measures. We analyzed 5309 children (<19 years) treated for Staphylococcus aureus infections at two pediatric hospitals in metropolitan Atlanta (2002-2015). The performance was evaluated on a held-out test set (n = 554) using accuracy and weighted F1. For race, logistic regression and KNN performed best (accuracy/weighted F1: 0.838/0.822 and 0.839/0.823), followed by random forest (0.798/0.787), with MICE being the lowest (0.736/0.743). For ethnicity, KNN achieved the highest accuracy (0.912) and random forest the highest weighted F1 (0.895) (logistic regression 0.901/0.876; random forest 0.904/0.895; KNN 0.912/0.887; MICE 0.866/0.864). Performance was the lowest for Hispanic ethnicity and the "Other" race category, consistent with the class imbalance. Imputation performance depends on the demographic attribute and modeling approach; subgroup-specific evaluation is essential when imputing race and ethnicity in pediatric EHR research.

Authors

Institutions

Publication Details

Journal
Microorganisms
Published
2026-03-14
DOI
https://doi.org/10.3390/microorganisms14030662
Primary Topic
Advanced Causal Inference Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Handling Missing Race and Ethnicity in an EHR-Based Study Through Integration of Individual Measures and Neighborhood Sociodemographic and Socioeconomic Measures

Lilly Cheng Immergluck, Abdolreza Mosaddegh, Sadia Chowdhury, Peter Baltrus et al.
Microorganisms
Advanced Causal Inference Techniques
article

Handling Missing Race and Ethnicity in an EHR-Based Study Through Integration of Individual Measures and Neighborhood Sociodemographic and Socioeconomic Measures

Lilly Cheng Immergluck, Abdolreza Mosaddegh, Sadia Chowdhury, Peter Baltrus, Samuel Owusu, Chaohua Li
article en

Abstract

Race and ethnicity are frequently missing in electronic health records (EHRs), where excluding these records can bias pediatric research and disparity estimates. Imputing missing values may reduce this bias but can perform unevenly across methods and subgroups, especially for smaller or heterogeneous categories. We compared four approaches-logistic regression, random forest, k-nearest neighbors (KNN), and multiple imputation by chained equations (MICE)-to impute missing race (Black/White/Other) and ethnicity (Hispanic/Non-Hispanic) using individual- and census-tract-level sociodemographic measures. We analyzed 5309 children (<19 years) treated for Staphylococcus aureus infections at two pediatric hospitals in metropolitan Atlanta (2002-2015). The performance was evaluated on a held-out test set (n = 554) using accuracy and weighted F1. For race, logistic regression and KNN performed best (accuracy/weighted F1: 0.838/0.822 and 0.839/0.823), followed by random forest (0.798/0.787), with MICE being the lowest (0.736/0.743). For ethnicity, KNN achieved the highest accuracy (0.912) and random forest the highest weighted F1 (0.895) (logistic regression 0.901/0.876; random forest 0.904/0.895; KNN 0.912/0.887; MICE 0.866/0.864). Performance was the lowest for Hispanic ethnicity and the "Other" race category, consistent with the class imbalance. Imputation performance depends on the demographic attribute and modeling approach; subgroup-specific evaluation is essential when imputing race and ethnicity in pediatric EHR research.

MicroorganismsVol. 14(3)
Northeastern University (US), Oakland University (US), University of Chicago (US), Morehouse School of Medicine (US)
U.S. Department of Health and Human Services, National Institutes of Health, Health Resources and Services Administration, National Center for Advancing Translational Sciences
Reduced inequalities
Openalex Percentile: Top 25%
Advanced Causal Inference Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.