Background

Stroke is the leading cause of death and disability-adjusted life years worldwide, including 795,000 new stroke cases and 142,142 stroke-related deaths in the United States in 2018 [1]. There is now considerable evidence for the risk factors of stroke at the individual level. For example, stroke has been found to be correlated with modifiable risk factors, like high blood pressure, obesity and elevated cholesterol level, and unhealthy behaviors like smoking and sedentary lifestyle [2,3,4]. The incidence and prevalence of stroke were also shown to be markedly higher among older adults, Blacks and those with low socioeconomic status [5].

More recently, a growing number of studies reported that neighborhood context was associated with stroke incidence and mortality after stroke [6,7,8,9,10,11,12,13,14,15]. However, relatively few studies [16,17,18,19,20] have examined such associations when both the potential risk factors and the outcome are at the neighborhood level. Of note, three studies characterized the neighborhood-level associations for focused research questions with predetermined predictors, e.g., racial disparities in Howard G et al. [16] and Pickle LW et al. [17], and the impact of fast food restaurants in Morgenstern LB et al. [18]

Three other studies sought to identify and rank important predictors for the neighborhood-level prevalence of cardiovascular diseases at the mean level [19, 21], and for different percentiles of the response distribution [20]. A detailed summary of the related articles and methods involved and study results appear in Table 1.

Table 1 Literature studying associations between the neighborhood risk factors and stroke at individual-level or neighborhood-level

No studies have examined the effect mechanisms of neighborhood level risk factors on stroke prevalence while accounting for the multilevel data structure of the neighborhood health data. As a direct consequence, there is a lack of understanding about to what extent the differences in stroke prevalence in the US states can be attributed to differences in key neighborhood-level characteristics.

To fill the research gaps, our study employed a two-stage modeling approach to understand how key neighborhood characteristics affect the geographic variation in stroke prevalence. The first stage focused on identifying key determinants of stroke prevalence at the neighborhood level using a novel and precise Bayesian machine learning algorithm. The second stage used a Bayesian multilevel modeling approach to evaluate the effects of the key determinants on stroke prevalence across 49 states in the US. The investigation would provide valuable guidance for developing area-based interventions focusing on key modifiable risk factors at the neighborhood level to reduce stroke prevalence in specifically targeted areas.

Methods

Data source

We integrated three data sources and created a large-scale neighborhood health data [19]. Census tract was used as a proxy of neighborhood. Data on the prevalence of health outcomes, prevention, and health behavior measures were drawn from the Centers for Disease Control and Prevention (CDC)’s 500 Cities Project 2017 data release [22]. Socio-demographic measures for the selected census tracts were from the 2011–2015 American Community Survey 5-Year Estimates [23, 24]. We obtained information on environmental exposures from the Environmental Protection Agency (EPA)’s Environmental Justice Screening (EJSCREEN) database [25].

The main outcome of the study was stroke prevalence measured at census tract level. We included 24 potential predictors of four types, sociodemographic information, prevention measures, unhealthy behaviors, and environmental measures, which are related to cardiovascular health [20]. Detailed descriptions of the variables, their data sources and distributions are shown in Table 2 and Fig. 1. Both the outcome and the predictors were measured at the neighborhood level. After excluding missing data on key variables, our final analytical dataset included 26,697 census tracts across 49 US states. The number of census tracts in a state varies from 11 to 5368 with a median value of 307.

Table 2 Distribution of 24 potential neighborhood-level predictors and prevalence of stroke across 500 cities
Fig. 1
figure 1

Boxplots of 24 potential neighborhood-level predictors and prevalence of stroke across 500 cities. Measures are in percentages for all variables except those marked with an asterisk, which are in absolute measurements

Statistical analysis

We identified key neighborhood-level determinants of and their impacts on the neighborhood-level stroke prevalence using a two-stage modeling approach. In the first stage, we used Bayesian machine learning to identify key factors. The second stage applied a multilevel Bayesian regression to evaluate the state-level effects on stroke prevalence of these key factors.

We first used an iterative approach to remove the minimum number of highly correlated predictor variables as redundant predictors for stable model performance [20, 26, 27]. Alternative feature selection methods may be used for other study settings such as imaging data [28, 29] or classification problems [30, 31]. We then implemented a permutation-based variable selection algorithm, BART-Machine, developed in Bleich et al. to identify major determinants for the neighborhood-level prevalence of stroke [32]. BART-Machine uses the infrastructure of the most influential generative probabilistic machine learning model, Bayesian Additive Regression Trees (BART) [33]. BART has been shown to have better predictive performance than many supervised machine learning methods, including random forests, boosted models and neural nets, in a variety of study settings [33, 34]. Details of the BART model have been described elsewhere [19, 35]. BART-Machine uses the variable inclusion proportions (VIPs), i.e., the proportion of times each variable is selected as a splitting rule divided by the total number of splitting rules in building the BART model, as the measure of variable importance. The variable selection procedure can be outlined as follows: i) Compute the VIP for each predictor from the BART model fitted to the observed data. ii) Permute the response variable and rebuild the model and compute the VIPs for all predictors, which we refer to as “null” VIPs. Repeat this process 100 times to create a null permutation distribution of the VIPs. iii) Include a predictor if its VIP from the observed data exceeds the 95% quantile of the distribution of the null VIPs.

The BART-Machine variable selection procedure can be implemented using the R package bartMachine. This permutation-based variable selection approach does not require any additional assumptions beyond those of the BART model. The sum-of-trees plus normal errors is a flexible assumption that performs well across a wide range of data settings, especially relative to methods that make stronger parametric demands [32]. A disadvantage of the BART permutation-based procedure is the computational cost associated with running BART models on multiple (e.g., 100) permutation sets. However, parallel computing on multiple cores can be used to speed up computation. Comparisons of the performance of BART-Machine versus other tree-based machine learning approaches, including random forests [36], [36] and boosting [37], have been described elsewhere and have shown that BART-Machine tends to identify the most parsimonious set of important predictors while maintaining high prediction accuracy [19].

To investigate the contribution of identified key determinants to the prevalence of stroke, we fitted a fully Bayesian multilevel linear regression model to all census tracts in the US. The model explicitly took into account that individual census tracts (first level) are clustered in the states (second level). This was accomplished by pooling information across clusters, which tends to improve estimates about each cluster. The improved estimation leads to several benefits, including improved estimates for repeat sampling caused by multiple observations arising from the same unit, improved estimates for imbalance in sampling, explicit modeling of variation among units or groups within the data, and avoiding averaging which can manufacture false confidence [38]. The multilevel model is specified as

$$ {y}_{ij}={\beta}_{0j}+{\beta}_{1j}{x}_{1 ij}+\dots +{\beta}_{kj}{x}_{kij}+{\epsilon}_{ij} $$
$$ {\boldsymbol{\beta}}_{\boldsymbol{j}}=\left[{\beta}_{0j},\dots, {\beta}_{kj}\right]^{\prime}\sim \mathrm{MVNormal}\left(\boldsymbol{\mu}, \boldsymbol{\Sigma} \right), $$

where yij is the prevalence of stroke for census tract i in state j, x1ij, …, xkij are k key determinants for census tract i in state j, and \( {\epsilon}_{ij}\sim N\left(0,{\sigma}_{\epsilon}^2\right) \) is the residual term assumed to normal. The parameters β1j,…, βkj, which respectively encode the effects of k key determinants, are allowed to vary across states and are assigned their own distributions. We have also allowed the intercept, β0, to vary across states in a similar manner. Let βj denote the vector of βj ’s. We assume βj ’s are realizations from a common, multivariate normal distribution, βj ∼ MVNormal(μ, Σ), where μ is a (k + 1) × 1 mean vector and Σ is a (k + 1) × (k + 1) covariance matrix.

For a fully Bayesian analysis, we place prior distributions on the parameters, for which we chose weakly-informative priors. We specify weakly informative priors as follows.

$$ \boldsymbol{\Sigma} =\boldsymbol{D}\left({\sigma}_{\beta}\right)\boldsymbol{RD}\left({\sigma}_{\beta}\right) $$
$$ \boldsymbol{R}\sim \mathrm{LKJCorr}(2) $$
$$ {\sigma}_l\sim \mathrm{Half}\ \mathrm{Cauchy}\left(0,1\right) $$
$$ {\sigma}_{\epsilon}\sim \mathrm{Half}\ \mathrm{Cauchy}\left(0,1\right) $$
$$ {\mu}_l\sim N\left(0,10\right),l=1,\dots, k+1, $$

where D(σβ) is a diagonal matrix with each diagonal element σl representing the standard deviation of βljl = 1, …, k + 1, on which we specified a Half Cauchy (0,1) prior distribution, and R is the corresponding correlation matrix for which we assigned a LKJ-Correlation prior with a shape parameter of 2 as recommended in McElreath [19]. We also used Half Cauchy (0,1) prior for σϵ and assumed a normal distribution for each mean of the βj ’s, μl, with large enough standard deviation to be noninformative.

We used R package brms to get full Bayesian statistical inference with Markov chain Monte Carlo (MCMC) sampling for our Bayesian multilevel model [39]. The brms package provides a flexible interface to fit Bayesian multilevel models using Stan, which is a state-of-the-art platform for statistical modeling and high-performance statistical computation [40]. We used Stan’s default no-U-turn sampler (NUTS), which is a highly efficient algorithm that avoids the random walk behavior and sensitivity to correlated parameters and allows faster convergence to high-dimensional target distributions [39, 41]. To ensure convergence of posterior distribution, we used four MCMC chains, each with 5000 iterations, of which the first 2000 iterations were warmup to calibrate the sampler, leading to a total of 12,000 posterior samples. The data analysis in this manuscript was conducted in 2020.

Results

We first identified and removed eight redundant variables. We then implemented BART-Machine to the remaining 16 variables and identified, for the prevalence of stroke at the neighborhood level, four most important predictors: the proportion of people who are older than 65, the proportion of non-Hispanic black, median household income and ambient ozone level. These four variables were selected as they all had proportion included above their corresponding thresholds, as shown in Fig. 2.

Fig. 2
figure 2

Visualization of the variable selection algorithm. The vertical lines are the threshold levels determined from the “null” distributions for Variable Inclusion Proportions computed from 100 permutated data. Variables passing this threshold are displayed as solid dots. Open dots correspond to variables that are not selected

We generated a ring map using the R software 3.6.2 in Fig. 3 to visualize the geographic variations in the prevalence of stroke and the four identified key determinants. The R codes can be found in the supplementary materials. Levels of these variables were categorized by tertiles. States with a high stroke prevalence were concentrated in the southern US. Ten out of 16 southern states had stroke prevalence ranked in the highest tertile. These ten states also tended to have low median household income and high proportion of non-Hispanic blacks. The northeast region appeared to have the lowest ozone level and youngest population, and the West has the highest median household income and the lowest prevalence of stroke. The proportion of older residents and non-Hispanic blacks is also higher overall in the South.

Fig. 3
figure 3

Ring map visualization of stroke prevalence and four major determinants for 50 states and the District of Columbia states. The median value of the measures of census tracts was used for each state. Low, Medium and High were categorized based on tertiles of the distribution of median values across the states. There were no ozone measures for Hawaii and Alaska. Ring map was created using the open source R software version 3.6.1. URL https://www.R-project.org/. The R codes are provided in the supplementary materials

Figure 4 summarizes the posterior distributions of the effects of the four key neighborhood characteristics obtained from our Bayesian multilevel model. First, overall, higher proportion of older inhabitants and larger share of non-Hispanic blacks were consistently associated with higher prevalence of stroke across the states. Medium household income was inversely associated with the prevalence of stroke. The ozone-stroke associations were found to be positive in 10 states, Connecticut, Florida, Illinois, Indiana, Michigan, Minnesota, Ohio, South Carolina, Tennessee and Texas. On the other hand, negative ozone-stroke associations were also found in California, Massachusetts, New Jersey, New York, Washington. Second, there appears to be substantial variation in the effect of each of four determinants across states with nonoverlapping credible intervals for some states. For example, the effect of median household income and advancing age were substantially stronger in Mississippi than in the District of Columbia (about 6 and 2 times larger effects, respectively, with nonoverlapping intervals.) The most pronounced effect of age structure was observed in Mississippi, and the effect of racial/ethnic composition was strongest in Georgia while smallest in Arizona.

Fig. 4
figure 4

Posterior mean of the state-specific effects of four key neighborhood-level determinants (solid dots) and corresponding 95% credible intervals (error bars). Effect estimates represent average changes in percent of stroke per 10% increase in AGE65_OVER or NON_HIS_BLACK, and per $100,000 increase in MED_INCOME and per 10 ppb increase in OZONE. Results are shown for 49 states as there are no ozone measures for Hawaii and Alaska. The states are presented in four regions of the U.S. Blue lines represent the effects averaged across all states, ignoring variability in the states and yielding tightness of uncertainty intervals

Discussion

The rise of machine learning techniques and algorithmic advances have enabled computer systems to carry out complex processes by learning from data, rather than following pre-programmed rules. The advent of the Big data era has stimulated novel approaches using machine learning techniques to generate relevant solutions -- faster and more accurately -- to impacting health. Machine learning has been used to predict healthcare outcomes including cost, utilization, and quality [42,43,44,45].

We leveraged a large-scale cardiovascular health dataset with information on unhealthy behaviors, prevention measures, sociodemographic status and environmental factors garnered from more than 20,000 census tracts in 500 US major cities. The key neighborhood-level determinants identified via the BART-Machine algorithm were in general in good agreement with known patient-level risk factors. Research from other studies also suggested a relationship between stroke and low neighborhood-level income [7, 9, 11,12,13,14,15, 19, 20], age [14, 15, 19, 20] and Hispanic blacks [8, 15,16,17, 19, 20].

We employed a Bayesian multilevel modeling approach to attribute the geographic variability in the prevalence of stroke to major determinants while recognizing the hierarchical structure of the data set. Multilevel modeling improves estimates about each state by allowing partial pooling and explicitly modeling of variations among census tracts and states, which is particularly beneficial in the presence of highly unequal sample size – ranging from 11 to 5368 – across the states [38, 46, 47]. By explicitly modeling the variability in stroke prevalence across the states, our results provided a high resolution of how the neighborhood-level prevalence of stroke was attributed to key neighborhood characteristics across different states. Comparison of the blue lines representing the average effects with the state-specific posterior means and intervals in Fig. 4 suggests that ignoring the variability would lead to biased characterization of these associations, which can be directional (ozone effects) or of significant magnitude (age, income or non-Hispanic blacks).

Understanding these state-level variations is also important from the public health and policy perspectives, particularly for urban areas. In general, we found that neighborhoods with older and more non-Hispanic black populations tended to have a higher prevalence of stroke, while wealthier communities tended to have lower stroke prevalence. We also noted a stronger effect of income in poorer states (e.g. Mississippi, Ohio) than in affluent states (e.g. Virginia, District of Columbia). In addition to the region-specific effects estimated by our Bayesian multilevel modelling approach, our study was the first to shed lights on the association between stroke and ozone level both at the neighborhood level. We found that the effect of ozone on stroke prevalence at neighborhood-level is mixed, as it was found to be positively associated with stroke in less wealthy states while negatively associated with stroke in more affluent states. At individual-level, findings of the effect of ozone on stroke and stroke-related health outcomes have also been inconsistent. Montresor et al. and Wing et al. have demonstrated a negative association between average ozone levels and risk of strokes in South Carolina and Texas [48, 49]. Henrotin et al. found that there was a positive association between risk of ischemic stroke and daily ozone exposure, while Yu et al. suggested protective effects of ozone on incidence and outcomes of stroke [50,51,52]. Investigation into the link between ozone and cardiovascular health merits further research. These results are in line with those from patient-level studies and suggest that there is at present no general agreement about the effect of ozone on stroke and further research in this area is warranted.

Our study has important implications related to public health and policy. Identifying major neighborhood-level determinants allows in-depth investigation into the exposition of geographic variation in the prevalence of stroke by major neighborhood characteristics. The findings from our study can provide tailored area-based interventions to reduce the burden of cardiovascular disease. For example, interventions aimed at tackling disparities in the prevalence of stroke could focus on the older population structure in states like Mississippi and Alabama in the South region, and on ozone level in densely populated states like New York and Massachusetts. As the proportion of non-Hispanic blacks was shown to have the largest effect in Gregoria, Kansas and Kentucky, it may be critical for these states to address avoidable inequalities and to eliminate health and health care disparities [53].

There are several limitations to this study. First, the prevalence of stroke only reflects the proportion of population who are alive and have a history of stroke, therefore it may not accurately and completely reflect the incidence of stroke and severity of the disease, and is subject to survivor bias [54]. However, these measures offer the best evidence available for these specific areas and the small area estimation approach used by the CDC has been well validated [55]. Second, due to the nature of cross-sectional data and ecological design, we could not establish the causal association between predictors and stroke health outcomes. Our study results can potentially motivate future research on causality with patient-level longitudinal data [54, 56, 57]. Third, investigating the relationship between environmental risk factors such as ozone and cardiovascular health could be a worthwhile contribution. Finally, future efforts are needed to integrate neighborhood- and individual-level data and study how risk factors at the neighborhood level jointly impact stroke incidence and other health outcomes after stroke with individual characteristics, such as diet, education and social support. Ultimately it will be critical to incorporate these knowledge into interventions to improve stroke care at a population level.

Conclusions

We used a large-scale neighborhood-level data on 500 cities in the US pooled from multiple sources, and implemented a two-stage approach to first identify the key determinants for stroke prevalence at the neighborhood level and then quantify the geographic variability in the effects of key determinants. This was the first study to contribute insights into the underlying effect mechanisms between neighborhood characteristics and stroke prevalence while taking into account the multilevel data structure, when both predictors and outcomes are measured at the neighborhood level. We used a state-of-the-art Bayesian machine learning technique in the first stage and the multilevel modelling approach for the second stage. We found that a higher proportion of older inhabitants and a larger share of non-Hispanic Blacks were associated with a higher prevalence of stroke across the states. Medium household income was inversely associated with the prevalence of stroke. Ozone was found to be positively associated with stroke prevalence in 10 states, while negatively associated with stroke in five states. There was substantial variation in the associations between these four key factors with stroke prevalence across the states, in both the direction and the magnitude. With the large sample size, wide-ranging data information and methodologically rigorous analyses, our study results improve our understanding of how neighborhood-level risk factors contribute to the neighborhood-level stroke prevalence in each state of the U.S., which can facilitate developing area-based stroke prevention strategies.