Abstract
An unhealthy diet is a major risk factor for chronic diseases including cardiovascular disease, type 2 diabetes, and cancer1–4. Limited access to healthy food options may contribute to unhealthy diets5,6. Studying diets is challenging, typically restricted to small sample sizes, single locations, and non-uniform design across studies, and has led to mixed results on the impact of the food environment7–23. Here we leverage smartphones to track diet health, operationalized through the self-reported consumption of fresh fruits and vegetables, fast food and soda, as well as body-mass index status in a country-wide observational study of 1,164,926 U.S. participants (MyFitnessPal app users) and 2.3 billion food entries to study the independent contributions of fast food and grocery store access, income and education to diet health outcomes. This study constitutes the largest nationwide study examining the relationship between the food environment and diet to date. We find that higher access to grocery stores, lower access to fast food, higher income and college education are independently associated with higher consumption of fresh fruits and vegetables, lower consumption of fast food and soda, and lower likelihood of being affected by overweight and obesity. However, these associations vary significantly across zip codes with predominantly Black, Hispanic or white populations. For instance, high grocery store access has a significantly larger association with higher fruit and vegetable consumption in zip codes with predominantly Hispanic populations (7.4% difference) and Black populations (10.2% difference) in contrast to zip codes with predominantly white populations (1.7% difference). Policy targeted at improving food access, income and education may increase healthy eating, but intervention allocation may need to be optimized for specific subpopulations and locations.
Subject terms: Epidemiology, Risk factors
Studying diets is challenging, typically restricted to small sample sizes, single locations, and non-uniform design across studies. Here, the authors leverage food entry data of a popular diet tracking app to observe diet health and weight status, studying the associations of fast food and grocery access, income and education with diet health outcomes.
Introduction
Dietary factors significantly contribute to risk of mortality and chronic diseases such as cardiovascular diseases, type 2 diabetes and cancer globally1–3. Emerging evidence suggests that the built and food environment, behavioral, and socioeconomic factors significantly affect diet7. Prior studies of the food environment and diet have led to mixed results7–23, and very few used nationally representative samples. These mixed results are potentially attributed to methodological limitations of small sample size, differences in geographic contexts, study population, and non-uniform measurements of both the food environment and diet across studies. Therefore, research with larger sample size and using improved and consistent methods and measurements is needed9,24,25.
Commercially available and widely used mobile applications allow the tracking of health behaviors and population health26, as recently demonstrated in physical activity27,28, sleep29,30, COVID-19 pandemic response31–33, women’s health34, as well as diet research35–40. With ever increasing smartphone ownership in the U.S.41 and the availability of immense geospatial data, there are now unprecedented opportunities to combine various data on individual diets, population characteristics (gender and ethnicity), socioeconomic status (income and educational attainment), as well as food environment at large scale. Interrogation of these rich data resources to examine geographical and other forms of heterogeneity in the effect of food environments on health could lead to the development and implementation of cost-effective interventions42. Here, we leverage large-scale smartphone-based food journals of 1,164,926 participants across 9822 U.S. zip codes (Fig. 1) and combine several Internet data sources to quantify the independent associations of food (grocery and fast food) access, income and educational attainment with food consumption and body-mass index (BMI) status (Fig. 2). This study constitutes the largest nationwide study examining the relationship between the food environment and diet to date.
Results
Data validation: diet tracking data correlates with existing large-scale measures
To determine the ability of our dataset to identify relationships between fast food, grocery store access, income, educational attainment and diet health outcomes, we confirmed that this studies’ smartphone-based food logs correlate with existing large-scale survey measures and purchase data. Specifically, the fraction of fresh fruits and vegetables (F&V) that participants logged is correlated with Behavioral Risk Factor Surveillance System (BRFSS) survey data43 (Fig. 3a; Pearson Correlation R = 0.63, p < 10−5; Two-sided Student’s t-test; Methods). Further, the reported BMI of MyFitnessPal (MFP) participants is correlated with BRFSS survey data44 (Fig. 3b; Pearson Correlation R = 0.78, p < 10−5; Two-sided Student’s t-test; Methods). Lastly, the digital food logs data replicate previous findings of relative consumption differences in low-income, low-access food deserts based on Nielsen purchase data45 (Fig. 3c; Pearson Correlation R = 0.88, p < 0.01; Two-sided Student’s t-test; Methods). These results demonstrate that smartphone-based food logs are highly correlated with existing, gold-standard survey measures and purchase data.
Associations between food environment, demographics and diet
Using these data across all 9822 U.S. codes, we found that high income, high educational attainment, high grocery store access, and low fast food access were independently associated with higher consumption of fresh F&V, lower consumption of fast food and soda, and lower prevalence of BMI levels categorized as overweight or obesity (Fig. 4; BMI > 25). The only exception to this pattern was a very slight (0.6%) positive difference in BMI levels categorized as overweight or obesity associated with income. Specifically, in zip codes of above median grocery store access participants logged 3.4% more F&V, 7.6% less fast food, 6.4% less soda and were 2.4% less likely to be affected by overweight or obesity (all P < 0.001). In zip codes of below median fast food access participants logged 5.3% more F&V, 6.2% less fast food, 13.3% less soda and were 1.5% less likely to be affected by overweight or obesity (all P < 0.001). In zip codes of above median education, participants logged 9.2% more F&V, 8.5% less fast food, 13.8% less soda and were 13.1% less likely to be affected by overweight or obesity (all P < 0.001). Finally, in zip codes of above median household income (referred to as higher income below), participants logged 3.3% more F&V, 6.8% less fast food, 8.6% less soda (all P < 0.001), but had a 0.6% higher likelihood of being affected by overweight or obesity (P = 0.006). Note that the reported effect size are based on comparing above and below median zip codes for any given factor. We found a general pattern of consistent, and in many cases higher effect sizes when comparing top versus bottom quartiles (Supplementary Fig. 2), suggesting the possibility of a dose-response relationships across most considered variables. We found that zip codes with high educational attainment levels compared to low educational attainment levels had the largest relative positive differences across F&V, fast food, soda, and BMI levels categorized as overweight or obesity.
Significant differences across zip codes with predominantly Black, Hispanic, and Non-Hispanic white populations
We separately repeated our data analyses within zip codes with predominantly Black (3.7%), Hispanic (5.6%), and non-Hispanic white populations (78.4%) (Fig. 5). Results within zipcodes with predominantly non-Hispanic white populations closely resembled results within the overall population, since most zip codes in this study had predominantly white populations (78.4%; not unlike the overall U.S. population at 61.3%)46. However, restricting our analyses to zip codes with predominantly Black and Hispanic populations led to significantly different findings. Specifically, within zip codes with predominantly Black populations we found associations of higher income in the inverse direction of the population average and towards low healthful food consumption, across four out of four outcome variables, resulting in lower F&V consumption (−6.5%), higher fast food consumption (5.5%), and higher likelihood of BMI levels categorized as overweight or obesity (8.1%). Higher income was also associated with higher soda consumption (14.1%) but was not statistically significant (P = 0.061). On the other hand, low fast food access and high educational attainment access were generally associated with higher diet health, with low fast food access correlating with the highest significant negative difference in fast food consumption (−12.0%) and high educational attainment with the highest positive difference in fresh fruit and vegetable consumption (11.2%), although lower fast food access was associated with worse outcomes for one of the outcome variables. Specifically, lower fast food access was associated with a slightly higher likelihood of being affected by overweight or obesity (3.1%). Higher grocery store access had a positive association with diet health across all outcome variables in zip codes with predominantly Black populations, and was associated with higher F&V consumption (10.2%), lower fast food consumption (12.6%), lower likelihood of BMI levels categorized as overweight or obesity (9.0%), and lower soda consumption (5.3%), although the association with soda consumption was not statistically significant (P = 0.060).
In contrast, within zip codes with predominantly Hispanic populations we found a significant association between higher, above-median, income and higher F&V consumption (5.7%), but not with the remaining three outcome variables. Zip codes with higher proportion of people with high educational attainment had the most positive association with diet health across all variables. Specifically, higher educational attainment was associated with higher F&V consumption (8.9%), lower fast food consumption (11.9%), lower soda consumption (16.5%), and lower likelihood of BMI levels categorized as overweight or obesity (13.7%). Higher grocery store access and lower fast food access had similar effect sizes as on the overall population for some outcome variables (i.e. similar associations with likelihood of BMI levels categorized as overweight or obesity and fast food consumption). However, in some cases the magnitude of association was higher (i.e. grocery store access was associated with 7.4% higher F&V consumption in areas with predominantly Hispanic population, which is more than twice than the difference within the overall population) and in others, unlike the overall population, there was no significant association (i.e. no significant relationship between fast food access on soda consumption, or between fast food access and F&V consumption).
Summary
Few factors were consistently associated with better outcomes across all three subpopulations. Across all three groups, F&V consumption was significantly higher in zip codes with high grocery store access and high educational attainment. Fast food consumption was lower across all potential intervention targets besides higher income. Soda consumption was lowest most with lower fast food access for Black and white-majority zip codes, whereas it was lowest with higher educational attainment in Hispanic zip codes. Lastly, BMI levels categorized as overweight or obesity were far lower with higher educational attainment levels compared to all other intervention targets, across all three groups.
Discussion
Commercially available and widely used mobile applications and devices enable the individuals to track their own health, and in aggregate may inform our understanding of population health. These emerging data sources capture health behaviors from millions of participants26 and have uniquely enabled large-scale research studies, including in physical activity27,28, sleep29,30, COVID-19 pandemic response31–33, women’s health34, as well as diet research35–40.
While many of our results were consistent with previous studies47–49, importantly, we found that zip codes with higher proportion of people with high educational attainment had the largest relative difference in the likelihood of BMI levels categorized as overweight or obesity (13.1% lower). It is well established that social determinants of health are linked to obesity50–52. As an important component of social determinants of health, our study suggests that having higher educational attainment is the most predictive of reduced overweight and obesity for all ethnicities.
When we restricted our analyses to zip codes with predominantly Black, Hispanic, and non-Hispanic white populations, we found the independent associations of food access, income and educational attainment with food consumption and BMI status varied significantly across these three groups. These findings suggest that tailored intervention strategies are needed based on neighborhood population distributions, assets and contexts.
Within zip codes with predominantly Black populations, the association between having higher income and diet health was negative. Having higher income was associated with lower F&V consumption, higher fast food and soda consumption, and higher likelihood of overweight and obesity. This could be explained by the “diminishing return hypothesis”, which suggests that Black people receive fewer protective health benefits from increases in SES than white people53,54. A combination of factors, including neighborhood economic disadvantage55,56, racial/ethnic discrimination57,58, and stress associated with educational attainment and mobility59, may prevent Black people from higher SES backgrounds from achieving their fullest health potential relative to white people60.
Within zip codes with predominantly Hispanic populations, higher income was not associated with lower likelihood of BMI levels categorized as overweight or obesity. The absence of a relationship between higher income and BMI, compared to in zip codes with predominantly Black and non-Hispanic white populations, could be partially explained by the “Hispanic health paradox” and “Hispanic health advantage”61–66. The Hispanic health paradox suggests that even though the first-generation Hispanic people have lower SES, they experience better health outcomes including lower prevalence of cardiovascular diseases, asthma, diabetes and cancer compared to those who were U.S.-born61–63. Hispanic health advantage suggests that Hispanic people have lower rates of harmful health behaviors, such as smoking, which in turn positively influence other health outcomes compared to non-Hispanic white people61,64–66. Additionally, through acculturation or adopting American culture, Hispanic immigrants may engage in less healthy behaviors, which in turn put themselves at higher risk for chronic diseases61–63,67–71.
While it is challenging to close the education and income gaps, establishing more grocery stores and limiting fast food restaurant access may help improve diet health across the population. Previous reviews suggested that government policies that addressing food affordability and purchase, such as the Healthy Food Financing Initiative (HFFI), increasing food stamp (SNAP) benefit and provide incentives to create healthy retail food environment have been effective in reducing food insecurity and dietary behaviors72–77. While several studies showed that the establishments of new supermarkets had little improvement in BMI78–80; however, the investments in the new supermarkets have improved economic opportunity and social cohesion81–83. Our results showed that higher grocery store access was associated with 2–3 times higher fresh fruit and vegetable consumption and lower fast food consumption more for Black people than for white people. Although previous literature has shown null effects of grocery store access84,85, these studies have focused on the general population, which is white-skewed. Therefore, policies and strategies in increasing grocery store access and decreasing fast food access could potentially be the most effective approaches in changing dietary habits among locations with predominantly Black populations.
Furthermore, having more grocery store access and lower fast food access, in the food environment may work in synergistic ways that may lead to even lower obesity prevalence and obesity-related lifestyle and behavior changes. This is demonstrated in a recent study by Cantor et al. that HFFI boosted the effects of SNAP participation on improving food security and healthy food choices in food desserts86. This synergy could be multiplied when combining with effective education programs that could potentially lower obesity prevalence further by increasing individuals’ SES (e.g., income and educational attainment)87,88, health literacy and behaviors87–91, as well as sense of control and empowerment92.
Due to the cross-sectional nature of the study, we were not able to make any causal inferences between SES, food environment variables, dietary behavior, and BMI, as unobserved neighborhood and individual demographic and social characteristics could lead to confounding. However, we used a matching-based approach to mimic a quasi-experimental design to disentangle the individual associations of income, educational attainment and food access with participants’ food consumption. Our analysis did not include other demographic variables such as gender and age, as both variables were naturally balanced across treatment and control groups and we observed minimal zipcode-level correlations between age/gender and any of our four outcome measures (Supplementary Table 13). In addition, we confirmed that results were virtually identical (Pearson Correlation R = 0.95), when explicitly controlling for age and gender in our matching-based approach. However, we jointly considered the potential impacts of neighborhood income, neighborhood educational attainment and food environment access on participants’ food consumption with consistent measures across the U.S., whereas previously published studies examined one or a few at a time. Our study population, based on a sample of MFP users, is an imperfect representation of the United States national population. Comparing our study population to nationally representative survey data, we found that our study population had significant overlap with the U.S. national population in terms of population demographics, educational attainment and BMI status, but that it was skewed towards women and higher income (Supplementary Table 3). We used individuals’ food loggings to estimate their consumption (specifically, the number of food entries as the logged amount consumed varied highly across foods without standardization; e.g., specifying weight, volume, or number). Food loggings may not capture what individuals actually ate and participants may be particularly motivated or care about their diet and weight. Importantly, we conducted multiple validation experiments through comparisons with high quality and highly representative datasets which demonstrated high correlations to gold-standard approaches (Fig. 3). The majority of food environment studies used screeners, food frequency questionnaires or 24-h recalls for dietary assessment, and very few used diaries9. In contrast, our participants logged their food intakes for an average of 197 days each. We also harnessed other large datasets such as Yelp to examine participants’ food environments. Considering both the strengths and limitations of this study, more research is needed especially based on longitudinal study design and detailed individual level data to enable causal inference and precise interpretation of the results.
In conclusion, we analyzed 2.3 billion food intake logs and BMIs from 1.2 million MFP smartphone app participants over 7 years across 9822 zip codes in relation to educational attainment, ethnicity, income, and food environment access. Our analyses indicated that higher access to grocery stores, lower access to fast food, higher income and educational attainment were independently associated with higher consumption of fresh F&V, lower consumption of fast food and soda, and lower likelihood of being affected by overweight or obesity, but that these associations varied significantly across zip codes with predominantly Black, Hispanic and white subpopulations. Policy targeted at improving food access, income and education may increase healthy eating. However, intervention allocation may need to be optimized for specific subpopulations and locations.
Methods
Study design and population
We conducted a United States countrywide cross-sectional study of participants’ self-reported food intake and BMI in relation to zip code level demographic (educational attainment, ethnicity), socioeconomic (income), and food environment factors (grocery store and fast food access) by combining datasets from MFP, US Census, USDA and Yelp.
Overall, this cross-sectional matching-based study analyzed 2.3 billion food intake logs from U.S. smartphone participants over 7 years across 9822 zip codes, which is 24% of overall USA zip codes (U.S. has a total of 41,692 zip codes). Participants were users of the MFP app, a free application for tracking caloric intake. We analyzed anonymized, retrospective data collected during a 7-year observation period between 2010 and 2016 that were aggregated to the zip code level. Comparing our study population to nationally representative survey data, we found that our study population had significant overlap with the U.S. national population in terms of population demographics, educational attainment and BMI status, but that it was skewed towards women and higher income (Supplementary Table 3). Our matching-based statistical methodology controls for observed biases between comparison groups in terms of income, educational attainment, grocery store access, and fast food access (Methods: Statistical Analysis). Data handling and analysis was conducted in accordance with MFP policies and with the guidelines of the Stanford University Institutional Review Board.
Study data: MyFitnessPal
We compute outcome measures of food consumption and BMI status from 2.3 billion food intake logs by a sample of 1,164,926 U.S. participants of the MFP smartphone application to quantify food consumption across 9822 zip codes. The scale and geographic distribution of our study participants, as well as our outcome measures, are illustrated in Figs. 1 and 2 respectively. To ensure participant privacy as well as reliability of our measures, we decided to only include zip codes in which we had access to 30 or more participant food logs, which reduced the dataset size from 27,027 zip codes (spanning 3117 counties) to the final 9822 zip codes (spanning 1730, or 55% of all counties in the United States). Nevertheless, the geographical breadth of this dataset far exceeds existing food surveys. For example, our final dataset contained 511% more counties than the BRFSS survey of 283 counties, with 370% more participants per county on average93. While size and coverage compare favorably to BRFSS, it is important to understand what is not covered by our study. Figure 1 illustrates that our study lacks representation in the Midwest of the USA as well as in Alaska. In our study data, we further observed under-representation of zip codes with majority non-white population (Supplementary Table 3) and rural zip codes (RUCA codes 7 through 1094,95), as well as over-representation of high-income zip codes (median family income higher than $70,241).
During the observation period from January 1, 2010 to November 15, 2016, the average participant logged 9.30 entries into their digital food journal per day. The average participant used the app for 197 days. All participants in this sample used the app for at least 10 days. We classified the 2.3 billion food intake entries into three categories of public health interest, fresh F&V, fast food, and sugary non-diet soda, and excluded them from analysis if they did not match these categories. Our classification method is consistent with USDA MyPlate with one divergence of the exclusion of juices. The healthiness of juice as a fruit and vegetable serving is contested due to its sugar content and limited nutritional profile96–98. For more details on the definition of a food entry, our classification method, and the choice of outcome measure, see Details on outcome measures subsection in Methods.
We intentionally use a cross-sectional rather than longitudinal study design, since fine-grained and large-scale temporal data on changes in the food environment were not available.
Study data: demographic and socioeconomic factors
We obtained data on demographic and socioeconomic factors from CensusReporter99. Specifically, for each zip code in our data set we obtained median family income, fraction of population with college education (Bachelor’s degree or higher), and fraction of population that is white (not including Hispanic), Black, or Hispanic from the 2010 to 2014 American Community Survey’s census tract estimates99. While data were available only on zip code level, previous studies have shown that area-level income measures are meaningful for health outcomes and describe unique socioeconomic inequities100.
Study data: grocery store and fast food access
Grocery store access was defined as the fraction of population that is more than 0.5 miles away from a grocery store following the food desert status definitions from the USDA Food Access Research Atlas101. Contrary to the USDA definition, we found evidence that even in rural zipcodes, the fraction of population greater than 0.5 miles away from grocery stores has the strongest association with food consumption (compared to 10 and 20 miles away), and thus we used 0.5 miles as the threshold across rural and urban zipcodes (Methods: Details on food environment measures). We measured fast food access through the fraction of restaurants that are fast food restaurants within a sample from Yelp, querying the nearest 1000 businesses from the zip code’s center, up to a maximum radius of 40 km (25 miles). See subsections Data Validation and reproducing State-of-the-art Measures using Population-scale Digital Food Logs for details and validation of these objective food environment measures.
We release all data aggregated at zipcode level in order to enable validation, follow-up research, and use by policy makers.
Details on food environment measures
We obtained data on grocery store access (fraction of population that is more than 0.5 miles away from grocery store) and food desert status from the USDA Food Access Research Atlas101. A census tract is considered a food desert by the USDA if it is both low-income (defined by Department of Treasury’s New Markets Tax Credit program) and low-access, meaning at least 500 people or 30 percent of residents live more than 0.5 miles from a supermarket in urban areas (10 miles in rural areas)45.
Although the USDA uses different thresholds for urban and rural areas (0.5 and 10 miles respectively), we found that even in rural zipcodes (defined as USDA rural-urban continuum RUCA scores of 7 through 1094,95), the fraction of population that is farther than 0.5 miles from grocery stores had the highest correlation to fruit and vegetable consumption (Pearson Correlation R = −0.20), compared to 1 miles (Pearson Correlation R = −0.17), 10 miles (R = −0.05), and 20 miles (Pearson Correlation R = 0.03). This suggests that the fraction of the population farther than 0.5 miles from a grocery store has the strongest relationship with healthy food consumption, even in rural zipcodes. Hence, we decided used 0.5 miles distance as a standard measure of grocery store access for rural and urban zip codes, contrary to the USDA definition. We subsequently sanity checked for any downstream confounding of urbanicity in our primary matching experiment of above/below median grocery store access, and found a negligible difference (Standardized Mean Difference (SMD) of 0.18) in urbanicity between control and treatment, suggesting that the effect size was not due to grocery store distance functioning as a proxy for urbanicity, but rather directly due to differential grocery store access.
We aggregated these data from a census tract level to a zip code level using USPS Crosswalk data, which provides a list of all census tracts which overlap with a single zip code102. We related these data on census tract level to the zip code level by taking the weighted average of each census tract food environment measure (both grocery store access and food desert status), weighted by the number of people in the tract102. For instance, if zip code A overlapped with Census Tract A (2500 people, food desert) and Census Tract B (7500 people, not a food desert), the food desert measure of zip code A would be estimated as 25%. We defined the binary threshold for food desert, used in Fig. 3, as 50% or higher.
We measured fast food access through the fraction of restaurants in a zip-code that are fast food restaurants. Data on local restaurants and businesses were obtained through the Yelp API103. For each zip code, we consider up to 1000 restaurant businesses that are nearest to the zip code center up to a distance of 40 km (67.8% of zip code queries resulted in 1000 restaurant businesses within 40 km; Yelp API results are restricted to 1000 results). This resulted in a varying sample radius depending on urbanicity. For example, Urban zipcodes (RUCA code of 1) had an average effective centroid size of 15 miles, which we calculated by taking the distance from the zipcode center to the furthest restaurant returned by Yelp. We further used Yelp-based environment variables that we expected not to influence food consumption, such as the availability of waterproofing services, countertop installers, or electronic stores, as null experiments to demonstrate discriminant validity of our statistical analysis pipeline (see Supplementary Fig. 3).
Details on outcome measures (food consumption and BMI status)
We used 2.3 billion food intake logs by a sample of 1,164,926 U.S. participants of the MFP smartphone application to quantify food consumption across 9822 zip codes. During the observation period from January 1, 2010 to November 15, 2016, the average participant logged 9.30 entries into their digital food journal per day. The average participant used the app for 197 days. All participants in this sample used the app for at least 10 days.
Clustering of food consumption observations within individuals and zip codes was handled through multiple levels of aggregation. First we aggregated within participant and day (i.e., someone eating a banana at breakfast and another for dinner), then we aggregated across all days with tracking within each participant, and then across all participants within one zip code. We computed non-parametric confidence intervals and p-values through bootstrapping with 1000 replications on zip code level (last level of aggregation)104.
The unit of analysis for each zipcode was the average number of daily entries per person. An entry is a single food consumption event logged in the app MFP. Each entry contains a separate food component (e.g., banana, yogurt, hamburger, ...), brand name (e.g., “Campbells”), description (e.g., “Chicken Soup”), serving size unit (e.g., “cup”), and number of servings (e.g., “1”). Supplementary Fig. 1 shows the application interface for logging a food entry (e.g., 1 Banana from Whole Foods). We decided to use entries based on the observation that there was little variance in the number of servings per food category logged by participants in a single entry, and since the amount consumed varied highly across foods without standardization (e.g., specifying weight, volume, or number). Participants typically log “standard portion sizes” of each food individually (e.g., one bowl of cereal, one banana) on the MFP app. For example, for participants that logged a banana, and listed the serving size as “Banana”, the median entry was for 1 banana, the mean was for 0.88 bananas, and 95% of food entries were for between 0.5 to 1.5 bananas. The MFP app strongly encourages this behavior through a large library of foods to log that follows these standard portion sizes.
We classified all entries into three categories using brand name and description, and three separate binary classifiers: fresh F&V (through a proprietary classifier by MFP which used key words in the brand name and description), fast food (if the brand name contained the name of a fast food chain listed in Supplementary Table 8, and sugary (non-diet) soda (if the brand name contained the name of a soda drink listed in Supplementary Table 9 and the description did not contain “diet”, “lite”, “light”, or “zero”). In all cases, descriptions, as well fast food and soda drink keywords, were normalized by lower-casing and removing punctuation. Each binary classifier thus took a food entry as input (i.e., “Coca Cola, Diet Cherry Coke, 8oz”) and outputted a binary label (i.e., soda or NOT soda). Entries which were predicted to be in none of the three categories based on all three models were excluded from the study.
Our classification method for fresh F&V is consistent with USDA MyPlate. The only divergence from USDA MyPlate is that we intentionally excluded juices, for which MFP has a separate classifier, which does not separate sweetened juice drinks or sports drinks and 100% juice. For our definition of Fresh F&V, we chose to exclude juices because the healthiness of juice as a fruit and vegetable serving is contested96,98, as even 100% fruit juices are typically high in sugar and calories, and low in fiber, and vegetable juices are often mixed with other high-sugar ingredients. We thus took a conservative approach to estimating diet healthiness by excluding these food entries.
We evaluated the accuracy of each of the three binary classification model by estimating the precision (# True Positive / # Predicted Positive) from a random sample of 50 entries belonging to each category. Precision estimates are summarized in Supplementary Table 1, and Supplementary Tables 10, 11, and 12 show random samples of 50 food items from all elements predicted to be in each category (where asterisk “*” indicates an incorrect prediction). Note that across 2.3 billion food logs it was not possible to measure recall, but were able to measure precision by manually inspecting the food entry brand and description and assigning it a category.
We then calculated the average number of food entries logged per participant, per day, for each of the F&V, fast food, and soda categories (e.g. average number of F&V logged per participant per day), excluding days in which the participant was inactive (i.e., consistently did not log anything). Finally, we aggregated these participant-level measures to the zip code level by taking the mean of each category’s measure for all participants in each zip code. We further used BMI health in each zip code as a BMI status outcome, specifically the fraction of participants in a zip code which are affected by overweight or obesity (BMI > 25). BMI was self-reported by participants of the smartphone application (99.92% of participants did report BMI). Supplementary Table 2 shows basic summary statistics for the outcome measures used in this study. In our statistical analyses, we compared two sets of zip codes that differ in a dimension of interest (e.g., grocery store access access) as treatment and control group and use the relative difference in F&V consumption, fast food consumption, soda consumption, and BMI health of the treated group relative to the control group. To generate confidence intervals, as well as to compute p-values to test for statistical significance of differences in outcome, we use non-parametric bootstrap resampling with 1000 replications104. Specifically, we follow the method proposed by Austin and Small105, which is to draw bootstrap samples post-matching from the matched pairs in the propensity-score-matched sample after the Genetic Matching stage106. We confirmed the validity of this method empirically by also calculating t-tests for each experiment, which gave qualitatively similar results. We note that we perform bootstrapping on zip code level (highest level of aggregation). While, multilevel bootstrapping methods exist, they do not scale well with our dataset size of 2.3 billion food items. However, due to the large number of 9822 zip codes our analyses are well-powered statistically even with bootstrapping at zip code level.
Data validation
We find that our study population has significant overlap with the U.S. national population (Supplementary Table 3) but is skewed towards women and higher income. We demonstrate that food consumption measured based on this population are highly correlated with state-of-the-art measures (Fig. 3). Smartphone apps such as MFP feature large databases with nutritional information and can be used to track one’s diet over time. Previous studies have compared app-reported diet measures to traditional measures including 24-h dietary recalls and food composition tables. These studies found that both measures tend to be highly correlated107,108, but that app-reported measures tend to underestimate certain macro- and micronutrients107,108, especially in populations that were previously unfamiliar with the smartphone applications109. In contrast, this study leverages a sample of existing participants of the smartphone app MFP. Yelp data has been used in measures of food environment110 and a study in Detroit found Yelp data to be more accurate than commercially available databases such as Reference USA111. This study uses a combination of MFP data to capture food consumption, Yelp, and USDA data to capture food environment, and Census data to capture basic demographics. As a preliminary, basic test, we investigated correlations between the Mexican food consumption, the fraction of Mexican restaurants, and the fraction of Hispanic people in the population, on a zip code level. We found that Mexican food consumption (entries labeled as Mexican food by a proprietary MFP classifier, logged per participant, per day) was correlated with the fraction of Mexican restaurants (Pearson Correlation R = 0.72; < 10−4) and the fraction of Hispanic people in the population (Pearson Correlation R = 0.54; P < 10−4). Further, the fraction of Mexican restaurants was correlated with the fraction of Hispanic people in the population as well (Pearson Correlation R = 0.51; P < 10−4).
Reproducing state-of-the-art measures using population-scale digital food logs
A primary concern in studying diet health via food logs is the bias inherent to the MFP population, which is not a representative sample of the US population. To investigate the applicability of population-scale digital food logs to study the relationship between food environment, income and educational attainment with food consumption, we measured the correlation between our smartphone app-based measures and state-of-the-art measures of food consumption including the BRFSS, based on representative surveys of over 350,000 adults in the United States43,44, and the Nielsen Homescan data112, which is a nationally representative panel survey of the grocery purchases of 169,000 unique households across the United States, based on UPC records of all consumer packaged goods participants purchased from any outlet (Fig. 3). We used the latest survey data from BRFSS43,44 available at the county-level. Specifically, we used variables FV5SRV from BRFSS 2011 representing the faction of people eating five or more servings of fresh fruit and vegetables43, and BMI5 from BRFSS 2012 representing BMI44. We compare against BRFSS rather than National Health and Nutrition Examination Survey (NHANES), since BRFSS is significantly larger than NHANES, it is remotely administered matching our study, and it has much better geographical coverage than NHANES and geographical comparisons are central to our study. Despite these advantages, no reference dataset is without limitations113–115, motivating this study’s use of large-scale digital food journals.
Comparing our data to BRFSS on county level, we found moderate to high correlations between the amount of fresh F&V consumed (Fig. 3a, Pearson Correlation R = 0.63, p < 10−5) and BMI (Fig. 3b, Pearson Correlation R = 0.78, p < 10−5). We further compared to published results by the USDA45, which used data from the 2010 Nielsen Homescan Panel Survey that captured household food purchases for in-home consumption (but did not capture restaurants and fast food purchases). We attempted to reproduce published findings on the differences in low-income, low-access communities (food deserts) compared to non-low-income, non-low-access communities45 across categories of fruit, vegetable, sweets, red meat, fish/poultry, milk products, diet drinks, and non-diet drinks (Table 4 in Rahkovsky and Snyder45). We used proprietary MFP classifiers to categorize foods logged into these categories. We found that our app-based food logs were very highly correlated with previously published results (Fig. 3c, R = 0.88, p < 0.01) and that the absolute differences between food deserts and non-food deserts were stronger in the MFP data compared to Nielsen purchase data. Overall, these results demonstrate convergent validity and suggest that the employed non-representative sample of population-scale digital food logs can reproduce the basic dynamics of traditional, state-of-the-art measures, and they can do so at massive scale and comparatively low cost.
Statistical analysis
In this large-scale observational study, we used a matching-based approach116,117 to disentangle contributions of income, educational attainment, grocery store access, and fast food access on food consumption. We considered multiple statistical strategies, including regression modeling and propensity score matching. We decided to employ a full matching on all variables, which avoids parametric assumptions and is a more conservative method for matching than for example propensity score-based techniques117. To estimate the treatment effects of each of these factors, we divided all available zip codes into treatment and control groups based on a median split; that is, we estimated the difference in outcomes between matched above-median and below-median zip codes. We created matched pairs of zip codes by selecting a zip code in the control group that is closely matched (i.e., less than 0.25 SMD between the treated and control groups)117 to the zip code in the treatment group across all factors, except the treatment factor of interest. Since we repeated this matching process for each zip code in the treatment group, this approach estimated the Average Treatment Effect on the Treated (ATT). Through this process, we attempted to eliminate variation of plausible influences and to isolate the effect of interest. We repeated this process for each treatment of interest; for example for the results presented in Fig. 4, we performed four matchings, one for each of income, educational attainment, grocery store access and fast food access. For the sub-population experiments (Fig. 5), we repeated the same method on the subset of the zip codes in which the majority of inhabitants were of a particular ethnic group. Lastly, although we considered controlling for age and gender in the matching procedure, as these are related to diet health at the individual-level, we did not include them in our final analysis after observing (1) minimal zipcode-level correlations between age/gender and any of our four outcome measures (Supplementary Table 13; largest Pearson Correlation was 0.12) and (2) virtually identical results (Pearson Correlation R = 0.95) when comparing before and after controlling for age and gender by adding them the genetic matching algorithm. See subsection on Details on Matching Approach for further details and statistics that demonstrate that treatment and control groups were well-balanced on observed covariates after matching.
We tested discriminant validity of our statistical approach by measuring the effect of null-treatments that should not have any impact on food consumption. We chose examples of null-treatments by selecting variables that had little correlation with study independent variables (income, educational attainment, grocery store access, fast food access) and were plausibly unrelated to food consumption. This selection process lead to use of the fraction of countertop installers, electronics stores, and waterproofing services nearby as measured through Yelp. Applying our analysis pipeline to these null-treatments, we found that all of these null-treatments had zero effect on food consumption. This demonstrated that our statistical analysis approach did not produce measurements that it was not supposed to measure; that is, discriminant validity (Supplementary Fig. 3 and Supplementary Table 7).
Details on matching approach
Specifically, we use a one-to-one Genetic Matching approach,106 with replacement, and use the mean of the SMD between treatment and control groups, across all matched variables, as the Genetic Matching balance metric in order to maximize balance (overlap) between the treated and the control units. Some definitions of SMD use the standard deviation in the overall population before matching116. However, we choose the standard deviation in the control group post-matching, which typically is much smaller and therefore gives more conservative estimates of balance between treated and control units118.
After matching, we evaluated the quality of balance between the treated and the control units by the SMD across each of the variables that were controlled for and included in the matching process. A good balance between treated and control groups was defined as a SMD of less than 0.25 standard deviations117 across each variable. By default, we do not enforce a caliper in order to minimize bias in matching process, although in rare cases in which a good balance was not achieved, a caliper was enforced, starting at 2.5 standard deviations between matched and controlled units, and decreased by 0.1 until the matched and control groups had a SMD smaller than 0.25 across all matched variables.
For the vast majority of matching experiments the SMD across all matched variables was well below 0.25, with a mean of 0.040 and median of 0.016 for the four overall population matching experiments. The SMD for the ethnicity-majority zipcode experiments was slightly higher, but still very significantly below 0.25 across all 12 experiments, with a mean of 0.055 and median of 0.036. Thus, no caliper was necessary to ensure a good balance, with the exception of one out of the 12 of sub-population experiments (white, high educational attainment). Detailed balancing statistics for each of the matches are available in the Supplementary Information (Supplementary Tables 14–36b), as well as a supplementary matching experiment in which a top/bottom quartile split was used instead of a median split (Supplementary Fig. 2).
Details on the use of zip codes
A zip code is a postal code used by the US Postal Services. Zip codes consist of 5 digits and were introduced in their current form in 1983 in order to provide granular demarcations of US geography for mail purposes119. Most previous surveys such as BRFSS aggregate individuals at the less fine-grained levels of granularity: city, county, or MSA (Metropolitan statistical area) level. By contrast, we chose to use zip codes in order to study diet health and obesity at a more fine-grained level of analysis. As a point of reference, there are currently 41,692 zip codes in the USA compared to 3143 counties and county equivalents (i.e., 13.2 zip codes per county on average). Zip codes are on average 91 square miles and contain 7872 people120, compared to counties and county-equivalents which are on average 1208 square miles and contain 104,422 people121. Neighboring zip codes which may be in the same county have sharply contrasting demographics122. A zip code-level analysis better enables us to measure the disparate impacts of educational attainment, income, and food environment on diet health and obesity, and to stratify our analyses by ethnicity.
Disclaimer
The content is solely the responsibility of the authors and does not necessarily represent the official views of the NIH or sponsors.
Reporting summary
Further information on research design is available in the Nature Research Reporting Summary linked to this article.
Supplementary information
Acknowledgements
T.A. and J.L. were supported by a National Institutes of Health (NIH) grant (U54 EB020405, Mobilize Center, NIH Big Data to Knowledge Center of Excellence). T.A. was supported by the SAP Stanford Graduate Fellowship, NSF grant IIS-1901386, NSF grant CNS-2025022, NIH grant R01MH125179, Bill & Melinda Gates Foundation (INV-004841), and the Office of Naval Research (#N00014-21-1-2154). H.N. was supported by NSF REU #1659585 at the Stanford Center for the Study of Language and Information (CSLI). J.H. is supported by Postdoctoral Fellowship in Cardiovascular Disease Prevention (T32) funded by the National Heart, Lung, and Blood Institute (NHLBI) at the National Institutes of Health (NIH). J.L. was supported by DARPA under Nos. FA865018C7880 (ASED), N660011924033 (MCS); ARO under Nos. W911NF-16-1-0342 (MURI), W911NF-16-1-0171 (DURIP); NSF under Nos. OAC-1835598 (CINES), OAC-1934578 (HDR), CCF-1918940 (Expeditions); Stanford Data Science Initiative, Wu Tsai Neurosciences Institute, Chan Zuckerberg Biohub, Amazon, Boeing, Chase, Docomo, Hitachi, Huawei, JD.com, NVIDIA, Dell. We thank MyFitnessPal for donating the data for independent research and Mitchell Gordon for helping with data preparation.
Author contributions
T.A. and J.L. conceived the study concept and design. T.A. and H.N. conducted the statistical analysis. T.A., H.N., J.H., and J.L. interpreted the data, drafted the manuscript, and critically revised the manuscript for important intellectual content.
Peer review information
Nature Communications thanks Bridget Kelly, Joreintje Mackenbach, Quynh Nguyen and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.
Data availability
Data are available at http://snap.stanford.edu/dietdisparities.
Code availability
Code is available at http://snap.stanford.edu/dietdisparities.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
The online version contains supplementary material available at 10.1038/s41467-021-27522-y.
References
- 1.Afshin A, et al. Health effects of dietary risks in 195 countries, 1990–2017: a systematic analysis for the global burden of disease study 2017. Lancet. 2019;393:1958–1972. doi: 10.1016/S0140-6736(19)30041-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Micha R, et al. Association between dietary factors and mortality from heart disease, stroke, and type 2 diabetes in the united states. JAMA. 2017;317:912–924. doi: 10.1001/jama.2017.0947. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Jayedi A, Soltani S, Abdolshahi A, Shab-Bidar S. Healthy and unhealthy dietary patterns and the risk of chronic disease: an umbrella review of meta-analyses of prospective cohort studies. Br. J. Nutr. 2020;124:1133–1144. doi: 10.1017/S0007114520002330. [DOI] [PubMed] [Google Scholar]
- 4.Beaglehole R, et al. Priority actions for the non-communicable disease crisis. Lancet. 2011;377:1438–1447. doi: 10.1016/S0140-6736(11)60393-0. [DOI] [PubMed] [Google Scholar]
- 5.Fleischer NL, Roux AVD, Alazraqui M, Spinelli H. Social patterning of chronic disease risk factors in a latin american city. J. Urban Health. 2008;85:923. doi: 10.1007/s11524-008-9319-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Sallis JF, Glanz K. The role of built environments in physical activity, eating, and obesity in childhood. Future Child. 2006;16:89–108. doi: 10.1353/foc.2006.0009. [DOI] [PubMed] [Google Scholar]
- 7.Fleischhacker SE, Evenson KR, Rodriguez DA, Ammerman AS. A systematic review of fast food access studies. Obes. Rev. 2011;12:e460–e471. doi: 10.1111/j.1467-789X.2010.00715.x. [DOI] [PubMed] [Google Scholar]
- 8.Odoms-Young A, Singleton CR, Springfield S, McNabb L, Thompson T. Retail environments as a venue for obesity prevention. Curr. Obes. Rep. 2016;5:184–191. doi: 10.1007/s13679-016-0219-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Kirkpatrick SI, et al. Dietary assessment in food environment research: a systematic review. Am. J. Preventive Med. 2014;46:94–102. doi: 10.1016/j.amepre.2013.08.015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Caspi CE, Sorensen G, Subramanian S, Kawachi I. The local food environment and diet: a systematic review. Health Place. 2012;18:1172–1187. doi: 10.1016/j.healthplace.2012.05.006. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Feng J, Glass TA, Curriero FC, Stewart WF, Schwartz BS. The built environment and obesity: a systematic review of the epidemiologic evidence. Health Place. 2010;16:175–190. doi: 10.1016/j.healthplace.2009.09.008. [DOI] [PubMed] [Google Scholar]
- 12.Cummins S, Macintyre S. Food environments and obesity-"neighbourhood or nation? Int. J. Epidemiol. 2006;35:100–104. doi: 10.1093/ije/dyi276. [DOI] [PubMed] [Google Scholar]
- 13.Charreire H, et al. Measuring the food environment using geographical information systems: a methodological review. Public Health Nutr. 2010;13:1773–1785. doi: 10.1017/S1368980010000753. [DOI] [PubMed] [Google Scholar]
- 14.Kelly B, Flood VM, Yeatman H. Measuring local food environments: an overview of available methods and measures. Health Place. 2011;17:1284–1293. doi: 10.1016/j.healthplace.2011.08.014. [DOI] [PubMed] [Google Scholar]
- 15.McKinnon RA, Reedy J, Morrissette MA, Lytle LA, Yaroch AL. Measures of the food environment: a compilation of the literature, 1990–2007. Am. J. Preventive Med. 2009;36:S124–S133. doi: 10.1016/j.amepre.2009.01.012. [DOI] [PubMed] [Google Scholar]
- 16.Elinder LS, Jansson M. Obesogenic environments–aspects on measurement and indicators. Public Health Nutr. 2009;12:307–315. doi: 10.1017/S1368980008002450. [DOI] [PubMed] [Google Scholar]
- 17.Gittelsohn J, Sharma S. Physical, consumer, and social aspects of measuring the food environment among diverse low-income populations. Am. J. Preventive Med. 2009;36:S161–S165. doi: 10.1016/j.amepre.2009.01.007. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Gustafson A, Hankins S, Jilcott S. Measures of the consumer food store environment: a systematic review of the evidence 2000–2011. J. Community health. 2012;37:897–911. doi: 10.1007/s10900-011-9524-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Lytle LA. Measuring the food environment: state of the science. Am. J. Preventive Med. 2009;36:S134–S144. doi: 10.1016/j.amepre.2009.01.018. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Odoms-Young AM, Zenk S, Mason M. Measuring food availability and access in african-american communities: implications for intervention and policy. Am. J. Preventive Med. 2009;36:S145–S150. doi: 10.1016/j.amepre.2009.01.001. [DOI] [PubMed] [Google Scholar]
- 21.Ohri-Vachaspati P, Leviton LC. Measuring food environments: a guide to available instruments. Am. J. Health Promotion. 2010;24:410–426. doi: 10.4278/ajhp.080909-LIT-190. [DOI] [PubMed] [Google Scholar]
- 22.Sharkey JR. Measuring potential access to food stores and food-service places in rural areas in the us. Am. J. Preventive Med. 2009;36:S151–S155. doi: 10.1016/j.amepre.2009.01.004. [DOI] [PubMed] [Google Scholar]
- 23.Kamphuis CB, et al. Environmental determinants of fruit and vegetable consumption among adults: a systematic review. Br. J. Nutr. 2006;96:620–635. [PubMed] [Google Scholar]
- 24.Lytle LA, Sokol RL. Measures of the food environment: a systematic review of the field, 2007–2015. Health Place. 2017;44:18–34. doi: 10.1016/j.healthplace.2016.12.007. [DOI] [PubMed] [Google Scholar]
- 25.Kumanyika SK. Environmental influences on childhood obesity: ethnic and cultural influences in context. Physiol. Behav. 2008;94:61–70. doi: 10.1016/j.physbeh.2007.11.019. [DOI] [PubMed] [Google Scholar]
- 26.Hicks JL, et al. Best practices for analyzing large-scale health data from wearables and smartphone apps. NPJ Digital Med. 2019;2:1–12. doi: 10.1038/s41746-019-0121-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Althoff T, Hicks JL, King AC, Delp SL, Leskovec J. Large-scale physical activity data reveal worldwide activity inequality. Nature. 2017;547:336–339. doi: 10.1038/nature23018. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Althoff T, White RW, Horvitz E. Influence of pokémon go on physical activity: study and implications. J. Med. Internet Res. 2016;18:e315. doi: 10.2196/jmir.6759. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Althoff, T., Horvitz, E., White, R. W. & Zeitzer, J. Harnessing the web for population-scale physiological sensing: a case study of sleep and performance. In Proceedings of the 26th international conference on World Wide Web. 113–122 (International World Wide Web Conferences Steering Committee, 2017).
- 30.Althoff T, Horvitz E, White RW. Psychomotor function measured via online activity predicts motor vehicle fatality risk. NPJ Digital Med. 2018;1:1–2. doi: 10.1038/s41746-017-0003-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Bento AI, et al. Evidence from internet search data shows information-seeking responses to news of local covid-19 cases. Proc. Natl Acad. Sci. 2020;117:11220–11222. doi: 10.1073/pnas.2005335117. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Chang S, et al. Mobility network models of covid-19 explain inequities and inform reopening. Nature. 2021;589:82–87. doi: 10.1038/s41586-020-2923-3. [DOI] [PubMed] [Google Scholar]
- 33.Suh, J., Horvitz, E., White, R. W. & Althoff, T. Population-scale study of human needs during the covid-19 pandemic: Analysis and implications. In Proceedings of the 14th ACM International Conference on Web Search and Data Mining. 4–12 (Association for Computing Machinery, 2021).
- 34.Pierson E, Althoff T, Thomas D, Hillard P, Leskovec J. Daily, weekly, seasonal and menstrual cycles in women’s mood, behaviour and vital signs. Nat. Hum. Behav. 2021;5:716–725. doi: 10.1038/s41562-020-01046-9. [DOI] [PubMed] [Google Scholar]
- 35.Aiello LM, Schifanella R, Quercia D, Del Prete L. Large-scale and high-resolution analysis of food purchases and health outcomes. EPJ Data Sci. 2019;8:14. [Google Scholar]
- 36.West, R., White, R. W. & Horvitz, E. From cookies to cooks: Insights on dietary patterns via analysis of web usage logs. In Proceedings of the 22nd international conference on World Wide Web. 1399–1410 (International World Wide Web Conferences Steering Committee, 2013).
- 37.Abbar, S., Mejova, Y. & Weber, I. You tweet what you eat: Studying food consumption through twitter. In Proceedings of the 33rd Annual ACM Conference on Human Factors in Computing Systems. 3197–3206 (Association for Computing Machinery, 2015).
- 38.De Choudhury, M., Sharma, S. & Kiciman, E. Characterizing dietary choices, nutrition, and language in food deserts via social media. In Proceedings of the 19th ACM conference on computer-supported cooperative work & social computing. 1157–1170 (Association for Computing Machinery, 2016).
- 39.Gordon, M., Althoff, T. & Leskovec, J. Goal-setting and achievement in activity tracking apps: a case study of MyFitnessPal. In The World Wide Web Conference. 571–582 (International World Wide Web Conferences Steering Committee, 2019). [DOI] [PMC free article] [PubMed]
- 40.Allcott H, et al. Food deserts and the causes of nutritional inequality. Q. J. Econ. 2019;134:1793–1844. [Google Scholar]
- 41.Sasson C, et al. American heart association diabetes and cardiometabolic health summit: Summary and recommendations. J. Am. Heart Assoc. 2018;7:e009271. doi: 10.1161/JAHA.118.009271. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Mason KE, Pearce N, Cummins S. Associations between fast food and physical activity environments and adiposity in mid-life: cross-sectional, observational evidence from uk biobank. Lancet Public Health. 2018;3:e24–e33. doi: 10.1016/S2468-2667(17)30212-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.CDC. Behavioral risk factor surveillance system survey questionnaire (2011). https://www.cdc.gov/brfss/smart/smart_2011.htm. Accessed 18 Aug 2017.
- 44.CDC. Behavioral risk factor surveillance system survey questionnaire (2012). https://www.cdc.gov/brfss/smart/smart_2012.htm. Accessed 18 Aug 2017.
- 45.Rahkovsky, I. & Snyder, S. Food choices and store proximity (2015). https://www.ers.usda.gov/webdocs/publications/45432/53943_err195.pdf?v=42276/. Accessed 31 Dec 2019.
- 46.USCB. Quickfacts (2017). https://www.census.gov/quickfacts/fact/table/US/PST045219.
- 47.Larson NI, Story MT, Nelson MC. Neighborhood environments: disparities in access to healthy foods in the us. Am. J. Preventive Med. 2009;36:74–81. doi: 10.1016/j.amepre.2008.09.025. [DOI] [PubMed] [Google Scholar]
- 48.Mackenbach JD, et al. A systematic review on socioeconomic differences in the association between the food environment and dietary behaviors. Nutrients. 2019;11:2215. doi: 10.3390/nu11092215. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Meyer KA, et al. Sociodemographic differences in fast food price sensitivity. JAMA Intern. Med. 2014;174:434–442. doi: 10.1001/jamainternmed.2013.13922. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Lakerveld J, Mackenbach J. The upstream determinants of adult obesity. Obes. Facts. 2017;10:216–222. doi: 10.1159/000471489. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Cockerham WC, Hamby BW, Oates GR. The social determinants of chronic disease. Am. J. Preventive Med. 2017;52:S5–S12. doi: 10.1016/j.amepre.2016.09.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Yusuf ZI, et al. Social determinants of overweight and obesity among children in the united states. Int. J. Matern. Child Health AIDS. 2020;9:22. doi: 10.21106/ijma.337. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 53.Farmer MM, Ferraro KF. Are racial disparities in health conditional on socioeconomic status? Soc. Sci. Med. 2005;60:191–204. doi: 10.1016/j.socscimed.2004.04.026. [DOI] [PubMed] [Google Scholar]
- 54.Shuey KM, Willson AE. Cumulative disadvantage and black-white disparities in life-course health trajectories. Res. Aging. 2008;30:200–225. [Google Scholar]
- 55.Do DP, et al. Does place explain racial health disparities? quantifying the contribution of residential context to the black/white health gap in the united states. Soc. Sci. Med. 2008;67:1258–1268. doi: 10.1016/j.socscimed.2008.06.018. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Williams DR, Collins C. Us socioeconomic and racial differences in health: patterns and explanations. Annu. Rev. Sociol. 1995;21:349–386. [Google Scholar]
- 57.Bratter JL, Gorman BK. Is discrimination an equal opportunity risk? racial experiences, socioeconomic status, and health status among black and white adults. J. Health Soc. Behav. 2011;52:365–382. doi: 10.1177/0022146511405336. [DOI] [PubMed] [Google Scholar]
- 58.Williams DR, Neighbors HW, Jackson JS. Racial/ethnic discrimination and health: findings from community studies. Am. J. Public Health. 2003;93:200–208. doi: 10.2105/ajph.93.2.200. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 59.Pearson JA. Can’t buy me whiteness: New lessons from the titanic on race, ethnicity, and health. Du Bois Rev.: Soc. Sci. Res. Race. 2008;5:27–47. [Google Scholar]
- 60.Boen C. The role of socioeconomic factors in black-white health inequities across the life course: Point-in-time measures, long-term exposures, and differential health returns. Soc. Sci. Med. 2016;170:63–76. doi: 10.1016/j.socscimed.2016.10.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 61.Lommel LL, Thompson L, Chen J-L, Waters C, Carrico A. Acculturation, inflammation, and self-rated health in mexican american immigrants. J. Immigr. Minority Health. 2019;21:1052–1060. doi: 10.1007/s10903-018-0805-7. [DOI] [PubMed] [Google Scholar]
- 62.Bostean G. Does selective migration explain the hispanic paradox? a comparative analysis of mexicans in the us and mexico. J. Immigr. Minority Health. 2013;15:624–635. doi: 10.1007/s10903-012-9646-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 63.Ruiz JM, Steffen P, Smith TB. Hispanic mortality paradox: a systematic review and meta-analysis of the longitudinal literature. Am. J. Public Health. 2013;103:e52–e60. doi: 10.2105/AJPH.2012.301103. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 64.Min JW, Rhee S, Lee SE, Rhee J, Tran T. Comparative analysis on determinants of self-rated health among non-hispanic white, hispanic, and asian american older adults. J. Immigr. Minority Health. 2014;16:365–372. doi: 10.1007/s10903-013-9852-2. [DOI] [PubMed] [Google Scholar]
- 65.Kimbro RT, Gorman BK, Schachter A. Acculturation and self-rated health among latino and asian immigrants to the united states. Soc. Probl. 2012;59:341–363. [Google Scholar]
- 66.Brewer JV, et al. Contributors to self-reported health in a racially and ethnically diverse population: focus on hispanics. Ann. Epidemiol. 2013;23:19–24. doi: 10.1016/j.annepidem.2012.09.013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 67.Ridker PM. C-reactive protein: a simple test to help predict risk of heart attack and stroke. Circulation. 2003;108:e81–e85. doi: 10.1161/01.CIR.0000093381.57779.67. [DOI] [PubMed] [Google Scholar]
- 68.Viruell-Fuentes EA. Beyond acculturation: immigration, discrimination, and health research among mexicans in the united states. Soc. Sci. Med. 2007;65:1524–1535. doi: 10.1016/j.socscimed.2007.05.010. [DOI] [PubMed] [Google Scholar]
- 69.Rodriguez F, et al. Association of educational attainment and cardiovascular risk in hispanic individuals: Findings from the cooper center longitudinal study. JAMA Cardiol. 2019;4:43–50. doi: 10.1001/jamacardio.2018.4294. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 70.Lutsey PL, et al. Associations of acculturation and socioeconomic status with subclinical cardiovascular disease in the multi-ethnic study of atherosclerosis. Am. J. Public Health. 2008;98:1963–1970. doi: 10.2105/AJPH.2007.123844. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 71.Koya DL, Egede LE. Association between length of residence and cardiovascular disease risk factors among an ethnically diverse group of united states immigrants. J. Gen. Intern. Med. 2007;22:841–846. doi: 10.1007/s11606-007-0163-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 72.Moran A, et al. Financial incentives increase purchases of fruit and vegetables among lower-income households with children. Health Aff. 2019;38:1557–1566. doi: 10.1377/hlthaff.2018.05420. [DOI] [PubMed] [Google Scholar]
- 73.Moran AJ, et al. Associations between governmental policies to improve the nutritional quality of supermarket purchases and individual, retailer, and community health outcomes: An integrative review. Int. J. Environ. Res. Public Health. 2020;17:7493. doi: 10.3390/ijerph17207493. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 74.Phipps EJ, et al. Impact of a rewards-based incentive program on promoting fruit and vegetable purchases. Am. J. Public Health. 2015;105:166–172. doi: 10.2105/AJPH.2013.301752. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 75.Steele-Adjognon M, Weatherspoon D. Double up food bucks program effects on snap recipients’ fruit and vegetable purchases. BMC Public Health. 2017;17:1–7. doi: 10.1186/s12889-017-4942-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 76.Wilde P, Klerman JA, Olsho LE, Bartlett S. Explaining the impact of usda’s healthy incentives pilot on different spending outcomes. Appl. Economic Perspect. Policy. 2015;38:655–672. [Google Scholar]
- 77.Polacsek M, et al. A supermarket double-dollar incentive program increases purchases of fresh fruits and vegetables among low-income families with children: the healthy double study. J. Nutr. Educ. Behav. 2018;50:217–228. doi: 10.1016/j.jneb.2017.09.013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 78.Cummins S, Flint E, Matthews SA. New neighborhood grocery store increased awareness of food access but did not alter dietary habits or obesity. Health Aff. 2014;33:283–291. doi: 10.1377/hlthaff.2013.0512. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 79.Dubowitz T, et al. Changes in diet after introduction of a full service supermarket in a food desert. Health Aff. 2015;34:1858. doi: 10.1377/hlthaff.2015.0667. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 80.Zhang YT, et al. Is a reduction in distance to nearest supermarket associated with bmi change among type 2 diabetes patients? Health Place. 2016;40:15–20. doi: 10.1016/j.healthplace.2016.04.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 81.Rogus S, Athens J, Cantor J, Elbel B. Measuring micro-level effects of a new supermarket: do residents within 0.5 mile have improved dietary behaviors? J. Acad. Nutr. Dietetics. 2018;118:1037–1046. doi: 10.1016/j.jand.2017.06.360. [DOI] [PubMed] [Google Scholar]
- 82.Chrisinger B. A mixed-method assessment of a new supermarket in a food desert: contributions to everyday life and health. J. Urban Health. 2016;93:425–437. doi: 10.1007/s11524-016-0055-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 83.Giang T, Karpyn A, Laurison HB, Hillier A, Perry RD. Closing the grocery gap in underserved communities: the creation of the pennsylvania fresh food financing initiative. J. Public Health Manag. Pract. 2008;14:272–279. doi: 10.1097/01.PHH.0000316486.57512.bf. [DOI] [PubMed] [Google Scholar]
- 84.Jack D, et al. Socio-economic status, neighbourhood food environments and consumption of fruits and vegetables in new york city. Public health Nutr. 2013;16:1197–1205. doi: 10.1017/S1368980012005642. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 85.Strome S, Johns T, Scicchitano MJ, Shelnutt K. Elements of access: the effects of food outlet proximity, transportation, and realized access on fresh fruit and vegetable consumption in food deserts. Int. Q. Community Health Educ. 2016;37:61–70. doi: 10.1177/0272684X16685252. [DOI] [PubMed] [Google Scholar]
- 86.Cantor J, et al. Snap participants improved food security and diet after a full-service supermarket opened in an urban food desert: Study examines impact grocery store opening had on food security and diet of supplemental nutrition assistance program participants living in an urban food desert. Health Aff. 2020;39:1386–1394. doi: 10.1377/hlthaff.2019.01309. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 87.Chandola T, Clarke P, Morris J, Blane D. Pathways between education and health: a causal modelling approach. J. R. Stat. Soc.: Ser. A. 2006;169:337–359. [Google Scholar]
- 88.Cutler, D. M. & Lleras-Muney, A. Education and health: evaluating theories and evidence. Working Paper Series, Working Paper 12352 National Bureau of Economic Research. http://www.nber.org/papers/w12352 (2006).
- 89.Kenkel DS. Health behavior, health knowledge, and schooling. J. Political Econ. 1991;99:287–305. [Google Scholar]
- 90.Fletcher JM, Frisvold DE. Higher education and health investments: does more schooling affect preventive health care use? J. Hum. Cap. 2009;3:144–176. doi: 10.1086/645090. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 91.Lleras-Muney A. The relationship between education and adult mortality in the united states. Rev. Economic Stud. 2005;72:189–221. [Google Scholar]
- 92.Mirowsky, J. Education, Social Status, and Health (Routledge, 2017).
- 93.CDC. Behavioral risk factor surveillance system survey questionnaire. https://www.cdc.gov/brfss. Accessed 18 Aug 2017.
- 94.Weeks WB, et al. Differences in health-related quality of life in rural and urban veterans. Am. J. Public Health. 2004;94:1762–1767. doi: 10.2105/ajph.94.10.1762. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 95.Cromartie, J. Rural-urban commuting area codes (2020). https://www.ers.usda.gov/data-products/rural-urban-commuting-area-codes.aspx.
- 96.Ferris HA, Isganaitis E, Brown F. Time for an end to juice in the special supplemental nutrition program for women, infants, and children. JAMA pediatrics. 2017;171:509–510. doi: 10.1001/jamapediatrics.2017.0134. [DOI] [PubMed] [Google Scholar]
- 97.Caswell H. The role of fruit juice in the diet: an overview. Nutr. Bull. 2009;34:273–288. [Google Scholar]
- 98.Guasch-Ferré M, Hu FB. Are fruit juices just as unhealthy as sugar-sweetened beverages? JAMA Netw. Open. 2019;2:e193109–e193109. doi: 10.1001/jamanetworkopen.2019.3109. [DOI] [PubMed] [Google Scholar]
- 99.Bureau, U. C. American community survey 5-year estimates (2014). http://censusreporter.org. Accessed 30 Aug 2017.
- 100.Buajitti E, Chiodo S, Rosella LC. Agreement between area-and individual-level income measures in a population-based cohort: implications for population health research. SSM-Popul. Health. 2020;10:100553. doi: 10.1016/j.ssmph.2020.100553. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 101.Rhone, A. Food access research atlas documentation (2015). https://www.ers.usda.gov/data-products/food-access-research-atlas/documentation/. Accessed 20 Aug 2017.
- 102.Din, A. HUD USPS Zip Code Crosswalk Files (2017). https://www.huduser.gov/portal/datasets/usps_crosswalk.html. Accessed 10 Aug 2017.
- 103.Yelp. Yelp Fusion V3 API (2017). https://www.yelp.com/dataset/documentation/main/. Accessed 30 Aug 2017.
- 104.Efron, B. & Tibshirani, R. J. An introduction to the bootstrap (CRC press, 1994).
- 105.Austin PC, Small DS. The use of bootstrapping when using propensity-score matching without replacement: a simulation study. Stat. Med. 2014;33:4306–4319. doi: 10.1002/sim.6276. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 106.Diamond A, Sekhon JS. Genetic matching for estimating causal effects: a general multivariate matching method for achieving balance in observational studies. Rev. Econ. Stat. 2013;95:932–945. [Google Scholar]
- 107.Teixeira V, Voci SM, Mendes-Netto RS, da Silva DG. The relative validity of a food record using the smartphone application MyFitnessPal. Nutr. Dietetics. 2018;75:219–225. doi: 10.1111/1747-0080.12401. [DOI] [PubMed] [Google Scholar]
- 108.Griffiths C, Harnack L, Pereira MA. Assessment of the accuracy of nutrient calculations of five popular nutrition tracking applications. Public Health Nutr. 2018;21:1495–1502. doi: 10.1017/S1368980018000393. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 109.Chen J, Berkman W, Bardouh M, Ng CYK, Allman-Farinelli M. The use of a food logging app in the naturalistic setting fails to provide accurate measurements of nutrients and poses usability challenges. Nutrition. 2019;57:208–216. doi: 10.1016/j.nut.2018.05.003. [DOI] [PubMed] [Google Scholar]
- 110.Nguyen Q, et al. Social media indicators of the food environment and state health outcomes. Public Health. 2017;148:120–128. doi: 10.1016/j.puhe.2017.03.013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 111.Gomez-Lopez IN, et al. Using social media to identify sources of healthy food in urban neighborhoods. J. Urban Health. 2017;94:429–436. doi: 10.1007/s11524-017-0154-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 112.Einav, L., Leibtag, E. S. & Nevo, A. On the accuracy of Nielsen homescan data. Economic Research Report No. ERR-69. https://www.ers.usda.gov/publications/pub-details/?pubid=46114 (2008).
- 113.for Disease Control, C., Prevention et al. Behavioral risk factor surveillance system 2019 summary data quality report. july 16, 2020 (2020).
- 114.Mokdad AH. The behavioral risk factors surveillance system: past, present, and future. Annu. Rev. Public Health. 2009;30:43–54. doi: 10.1146/annurev.publhealth.031308.100226. [DOI] [PubMed] [Google Scholar]
- 115.Pierannunzi C, Hu SS, Balluz L. A systematic review of publications assessing reliability and validity of the behavioral risk factor surveillance system (brfss), 2004–2011. BMC Med. Res. Methodol. 2013;13:1–14. doi: 10.1186/1471-2288-13-49. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 116.Austin PC. An introduction to propensity score methods for reducing the effects of confounding in observational studies. Multivar. Behav. Res. 2011;46:399–424. doi: 10.1080/00273171.2011.568786. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 117.Stuart EA. Matching methods for causal inference: a review and a look forward. Stat. Sci.: A Rev. J. Inst. Math. Stat. 2010;25:1. doi: 10.1214/09-STS313. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 118.Glass GV. Primary, secondary, and meta-analysis of research. Educ. Researcher. 1976;5:3–8. [Google Scholar]
- 119.US Zip Codes History (2012). https://www.zip-codes.com/zip-codes-history.asp. Accessed 11 May 2021.
- 120.USPS Postal Facts (2021). https://facts.usps.com/42000-zip-codes/. Accessed 11 May 2021.
- 121.US Census 2012 (2012). https://web.archive.org/web/20130707052113/http://www.census.gov/popest/data/counties/totals/2012/CO-EST2012-alldata.html/. Accessed 11 May 2021.
- 122.Rundle A, et al. Personal and neighborhood socioeconomic status and indices of neighborhood walk-ability predict body mass index in new york city. Soc. Sci. Med. 2008;67:1951–1958. doi: 10.1016/j.socscimed.2008.09.036. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Data are available at http://snap.stanford.edu/dietdisparities.
Code is available at http://snap.stanford.edu/dietdisparities.