Predicting Neighborhood Health With Machine Learning and Flexible Regression Across U.S. Census Tracts
Objective. To determine which prediction methods generalize best to census tracts in held-out states, which health outcomes gain most from flexible modeling, and which socioeconomic and demographic predictors contribute most when modeled as curves. Methods. We linked ten socioeconomic and demographic measures from the 2014–2018 American Community Survey (ACS) to crude adult prevalence estimates from the 2025 CDC PLACES release. In five state-grouped folds, we compared linear regression, additive splines, splines plus pairwise products, extremely randomized trees, and histogram gradient boosting. We evaluated predictor-specific curvature by replacing one spline at a time with a straight line and refitting the model. Exploratory analyses compared linear, quadratic, and spline terms for tract age composition and assessed the incremental value of age interactions. Results. Across 15 outcomes, adding curves and pairwise interactions reduced root mean squared error (RMSE) by 7.83% on average compared with ordinary linear regression. Gradient boosting reduced error by 7.35%, additive splines by 6.03%, and extremely randomized trees by 5.13%. The largest gains were for diabetes (12.4%), stroke (12.0%), and chronic obstructive pulmonary disease (11.5%). Cancer had the highest held-out R² (0.930). Restoring a curved term for the percentage of Latino residents, median household income, or college attainment reduced error by about 1% on average for each predictor. For cancer, allowing both age percentages to curve reduced error by 4.10% relative to linear age terms. Conclusions. An interpretable regression with curves and pairwise interactions had the lowest held-out error for 10 of 15 outcomes. Prediction gains depended on the health measure and on which predictor was allowed to curve. The findings concern geographic variation in published prevalence estimates; independent health measurements are needed to evaluate accuracy for underlying disease burden.
Authors
- Shervin Assari (ORCID: https://orcid.org/0000-0002-5054-6250)
Institutions
- Charles R. Drew University of Medicine and Science (US)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-24
- DOI
- https://doi.org/10.21203/rs.3.rs-11827168/v1
- Primary Topic
- Health disparities and outcomes
- Type
- preprint
Funders
- Charles R. Drew University of Medicine and Science
- National Institutes of Health
- National Institute on Minority Health and Health Disparities