Abstract
Background
New York City (NYC) launched the HealthyNYC initiative in 2025, aiming to reduce cardiovascular disease and diabetes deaths by 5% by 2030. Effective place‐based interventions require evidence to address social risk factors associated with hypertension and diabetes. This study aims to identify key social determinants of health (SDoH) associated with variation in hypertension and diabetes prevalence across census tracts in NYC.
Methods
This retrospective cohort study analyzed clinical data on 3.2 million NYC residents integrated with SDoH data at the census tract level. Using Extreme Gradient Boosting, we identified the top 10 SDoH most strongly associated with both age‐adjusted and unadjusted prevalence across all census tracts in the city and neighborhood‐specific SDoH for census tracts in the highest prevalence quintile for hypertension and diabetes.
Results
SDoH explain 70% to 80% of the cross‐tract variation in hypertension (R2=66.2%–79.5%, root mean square error=2.6–3.2) and diabetes (R2=72.9%–79.3%, root mean square error=2.1–2.2) prevalence in NYC. Normalized mean absolute Shapley Additive Explanations values showed that the top 10 SDoH contribute to most of the model's prediction: 73% (age adjusted) and 70% (unadjusted) for hypertension prediction and 73% (age adjusted) and 71% (unadjusted) for diabetes prediction. The top 10 SDoH with the highest Shapley Additive Explanations values center on domains like socioeconomic disadvantage, built environment, and commute time. The neighborhood‐specific SDoH varied across census tracts and boroughs.
Conclusions
This study provides robust evidence that SDoH are strongly associated with prevalence of hypertension and diabetes and identifies neighborhoods where targeted, place‐based approaches could be prioritized for implementing and testing.
Keywords: cardiometabolic risk, HealthyNYC, machine learning, place‐based interventions, social determinants of health
Subject Categories: Hypertension, Social Determinants of Health, Risk Factors
Nonstandard Abbreviations and Acronyms
- NYC
New York City
- SDoH
social determinants of health
- SHAP
Shapley Additive Explanations
- SNAP
Supplemental Nutrition Assistance Program
- SPARCS
Statewide Planning and Research Cooperative System
- XGBoost
extreme gradient boosting
Clinical Perspective.
What Is New?
This study applies machine learning methods to characterize how a broad set of neighborhood‐level social determinants of health are associated with the prevalence of hypertension and diabetes across New York City census tracts.
The findings show that the leading social risk factors of hypertension and diabetes burden are not uniform across neighborhoods and vary meaningfully by sex.
What Are the Clinical Implications?
Identifying neighborhood‐specific social risk factors can help health systems, clinicians, and public health agencies target tailored and patient‐centered early detection, outreach, and resource allocation to neighborhoods with the greatest disease burden.
Heart disease, including conditions such as heart failure and acute myocardial infarction, has remained the leading cause of death in New York City (NYC) since the 1970s. 1 In 2022, nearly 17 000 NYC residents died of heart disease, accounting for ∼28% of all deaths in the city. 1 Hypertension and diabetes are 2 of the most prominent risk factors for heart disease: adults with hypertension or diabetes are ∼2 to 4 times more likely than those without to develop and die from heart disease. 2 , 3 One in 3 NYC adults lives with hypertension and >10% have diabetes, with substantial disparities by race or ethnicity and socioeconomic status. 4 The progression from hypertension or diabetes to heart disease is highly modifiable. For example, the SPRINT (Systolic Blood Pressure Intervention) trial demonstrated that intensive blood pressure control reduced cardiovascular events and all‐cause mortality by about one quarter. 5 Consequently, reducing the burden of hypertension and diabetes has been a key priority for mitigating heart disease for population health programs. 6
Social determinants of health (SDoH), broadly defined as the nonmedical conditions in which people are born, grow, live, work and age, and people's access to power, money and resources, is highly associated with the development and progression of hypertension and diabetes. 7 Social risk factors, such as low income and poor housing conditions, predict high prevalence of hypertension and diabetes and significant racial or ethnic disparities in both conditions. 8 , 9 These social factors shape diet and physical activity options, amplify chronic stress and inflammatory pathways, and restrict access to guideline‐concordant care, thereby accelerating progression from elevated blood pressure and glucose levels to heart disease. Addressing SDoH of hypertension and diabetes has great potential to reduce overall disease burden and mitigate racial or ethnic disparities in cardiovascular disease outcomes. 8
In 2025, NYC launched HealthyNYC, a cross‐agency roadmap to reverse the city's declining life expectancy in the post‐COVID‐19 era. 10 , 11 The initiative aims to reduce deaths from cardiovascular disease and diabetes by 5% by 2030. 10 Its SDoH‐focused strategies include strengthening place‐based social supports to meet basic needs among residents in neighborhoods disproportionately impacted by hypertension, diabetes, and other chronic conditions. 10 The AI4HealthyCities initiative 12 , 13 aims to inform place‐based interventions to support the accomplishment of HealthyNYC's milestones. In this study, we applied machine learning (ML) methods to comprehensive health care and population health data to identify SDoH associated with prevalence of hypertension and diabetes in NYC at granular census tract level. The results, both citywide and within neighborhoods with high hypertension and diabetes prevalence, can guide resource allocation, prioritize implementation zones for HealthyNYC, and inform the design and delivery of precision, neighborhood‐tailored interventions.
METHODS
Because of the sensitive nature of the clinical data used for this study, requests to access the data set from qualified researchers trained in human subject confidentiality protocols may be sent to New York State Department of Health at sparcs.submissions@health.ny.gov. Neighborhood SDoH data and analytic pipeline are available from the corresponding author upon request.
Data Sources and Study Population
This retrospective cohort study used data from the 2022 Statewide Planning and Research Cooperative System (SPARCS). SPARCS is New York State's mandatory, all‐payer database that collects patient information from hospital inpatient stays, as well as outpatient encounters including ambulatory surgery, emergency department visits, and visits to hospital extension clinics and diagnostic or treatment centers licensed for ambulatory surgery services. We included all adults aged ≥18 years with a NYC residential ZIP code, regardless of where they received care within NYC. Each patient was mapped to a 2020 US census tract based on their residential address, and those without a valid address were excluded. After excluding census tracts with <200 people captured in SPARCS data (eg, parks and airports), 2107 census tracts were included in the analysis, representing 91% of all NYC census tracts and 99% of NYC population. This exclusion also removed sparsely populated or largely nonresidential tracts with missing SDoH measures.
Outcome: Hypertension and Diabetes Prevalence
Our outcomes were prevalence rates of hypertension and diabetes at the census tract level in NYC. We identified patients with at least 1 diagnosis of hypertension or diabetes in 2022 using validated International Classification of Diseases, Tenth Revision (ICD‐10) diagnosis codes from the Chronic Condition Warehouse. We calculated 2 complementary prevalence measures for each condition. For each tract, crude prevalence was calculated as the number of patients with at least 1 hypertension or diabetes diagnosis code divided by the total number of patients with at least 1 health care encounter in the 2022 SPARCS data. This unadjusted prevalence reflects the actual disease burden faced by neighborhoods and is useful for operational planning and resource allocation. We then calculated age‐adjusted prevalence by adjusting for age distribution across census tracts using the 2022 US population as the standard population. 14 This adjustment is crucial because the risk of hypertension or diabetes increases substantially with age, and the varying age distribution across census tracts may confound raw estimates and obscure underlying disparities. Age standardization enables fair comparisons across neighborhoods and better isolates geographic variation attributable to social risk factors rather than age mix.
Social Determinants of Health
We aimed to identify SDoH most strongly associated with the variation in prevalence for hypertension and diabetes across NYC neighborhoods. Following prior research, 15 , 16 we developed a conceptual framework to guide the definition, selection, and analysis of SDoH. In this framework (Figure S1), we hypothesize that SDoH influence hypertension, diabetes, and other health outcomes through both direct and indirect pathways. 17 Direct pathways include immediate, unmediated physiological effects of SDoH‐induced chronic psychosocial stress on the body. For example, economic instability may directly activate stress‐response systems, resulting in biological changes that raise blood pressure over time. 18 For indirect pathways, SDoH affect health outcomes through mediators such as access to healthy lifestyle options, health knowledge and behaviors (eg, diet and physical activity), and access to care. 18 In addition, demographics (eg, age and sex) are associated with health outcomes through direct pathways (eg, age‐related vascular changes) and multiple indirect pathways, including those involving SDoH. 15 Guided by our conceptual framework and the relevant literature, we employed a pragmatic approach to select SDoH variables and included 34 SDoH that broadly capture economic status, occupation, housing conditions, and other important social aspects of a census tract (Data S1). Details about the SDoH, their sources, and measurements are available in Tables S1–S2.
Statistical Analysis
We used ML to model the associations between SDoH and prevalence in hypertension and diabetes across NYC census tracts. ML approach is appropriate for this study because neighborhood SDoH are often correlated and may relate to disease burden through nonlinear and interacting pathways that are difficult to prespecify using traditional regression models. ML could effectively model complex, nonlinear relationships between various SDoH and disease burden and uncovering key SDoH associated with the prevalence, 16 , 19 , 20 providing place‐based insights to guide local interventions. We used extreme gradient boosting (XGBoost). XGBoost generates predictions from an ensemble of decision trees, incorporating regularization techniques to prevent overfitting. Each tree is trained sequentially to correct residual errors from the previous trees. 21 XGBoost is particularly well suited for this analysis because it can flexibly capture nonlinear relationships and higher‐order interactions among SDoH without requiring prespecification of functional forms or interaction terms, and it can handle multicollinearity among SDoH. 21 , 22 , 23 This approach has been used in similar prior research to identify social risk factors of cardiovascular disease prevalence and related costs. 16 , 19 , 24 We tuned 3 hyperparameters for XGBoost: (1) the number of trees used in the gradient boosting procedure, (2) the depth of each tree, and (3) the learning rate used to update between trees.
We used a nested cross‐validation approach for model training and validation, which separates hyperparameter tuning (inner loop) from performance evaluation (outer loop) to provide an unbiased estimate of generalization error. 25 This ensures that census tracts used for training models were never simultaneously used to assess prediction accuracy, thereby preventing data leakage and overfitting. Nested cross‐validation is particularly powerful to avoid a fixed train‐test split and generate out‐of‐sample predictions for all units in the sample, as it leverages the entire data set for both model development and evaluation without having a permanent holdout set. This approach maximizes data use, which is valuable for modestly sized data sets like census tracts in a single city, while reducing variance in performance estimates through repeated folding and averaging. 25
The primary ML model incorporated sample weights proportional to the number of individuals in each census tract captured in SPARCS data to account for the substantial variation in population sizes across tracts. This weighted approach assigns a greater weight to census tracts with larger populations, which typically have more precise prevalence estimates due to reduced sampling variability.
We evaluated model performance using R2 and root mean square error (RMSE). R2 quantifies the proportion of across‐tract variation explained by SDoH examined in this study, whereas RMSE quantifies the tract‐level prediction error in prevalence percentage points. We used the Shapley Additive Explanations (SHAP) algorithm to interpret the relative importance of SDoH in predicting the prevalence of hypertension and diabetes. SHAP provides both global interpretations, identifying the leading SDoH across all NYC census tracts, and local interpretations, identifying the leading SDoH for individual census tracts with high disease prevalence. This allowed us to characterize tract‐specific SDoH and generate more actionable insights for place‐based prevention. SHAP assigns a unique value to each predictor for every census tract, quantifying the extent to which that predictor's value shifts the model's prediction away from the overall sample mean, while accounting for all other variables and their interactions. 26 SHAP values >0 indicate that the predictor's value elevates the predicted prevalence above the mean, whereas values <0 push it below the mean. Predictors with larger mean absolute SHAP values contribute more to the model predictions overall. Normalized mean absolute SHAP values sum to 1 across all predictors, reflecting each predictor's relative contribution to the model's predictions. To evaluate importance for the overall NYC population, we reported the top 10 SDoH ranked by their mean absolute SHAP values across all census tracts. For census tracts in the top 20% of prevalence of hypertension and diabetes respectively, we further identified the tract‐specific top SDoH based on the highest absolute SHAP value per tract, enabling insights into localized influences.
XGBoost modeling, including SHAP value calculation, was carried out using the XGBoost package for Python. SAS 9.4 and STATA MP 18.0 were used for data cleaning, data management, and plotting. This study was approved by the Institutional Review Board at Weill Cornell Medicine with a waiver of consent because this study uses deidentified secondary data and publicly available data.
Secondary Analyses
Because our outcomes were tract‐level disease prevalence, we fit ordinary least squares and elastic net models as benchmark models to compare their results with XGBoost. For these linear models, SDoH measures were standardized to ensure that differences in variable scale did not influence model estimation or penalization. We then trained an unweighted model for each outcome as a secondary analysis to examine whether the primary results were driven by differences in tract population size. Unweighted XGBoost models used the same analytic sample, predictors, model specifications, cross‐validation procedure, and SHAP interpretation approach as the primary models, but without tract‐level population weights. We also conducted sex‐stratified analyses by estimating sex‐specific prevalence of hypertension and diabetes and rerunning the ML models separately for women and men to identify sex‐specific social drivers for each outcome. This secondary analysis is important because cardiometabolic risk and its social drivers may differ by sex, and a sex‐specific approach may better inform targeted prevention efforts.
RESULTS
Patient and Neighborhood Characteristics
Our study included 3.2 million unique adults across 2107 census tracts in NYC. Overall, 25.1% of individuals had at least 1 hypertension diagnosis and 12.0% had at least 1 diabetes diagnosis in 2022, consistent with the prevalence reported from other sources. 4 Age‐adjusted prevalence varied considerably across census tracts (Figure 1). For example, age‐adjusted hypertension prevalence ranged from 9.0% to 38.1% (~4‐fold variation), and age‐adjusted diabetes prevalence from 1.5% to 28.0% (~19‐fold variation). Census tracts with a higher age‐adjusted prevalence of both conditions were concentrated in northern Manhattan (eg, East Harlem), the Bronx, and selected neighborhoods in Brooklyn (eg, Coney Island) and Queens (eg, Jamaica). (Table 1 for hypertension, Table S3 for diabetes).
Figure 1. Age‐adjusted prevalence for hypertension (left) and diabetes (right) across census tracts in New York City.

Table 1.
Patient Characteristics Across Census Tract, by Level of Age‐Adjusted Hypertension Prevalence
| All | Quintile 1 (lowest prevalence) | Quintile 2 | Quintile 3 | Quintile 4 | Quintile 5 (highest prevalence) | |
|---|---|---|---|---|---|---|
| Proportion of patients, % | 100.0 | 18.6 | 15.8 | 18.0 | 22.1 | 25.4 |
| Mean hypertension prevalence, % | 25.1 | 14.8 | 19.8 | 23.0 | 26.2 | 29.4 |
| Age, y, mean±SD | 50.5±18.8 | 53.6±19.6 | 51.0±18.8 | 50.4±18.9 | 49.4±18.4 | 48.8±18.2 |
| Age group, % | ||||||
| 18–24 y | 8.4 | 6.2 | 7.8 | 8.4 | 9.2 | 9.9 |
| 25–34 y | 17.0 | 15.7 | 16.5 | 17.3 | 17.4 | 17.5 |
| 35–44 y | 15.8 | 14.5 | 16.1 | 15.9 | 16.2 | 16.1 |
| 45–64 y | 33.0 | 30.1 | 32.5 | 32.4 | 33.9 | 34.8 |
| ≥65 y | 25.9 | 33.5 | 27.2 | 25.9 | 23.3 | 21.8 |
| Sex, % | ||||||
| Female | 58.9 | 58.2 | 56.9 | 58.1 | 59.5 | 60.8 |
| Race or ethnicity, % | ||||||
| Non‐Hispanic White | 30.4 | 65.2 | 47.7 | 31.0 | 13.3 | 8.4 |
| Non‐Hispanic Black | 27.7 | 6.0 | 6.1 | 19.0 | 41.1 | 51.6 |
| Hispanic | 25.1 | 8.4 | 22.9 | 30.9 | 32.6 | 28.1 |
| Asian/Pacific Islander | 8.6 | 11.6 | 14.7 | 10.3 | 5.1 | 4.5 |
| Native American | 0.2 | 0.1 | 0.2 | 0.3 | 0.3 | 0.3 |
| Other/unknown* | 8.0 | 8.7 | 8.3 | 8.6 | 7.6 | 7.1 |
| Distribution by borough, % | ||||||
| Bronx | 23.1 | 2.7 | 4.0 | 14.5 | 43.6 | 38.4 |
| Brooklyn | 28.3 | 19.8 | 29.1 | 30 | 31.8 | 29.9 |
| Manhattan | 20.0 | 55.0 | 8.1 | 19.3 | 10.6 | 10.3 |
| Queens | 22.8 | 15.9 | 41.5 | 30.4 | 12.2 | 19.9 |
| Staten Island | 5.8 | 6.7 | 17.3 | 5.8 | 1.9 | 1.5 |
Other/unknown included patients whose race or ethnicity was coded as other or unknown without further specification.
SDoH varied greatly across census tracts with different levels of prevalence of both conditions. Overall, census tracts with low prevalence exhibited more advantaged social conditions and better neighborhood environments. For example, when comparing the lowest versus highest quintile of age‐adjusted hypertension prevalence, the share of households receiving public assistance income or SNAP benefits was more than fourfold higher in the highest quintile; and 1% versus 10% of households had a Class C housing violation (an immediately hazardous condition requiring prompt correction). Analogous disparities were observed when stratifying by age‐adjusted diabetes prevalence and when using crude prevalence.
Machine Learning Results
Overall, SDoH examined in this study accounted for nearly 80% of across‐tract variation in age‐adjusted hypertension and diabetes prevalence (hypertension: R2=79.5%, RMSE=2.6; diabetes: R2=79.3%, RMSE=2.1) and around 70% of variation in crude hypertension and diabetes prevalence (hypertension: R2=66.2%, RMSE=3.2; diabetes: R2=72.9%, RMSE=2.2).
When using SHAP values to identify SDoH associated with age‐adjusted hypertension and diabetes prevalence, those with the strongest associations were related to socioeconomic status, built environment, and housing conditions (Figure 2), including the percentage of households receiving public assistance income or SNAP benefits (0.20 for both hypertension and diabetes), the percentage of single‐parent families (0.10 for hypertension and 0.07 for diabetes), crime rate (0.10 for both hypertension and diabetes), and housing violations (0.04 for both hypertension and diabetes). Collectively, the top 10 SDoH contribute >70% of the model predictions (sum of the normalized mean absolute SHAP value: 0.74 for hypertension and 0.73 for diabetes). For unadjusted prevalence, concordance with the age‐adjusted top 10 SDoH was moderate for both hypertension (6 out of top 10 were same) and diabetes (7 out of top 10 were same). Long commute time emerged as one of the SDoH most associated with unadjusted prevalence of both hypertension and diabetes.
Figure 2. Normalized mean absolute SHAP value for top 10 SDoH for hypertension (A) and diabetes (B) prevalence.

SDoH indicates social determinants of health; SHAP, Shapley Additive Explanations; and SNAP, supplemental nutrition assistance program.
Scatterplots showed relationship between SHAP values and the top 10 SDoH that contributed most to the prediction (Figure 3 for hypertension and Figure 4 for diabetes). These plots showed that many associations were nonlinear. For example, the proportion of households receiving public assistance income or SNAP benefits was positively associated with predicted prevalence of both conditions, with SHAP values increasing steeply from ∼10% to 60%. The proportion of single‐parent families shifted from negative to positive SHAP values at ∼30% and plateaued after ∼50%. In contrast, a higher proportion of limited English‐speaking households was associated with lower predicted prevalence of both conditions, with SHAP values crossing <0 at ∼15% to 20% and remaining negative at higher levels, potentially due to the limited insurance coverage among this population. 27 Similar relationships were observed for unadjusted prevalence (Figures S2 and S3).
Figure 3. Scatterplots for relationship between top 10 SDoH predictors and SHAP values for hypertension prevalence (adjusted).

SDoH indicates social determinants of health; SHAP, Shapley Additive Explanations; and SNAP, supplemental nutrition assistance program.
Figure 4. Scatterplots for relationship between top 10 SDoH predictors and SHAP values for diabetes prevalence (adjusted).

SDoH indicates social determinants of health; SHAP, Shapley Additive Explanations; and SNAP, supplemental nutrition assistance program.
SHAP‐based feature importance identified SDoH most associated with the model outputs for census tracts in the top quintile of age‐adjusted hypertension and diabetes prevalence. The SDoH that contributed most to predictions among these tracts belonged primarily to 3 to 4 key factors (Figure 5). For example, the strongest predictors among census tracts in the highest age‐adjusted hypertension prevalence were proportion of households receiving public assistance income or SNAP benefits, proportion of limited English‐speaking households, proportion of single‐parent families, and whole‐body air toxin exposure (Figure 5). In the Bronx, the proportion of households receiving public assistance income or SNAP benefits was the strongest predictor among many census tracts, alongside scattered areas where the percentage of single‐parent families and limited English‐speaking households contributed the most to predictions. Northern Manhattan similarly showed a strong concentration of tracts where the strongest association was with public assistance income or SNAP benefits. In Brooklyn, the SDoH most associated with disease prevalence were more diverse: public assistance remained the strongest predictor in many central and southern tracts, but limited English‐speaking households and single‐parent family predominated in other tracts. Queens exhibited a pattern where the proportion of limited English‐speaking households was the strongest predictor in several tracts, supplemented by public assistance in others, with some tracts having air toxin exposure or single‐parent families as the strongest predictors. Finally, in Staten Island, the few high prevalence tracts mostly had public assistance as the strongest predictor. Results were similar for census tracts in the highest quintile of adjusted prevalence of diabetes (Figure 5) and for unadjusted prevalence (Figure S4).
Figure 5. The most important SDoH for model predictions among Census tracts in the highest prevalence quintile of hypertension (left) and diabetes (right), adjusted.

SDoH indicates social determinants of health; SHAP, Shapley Additive Explanations; and SNAP, supplemental nutrition assistance program.
Secondary Analysis
Using the same set of SDoH, ordinary least squares and elastic net models explained less across‐tract variation in age‐adjusted hypertension and diabetes prevalence and had higher RMSEs than XGBoost (Table S4). These results supported the use of XGBoost as the primary approach for capturing nonlinear relationships between SDoH and disease prevalence. The unweighted ML model had results similar to those of the weighted ML model. Detailed findings are presented in Figures S5 to S11. We found that SDoH explained a greater share of across‐tract variation in age‐adjusted hypertension and diabetes prevalence among women than men (women: hypertension: R2=79.8%; diabetes: R2=77.9%; male: hypertension: R2=67.9%; diabetes: R2=71.8%). The leading drivers were broadly similar across sex subgroups, with socioeconomic disadvantage consistently ranking highly in both groups. However, results among women were more consistently dominated by public assistance/SNAP and social, family, and housing‐related factors, whereas results among men placed relatively greater emphasis on educational disadvantage and commuting burden (Figures S12–S24).
DISCUSSION
We applied ML to comprehensive population health data to identify leading SDoH associated with prevalence of hypertension and diabetes in NYC. To our knowledge, this is one of the first studies integrating large‐scale population health data, comprehensive SDoH, and ML to identify the SDoH most associated with hypertension and diabetes at a granular neighborhood level, aiming to inform targeted place‐based interventions to alleviate the burden of heart disease in NYC. We found that SDoH explained nearly 80% of the variation in age‐adjusted prevalence of hypertension and diabetes across NYC census tracts. The 10 SDoH that contributed most to the predictions, including indicators of socioeconomic status, built environment, and housing conditions, accounted for >70% of model's prediction. Among census tracts in the highest age‐adjusted prevalence quintile, the SDoH contributing most to the predictions were concentrated among 3 to 4 key factors, with considerable variations across census tracts and boroughs.
A widely cited estimate suggests that SDoH explain ∼80% of health outcomes, with the remaining 20% explained by clinical care and genetic factors. 28 This figure is based on analysis of socioeconomic conditions and health‐related behaviors, environmental factors, and physical surroundings that influence well‐being. However, critics note that this claim, although influential, often lacks rigorous, condition‐specific evidence to confirm its applicability across diverse populations, geographic areas, or health conditions. Our findings contribute data‐driven evidence to this claim by demonstrating that SDoH account for nearly 80% of across‐tract variation in hypertension and diabetes prevalence in NYC. Prior studies offer limited guidance for place‐based cardiovascular prevention as they rely on composite social indices (eg, Area Deprivation Index) without identifying specific social predictors, 29 , 30 examine only a limited set of social factors, 31 , 32 or identify leading drivers only for the population overall without capturing substantial heterogeneity across neighborhoods. 33 Our study advances literature by moving beyond overall citywide associations to identify tract‐level, neighborhood‐specific social predictors of cardiometabolic burden. Importantly, by examining both age‐adjusted and unadjusted prevalence, our study provides complementary perspectives on neighborhood cardiometabolic burden. Taken together, our findings illustrate how this analytic approach can support more targeted, equitable, and locally tailored strategies to reduce hypertension and diabetes burden.
Among the SDoH we examined, the strongest predictors of age‐adjusted prevalence of hypertension and diabetes across NYC census tracts pointed to both broad socioeconomic vulnerabilities and context‐specific urban factors. The proportion of households receiving public assistance income or SNAP benefits emerged as the top predictor for both conditions, consistent with the well‐documented association between poverty and chronic disease burden. 34 Similarly, lower educational attainment consistently ranked among the most influential predictors, aligning with prior evidence linking education‐related disadvantage to cardiometabolic risk. 35 These results are consistent with other research using different data sets and methods. 16 In the NYC‐specific context, higher crime rates were associated with increased predictions of hypertension and diabetes, suggesting that neighborhood stress and instability may be relevant correlates of cardiometabolic burden. 36 Conversely, a higher proportion of workers walking to work was associated with lower predictions of hypertension and diabetes, consistent with the potential role of active commuting in dense, walkable urban settings such as NYC. 37
Differences between predictors for the adjusted and unadjusted outcomes were observed: age adjustment removes variability attributable to each tract's age structure, thereby highlighting SDoH linked to risk independent of demographics. By contrast, unadjusted prevalence reflects the actual burden experienced by residents given current age composition and daily constraints, information that is critical for service planning. Consequently, unadjusted models are particularly useful for prioritizing near‐term screening and outreach, tailoring clinic hours and locations (eg, near transit hubs), and designing commute‐ or workplace‐based interventions that can yield the greatest absolute health gains. In models using unadjusted prevalence, the share of residents with long public transportation commutes emerged as a leading predictor. This likely reflects several broader neighborhood conditions associated with cardiometabolic risk, including prolonged sitting and irregular schedules that limit healthy eating, activity, and sleep; crowding‐related stress; and time scarcity that hinders clinic visits and medication refills.
Among census tracts in the highest age‐adjusted prevalence quintile of hypertension and diabetes in NYC, the SDoH contributing the most to model predictions varied by borough, reflecting localized vulnerabilities associated with health risks. In the Bronx and northern Manhattan, poverty emerged as the top predictor of elevated hypertension and diabetes rates, consistent with prior evidence linking economic disadvantage to poorer diet, chronic stress, and barriers to care and treatment adherence. 38 In contrast, eastern Queens and parts of Brooklyn showed the proportion of limited English‐speaking households as the top predictor, suggesting that language‐related barriers may be an important correlate of lower health literacy and reduced access to preventive services. 27 In southern Brooklyn and select waterfront tracts, whole‐body air toxins emerges as a borough‐specific risk, likely elevating hypertension via inflammation and vascular damage. 39 In some Brooklyn and Bronx tracts, single‐parent households contribute most to the prediction, aligning with evidence that family stress and related lower education worsen heart health and underscoring the need for targeted community/school supports. 8 , 15 , 36
Many of the leading SDoH we identified are structural and not amenable to one‐off clinical fixes. Consistent with published guidance, 40 partnering with communities is foundational for equitable implementation; our predictive findings can inform where and how to codesign interventions for subsequent causal evaluation. Evidence syntheses further show that community‐engaged public health interventions can improve behaviors and reduce health inequalities across diverse settings. 41 To address these leading social drivers, codesigned strategies might include transit‐ and workplace‐based screening, flexible clinic hours, community safety partnerships, and benefit‐navigation supports aligned with locally prioritized needs.
Our findings may help translate HealthyNYC's cardiometabolic priorities into more targeted neighborhood‐based strategies. HealthyNYC seeks to reduce cardiovascular disease and diabetes‐related deaths by 5% by 2030 and emphasizes improving access to food, housing, and other social supports. 10 , 11 Our census tract level results suggest that these efforts may be more effective if tailored to local conditions: neighborhoods where poverty or public assistance were dominant predictors may warrant greater attention to health‐related social needs, nutrition/food security, and other material hardships; neighborhoods where limited English proficiency was most important may warrant linguistically and culturally tailored outreach and care navigation; and neighborhoods where crime or environmental toxins were prominent may require consideration of cross‐sector interventions beyond clinical care alone. Our data‐driven local insights could help HealthyNYC further better prioritize community health workers, diabetes prevention programs, and safety‐net primary care support in the neighborhoods most affected by hypertension and diabetes.
This study provides a reproducible analytic pipeline to support data‐driven, place‐based efforts to identify the most important social predictors citywide and the leading predictors within specific neighborhoods. This approach can be applied to comprehensive population health data from electronic health records, administrative claims, or public sources such as the Centers for Disease Control and Prevention PLACES linked with neighborhood‐level SDoH data 16 to guide cardiovascular disease‐focused population health initiatives in other cities. Beyond HealthyNYC, Boston's Live Long and Well agenda aims to advance equity in cardiometabolic health across neighborhoods by addressing leading social needs and barriers, 42 and Healthy Chicago 2025 prioritizes the most affected communities through initiatives such as the Community Health Response Corps for chronic disease prevention. 43 In addition, other global partners of the AI4HealthyCities initiative, such as Singapore and Helsinki, have applied a similar analytic pipeline and identified similar predictors for diabetes and hypertension. These findings may help city officials and other stakeholders align local cardiovascular disease prevention strategies with the specific social factors most strongly associated with disease burden in each neighborhood.
Sex‐stratified findings suggest that neighborhood SDoH may be more strongly associated with cardiometabolic risk among women, consistent with prior evidence that women's cardiovascular disease risk is often more tightly associated with social and caregiving burdens, household resource constraints, and barriers to preventive care. 44 , 45 , 46 Factors such as reliance on public assistance, single‐parent family structure, and housing instability may therefore be stronger neighborhood correlates of chronic stress, time scarcity, and reduced access to health‐promoting resources among women. 33 , 44 , 46 By contrast, the relatively greater importance of educational disadvantage and commuting burden among men is consistent with potential sex differences in how education, work‐related exposures, and mobility patterns are associated with cardiometabolic risk. These sex differences suggest that similar neighborhood disadvantage may be linked to partly different social roles and exposures for women and men, 24 , 47 , 48 underscoring the importance of sex‐informed, place‐based prevention strategies rather than assuming the same neighborhood predictors matter equally across populations.
This study has several limitations. First, hypertension and diabetes were identified using diagnosis codes from secondary data, which rely heavily on individuals' access to health care services and the consistency of clinical coding practices. This approach can lead to underestimation of prevalence, particularly in underserved neighborhoods where residents face barriers to health care, resulting in undiagnosed or undocumented cases. Second, patients may not promptly update their addresses in health system records upon relocation, leading to inaccuracies in mapping individuals to census tracts. Additionally, the cross‐sectional nature of the data limits inferences about causality between SDoH and prevalence of hypertension and diabetes, and the analysis at the census tract level may be susceptible to ecological fallacy, where aggregate associations do not necessarily reflect individual‐level risks. However, this approach can inform place‐based policies and the design of randomized clinical trial or other evaluations as it reveals neighborhood‐level patterns and candidate levers without relying on individual‐level data. Finally, future work should also examine whether the predictive performance of neighborhood SDoH and the leading SDoH associated with disease burden vary across racial and ethnic subgroups.
Conclusions
Despite these limitations, our work demonstrates that ML can be used to identify which SDoH are strongest predictors of higher and lower prevalence of hypertension and diabetes at the census tract level. These quantitative profiles can be used to precisely address modifiable social conditions and to target cardiovascular risk reduction interventions to subpopulations and places where these predictors are most prominent. Such analyses may help policymakers craft more targeted, local interventions and allocate resources more efficiently to reduce disparities and improve community health.
Sources of Funding
This project was supported by a grant from the Novartis Foundation (NF 231850–01). The funder was only involved in interpretation and had no involvement in data collection, analysis, or other aspects.
Disclosures
Coauthor William B Weeks reports the following: board member, United Hospital Fund; board member, International Society for Urban Health; board member, Yura Health. The remaining authors have no disclosures to report.
Supporting information
Data S1
Tables S1–S4
Figures S1–S24
Acknowledgments
This publication was produced from raw data purchased from or provided by the New York State Department of Health. However, the conclusions derived, calculations, and views expressed herein are those of the author(s) and do not reflect the conclusions or views of the New York State Department of Health. The New York State Department of Health, its employees, officers, and agents make no representation, warranty, or guarantee as to the accuracy, completeness, currency, or suitability of the information provided here.
This article was sent to Jacquelyn Y. Taylor, PhD, PNP‐BC, RN, FAHA, FAAN, Associate Editor, for review by expert referees, editorial decision, and final disposition.
Supplemental Material is available at https://www.ahajournals.org/doi/suppl/10.1161/JAHA.125.049029
For Sources of Funding and Disclosures, see page 11.
References
- 1. New York City Department of Health and Mental Hygiene . Summary of Vital Statistics 2022. Accessed August 6, 2025. https://www.nyc.gov/assets/doh/downloads/pdf/vs/2022sum.pdf.
- 2. Padwal R, Straus SE, McAlister FA. Evidence based Management of Hypertension. Cardiovascular risk factors and their effects on the decision to treat hypertension: evidence based review. BMJ. 2001;322:977–980. doi: 10.1136/bmj.322.7292.977 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3. American College of Cardiology . Cardiovascular Risk Reduction. Accessed August 6, 2025. https://www.acc.org/latest‐in‐cardiology/articles/2018/05/14/24/42/cover‐story‐cardiovascular‐risk‐reduction.
- 4. NYC Health . Prevalence of Hypertension, Awareness, Treatment, and Control in New York City. Accessed September 30, 2025. https://www.nyc.gov/assets/doh/downloads/pdf/epi/databrief135.pdf.
- 5. Group SR , Wright JT Jr, Williamson JD, Whelton PK, Snyder JK, Sink KM, Rocco MV, Reboussin DM, Rahman M, Oparil S, et al. A randomized trial of intensive versus standard blood‐pressure control. N Engl J Med. 2015;373:2103–2116. doi: 10.1056/NEJMoa1511939 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6. U.S. Department of Health and Human Services . The Surgeon General's Call to Action to Control Hypertension. Accessed August 6, 2025. https://www.cdc.gov/high‐blood‐pressure/media/pdfs/SG‐CTA‐HTN‐Control‐Report‐508.pdf.
- 7. World Health Organization . Social Determinants of Health. Accessed August 6, 2025. https://www.who.int/health‐topics/social‐determinants‐of‐health#tab=tab_1.
- 8. Akinyelure OP, Jaeger BC, Oparil S, Carson AP, Safford MM, Howard G, Muntner P, Hardy ST. Social determinants of health and uncontrolled blood pressure in a National Cohort of Black and White US adults: the regards study. Hypertension. 2023;80:1403–1413. doi: 10.1161/HYPERTENSIONAHA.122.20219 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9. Hill‐Briggs F, Fitzpatrick SL. Overview of social determinants of health in the development of diabetes. Diabetes Care. 2023;46:1590–1598. doi: 10.2337/dci23-0001 [DOI] [PubMed] [Google Scholar]
- 10. New York City Department of Health and Mental Hygiene . Addressing Unacceptable Inequities: A Chronic Disease Strategy for New York City. Accessed August 6, 2025. https://www.nyc.gov/assets/doh/downloads/pdf/about/chronic‐disease‐strategy‐nyc.pdf.
- 11. New York City Department of Health and Mental Hygiene . Healthynyc: New York City's Campaign for Healthier, Longer Lives. Accessed August 6, 2025. https://www.nyc.gov/site/doh/about/about‐doh/healthynyc.page.
- 12. Aerts A, Williams MA. AI‐driven evolution of precision population cardiovascular health in cities. Nat Rev Cardiol. 2025;22:213–214. doi: 10.1038/s41569-025-01125-2 [DOI] [PubMed] [Google Scholar]
- 13. Volkmann AM, Adamson E, Boxley E, Napier D, Speyer P, Pierre R, Zhang W, Zhang Y. AI4HealthyCities: a protocol for a mixed‐method ethnographic study on the social determinants of cardiovascular health in New York City. BMJ Public Health. 2025;3:e002382. doi: 10.1136/bmjph-2024-002382 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14. Centers for Disease Control and Prevention . Age Adjustment. Accessed August 6, 2025. https://www.cdc.gov/nchs/hus/sources‐definitions/age‐adjustment.htm.
- 15. Chaturvedi A, Zhu A, Gadela NV, Prabhakaran D, Jafar TH. Social determinants of health and disparities in hypertension and cardiovascular diseases. Hypertension. 2024;81:387–399. doi: 10.1161/HYPERTENSIONAHA.123.21354 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16. Tanner D, Zhang Y, Chang JE, Speyer P, Adamson E, Aerts A, Lavista Ferres JM, Weeks WB. Machine learning to evaluate the relationship between social determinants and diabetes prevalence in New York City. BMJ Public Health. 2024;2:e001394. doi: 10.1136/bmjph-2024-001394 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17. Dawson AZ, Walker RJ, Gregory C, Egede LE. Quantifying direct effects of social determinants of health on systolic blood pressure in United States adult immigrants. J Behav Med. 2021;44:345–354. doi: 10.1007/s10865-020-00199-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18. Bartoskova Polcrova A, Dalecka A, Szabo D, Gonzalez Rivas JP, Bobak M, Pikhart H. Social and environmental stressors of cardiometabolic health. Sci Rep. 2024;14:14179. doi: 10.1038/s41598-024-64847-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19. Descarpentrie A, Esaian S, Allen B, Espinoza J, Midya V, Young N, Alderete TL, Goran MI. Social and behavioral factors associated with diabetes in Southern California vs the US. JAMA Netw Open. 2025;8:e2538377. doi: 10.1001/jamanetworkopen.2025.38377 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20. Kino S, Hsu YT, Shiba K, Chien YS, Mita C, Kawachi I, Daoud A. A scoping review on the use of machine learning in research on social determinants of health: trends and research prospects. SSM Popul Health. 2021;15:100836. doi: 10.1016/j.ssmph.2021.100836 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21. Chen T, Guestrin C. Xgboost: A Scalable Tree Boosting System. KDD'16: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. 2016;15:785–794. [Google Scholar]
- 22. Friedman JH. Greedy function approximation: a gradient boosting machine. Ann Statist. 2001;29:1189–1232. [Google Scholar]
- 23. Sheetal A, Jiang Z, Di Milia L. Using machine learning to analyze longitudinal data: a tutorial guide and best‐practice recommendations for social science researchers. Appl Psychol. 2023;72:1339–1364. doi: 10.1111/apps.12435 [DOI] [Google Scholar]
- 24. Yang C, Zhang N, Gao T, Zhu Y, Gong C, Xu M, Feng C. Association between social determinants of health and premature atherosclerotic cardiovascular disease and sex differences in US adults: a cross‐sectional study. Prev Med Rep. 2025;50:102967. doi: 10.1016/j.pmedr.2025.102967 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25. Varma S, Simon R. Bias in error estimation when using cross‐validation for model selection. BMC Bioinf. 2006;7:91. doi: 10.1186/1471-2105-7-91 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26. Qi X, Wang S, Fang C, Jia J, Lin L, Yuan T. Machine learning and Shap value interpretation for predicting comorbidity of cardiovascular disease and cancer with dietary antioxidants. Redox Biol. 2025;79:103470. doi: 10.1016/j.redox.2024.103470 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27. Kaiser Family Foundation . Overview of Health Coverage and Care for Individuals with Limited English Proficiency (Lep). Accessed September 30, 2025. https://www.kff.org/racial‐equity‐and‐health‐policy/overview‐of‐health‐coverage‐and‐care‐for‐individuals‐with‐limited‐english‐proficiency/?utm_source=chatgpt.com.
- 28. National Academy of Medicine . Social Determinants of Health 101 for Health Care: Five Plus Five. Accessed August 6, 2025. https://nam.edu/perspectives/social‐determinants‐of‐health‐101‐for‐health‐care‐five‐plus‐five/.
- 29. Jain V, Al Rifai M, Khan SU, Kalra A, Rodriguez F, Samad Z, Pokharel Y, Misra A, Sperling LS, Rana JS, et al. Association between social vulnerability index and cardiovascular disease: a behavioral risk factor surveillance system study. J Am Heart Assoc. 2022;11:e024414. doi: 10.1161/JAHA.121.024414 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30. Bevan G, Pandey A, Griggs S, Dalton JE, Zidar D, Patel S, Khan SU, Nasir K, Rajagopalan S, Al‐Kindi S. Neighborhood‐level social vulnerability and prevalence of cardiovascular risk factors and coronary heart disease. Curr Probl Cardiol. 2023;48:101182. doi: 10.1016/j.cpcardiol.2022.101182 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31. Vieira de Oliveira Salerno PR, Cotton A, Elgudin YE, Virani S, Nasir K, Neeland I, Rajagopalan S, Sattar N, Al‐Kindi S, Deo SV. Social and environmental determinants of health and cardio‐kidney‐metabolic syndrome‐related mortality. JAMA Netw Open. 2024;7:e2435783. doi: 10.1001/jamanetworkopen.2024.35783 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32. Son H, Zhang D, Shen Y, Jaysing A, Zhang J, Chen Z, Mu L, Liu J, Rajbhandari‐Thapa J, Li Y, et al. Social determinants of cardiovascular health: a longitudinal analysis of cardiovascular disease mortality in US counties from 2009 to 2018. J Am Heart Assoc. 2023;12:e026940. doi: 10.1161/JAHA.122.026940 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33. Havranek EP, Mujahid MS, Barr DA, Blair IV, Cohen MS, Cruz‐Flores S, Davey‐Smith G, Dennison‐Himmelfarb CR, Lauer MS, Lockwood DW, et al. Social determinants of risk and outcomes for cardiovascular disease: a scientific statement from the American Heart Association. Circulation. 2015;132:873–898. doi: 10.1161/CIR.0000000000000228 [DOI] [PubMed] [Google Scholar]
- 34. Sells ML, Blum E, Perry GS, Eke P, Presley‐Cantrell L. Excess burden of poverty and hypertension, by race and ethnicity, on the prevalence of cardiovascular disease. Prev Chronic Dis. 2023;20:E109. doi: 10.5888/pcd20.230065 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35. Zacher M. Educational disparities in hypertension prevalence and blood pressure percentiles in the Health and Retirement Study. J Gerontol B Psychol Sci Soc Sci. 2023;78:1535–1544. doi: 10.1093/geronb/gbad084 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36. Kim Y, Jang S, Ullahansari S, Vo J, Hyun K, Fadel PJ. Neighborhood safety and hypertension risk: a systematic review. J Am Heart Assoc. 2025;14:e035381. doi: 10.1161/JAHA.124.035381 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37. Lee LL, Mulvaney CA, Wong YKY, Chan ES, Watson MC, Lin HH. Walking for hypertension. Cochrane Database Syst Rev. 2021;2:CD008823. doi: 10.1002/14651858.CD008823.pub2 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38. NYC Mayor's Office of Climate and Environmental Justice . Access to Resources. Accessed August 6, 2025. https://climate.cityofnewyork.us/ejnyc‐report/the‐state‐of‐environmental‐justice‐in‐nyc/access‐to‐resources/.
- 39. Krismanuel H. Air pollution and cardiovascular diseases: mechanisms, evidence, and mitigation strategies. J Med Life. 2025;18:411–427. doi: 10.25122/jml-2025-0018 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40. World Health Organization . Community Engagement: A Health Promotion Guide for Universal Health Coverage in the Hands of the People. Accessed August 21, 2025. https://iris.who.int/handle/10665/334379?utm_source=chatgpt.com.
- 41. O'Mara‐Eves A, Brunton G, Oliver S, Kavanagh J, Jamal F, Thomas J. The effectiveness of community engagement in public health interventions for disadvantaged groups: a meta‐analysis. BMC Public Health. 2015;15:129. doi: 10.1186/s12889-015-1352-y [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42. City of Boston . Live Long and Well. Boston's Population Health Equity Agenda. Accessed March 16, 2026. https://www.boston.gov/sites/default/files/file/2025/02/Live%20Long%20and%20Well%20Report_Final_Feb2025.pdf.
- 43. Chicago Department of Public Health . Healthy Chicago 2025 Strategic Plan. Accessed March 16, 2026. https://www.chicago.gov/content/dam/city/depts/cdph/community‐health/healthy‐chicago/Healthy‐Chicago‐Report‐v10‐EN‐ax.10.24.2025.pdf.
- 44. Garcia M, Mulvagh SL, Merz CN, Buring JE, Manson JE. Cardiovascular disease in women: clinical perspectives. Circ Res. 2016;118:1273–1293. doi: 10.1161/CIRCRESAHA.116.307547 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45. Lee S, Colditz GA, Berkman LF, Kawachi I. Caregiving and risk of coronary heart disease in U.S. women: a prospective study. Am J Prev Med. 2003;24:113–119. doi: 10.1016/s0749-3797(02)00582-2 [DOI] [PubMed] [Google Scholar]
- 46. Cho L, Davis M, Elgendy I, Epps K, Lindley KJ, Mehta PK, Michos ED, Minissian M, Pepine C, Vaccarino V, et al. Summary of updated recommendations for primary prevention of cardiovascular disease in women: JACC state‐of‐the‐art review. J Am Coll Cardiol. 2020;75:2602–2618. doi: 10.1016/j.jacc.2020.03.060 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47. O'Neil A, Scovelle AJ, Milner AJ, Kavanagh A. Gender/sex as a social determinant of cardiovascular risk. Circulation. 2018;137:854–864. doi: 10.1161/CIRCULATIONAHA.117.028595 [DOI] [PubMed] [Google Scholar]
- 48. Backholer K, Peters SAE, Bots SH, Peeters A, Huxley RR, Woodward M. Sex differences in the relationship between socioeconomic status and cardiovascular disease: a systematic review and meta‐analysis. J Epidemiol Community Health. 2017;71:550–557. doi: 10.1136/jech-2016-207890 [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data S1
Tables S1–S4
Figures S1–S24
