Fit Cities vs Fat Cities

What publicly available data can tell us about differences in lifestyle and obesity between cities.

Healthcare expenditures in the USA are increasingly out of control. It’s not too surprising that we spend a lot on healthcare given that two thirds of us take prescription medicine, half of us have diabetes or prediabetes, and half of us are at elevated risk for heart disease.

Obesity is the main culprit behind these trends, and it costs the USA hundreds of billions of dollars per year. The least obese state in 2016 was Colorado, with 21% of the population at BMI>30. In 1991, not a single state had yet reached 20% obese.

What changed so much in the last 25 years? More than just diet. Although over-eating contributes to obesity, Americans ate more or less the same diet in 1991 as we do now. What has changed is that personal computers and smartphones have become ubiquitous and most of us work sedentary jobs. We’re now much better equipped to stay entertained while sitting still for hours at a time, and long sitting spells do all sorts of horrible things to your body.

It’s been my experience traveling around the USA that some towns are much more physically active and outdoor-oriented than others, and that cultural norms for physical activity can be contagious. I therefore set out to test the hypothesis that more sedentary cities are also more obese using publicly available data.


City Differences in Obesity and Physical Activity

To test the hypothesis that more sedentary cities are also more obese, I used 2010 CDC data on BMI and self-reported sedentary behavior in nearly 200 US cities, which I found here.

I also wanted to look at what makes certain cities more physically active than others. To test the possibility that sedentary behavior is influenced by walkability, I looked up the walkability score for each city in the data set. I also used 2010 census data as compiled on statistical atlas to look at demographics and median income in each city, to test the possibilities that race and class influence sedentary behavior. I also recorded the latitude and average annual precipitation in each city to see if hot and/or wet climates promote sedentary behavior.

After removing cities for which high-quality data was not available, and also removing cities outside of the contiguous 48 states to keep Hawaii and Alaska from messing up the latitude comparisons, 186 cities remained in the final data set, which you can download here. Here they are, superimposed on a map of the USA:

The 186 cities used in this analysis

Sedentary Behavior and Obesity

Within these 186 cities, the percentage of the population self-reporting zero physical activity is strongly correlated to the percentage of the population with a BMI>30. Differences in obesity rate between cities can largely be explained by differences in physical activity, and there’s a less than 0.001% chance of this correlation occurring due to random variations in the data set.

Sedentary cities are also obese cities, for the most part.

Based on this data, it’s plausible that virtually everybody who gets zero physical activity is obese. With a correlation this strong between obesity and physical activity, it’s interesting to know what attributes of a city might promote more or less physically active lifestyles. In the meantime, it’s also a good idea to make sure you’re not one of the people reporting zero physical activity.


City Planning

The first possibility I considered is that some cities are much more walkable than others, and that this may explain city-city differences in sedentary behavior. To test this hypothesis, I used walkscore.com’s walkability score, which ranges from 0 (can’t go for a walk at all) to 100 (never need to use a car or public transit). Here’s what I found:

Less walkable cities tend to be more sedentary.

The relationship I expected does show up, but it appears to be specific to low-walkability cities. Moreover, the correlation is fairly weak. It looks like there’s much more difference made by people’s choice to use or not use pedestrian infrastructure than difference made by the infrastructure being there to use. For cities with less than 50% walkability, there’s an inverse relationship between walkability and sedentary behavior (0.03% chance of correlation occurring due to noise).

For cities with greater than 50% walkability, there’s no detectable relationship between walkability and sedentary behavior. Notably, there were more than twice as many cities in the low-walkability group (n=136) than in the high-walkability group (n=50). This data seems to suggest that there’s such a thing as walkable enough, but that most US cities aren’t there.


Climate

I’ve personally found it much easier to get my daily run in since moving from Georgia (very hot and very humid) to Colorado (dry and temperate). I therefore hypothesized that southern latitude and high annual precipitation would correlate to more sedentary behavior. It turns out I was correct on both counts, but that the relationships are very tenuous:

People tend to be more sedentary in more southern cities.
People tend to be more sedentary in cities with wetter climates.

You may note that there are some very active cities at very southern latitudes in the first plot. Those are mostly small resort towns in Florida, like Key West (latitude 24.6, 17% sedentary). In addition, although the precipitation vs sedentary behavior correlation is statistically significant, this relationship is highly variable and probably not noticeable in day-to-day life.


Sociological Factors

Poor people tend to have worse health outcomes than do rich people, so I hypothesized that median income in each city might correlate to the percentage of the population reporting zero physical activity.

Poor cities tend to be more sedentary.

The distribution for median income was highly skewed, so I log-normalized it. Bethesda MD was still so rich as to be a major outlier, so I removed it from this analysis. As hypothesized, there was a general trend for richer cities to be more physically active than poorer cities. I originally suspected that this could be confounded by poor cities being less walkable, but it turned out that there’s no detectable relationship between walkability and median income (data not shown).

People of color tend also to have worse health outcomes than do white people. The CDC has compiled extensive data sets on this disparity, and it’s very possible that some city-city differences are explained by demographic factors. I therefore also tested the hypothesis that the percentage of the population reporting zero physical activity might be correlated the percentage of the population comprised by non-Hispanic whites.

More diverse cities tend to be more sedentary.

There was also a consistent, albeit weak, inverse correlation between percentage of the population comprised by non-Hispanic whites and percentage of the population reporting zero physical activity. These data suggest that white people may be more physically active on average than are people of color.


Multivariate Analysis

It’s very possible that the single-variable correlations I looked at above are confounded by mutual relationships between the predictor variables. For example, it’s possible that the percentage of non-Hispanic whites in a city only correlates to physical activity because both are correlated to median income. To correct for these sorts of possible confounders, I used a technique called multiple linear regression.

In this multivariate analysis, the three predictors of sedentarism that remained statistically significant were 1) median income (people in wealthier cities tend to be more active), 2) walkability (people in more walkable cities tend to be more active), and 3) racial and ethnic diversity (people in more diverse cities tend to be more sedentary). Collectively, these parameters explain 27% of the variance in sedentarism by city (R²=0.27).

After correcting for wealth, walkability, and demographics, southern latitude and high annual precipitation were no longer significantly correlated with sedentary behavior. Wetter southern cities also tended to also be the poorest, least walkable, and most diverse cities in this data set, and these relationships were confounders in the single-variable analyses discussed above.


Conclusions

City-city differences in physical activity are closely related to city-city differences in obesity. This is consistent with the facts that an increasing number of people are working sedentary jobs and less than 5% of Americans reach the CDC’s suggested amount of daily physical activity. Physical activity is what’s changed since 1991.

The fact that wealth and demographics were significant predictors of sedentary behavior in the multivariate analysis suggests that working class people and/or people of color are less physically active than upper/middle class white people. This may mean that poor people are generally less health conscious, or it may represent crime as a confounding variable (nobody wants to go for a walk in a high crime neighborhood).

The fact that low walkability remained a significant predictor of sedentary behavior in the multivariate analysis suggests that pedestrian infrastructure really does matter to population health. The American tendency towards sprawling, car-dependent cities may be making us fat and sick.

Above all, the fact that the environmental and sociological parameters only explained 27% of the variance in physical activities between cities suggest that either 1) there are other parameters I should have taken into account but didn’t or 2) the culture of an individual city may have more to do with how physically active its inhabitants are than socioeconomic and environmental factors do.

My guess is that there’s some truth to both potential explanations, and I’m particularly partial to the culture-based explanation, given that every city had at least 13% and at most 38% of the population reporting zero physical activity, thus underscoring the importance of individual choice.

If you want to live in a fitter, healthier community, here are my suggestions:

  • Go play outside, and bring friends. Help build an active culture. This is my key take-away from observing how strongly related obesity and sedentarism are between cities.
  • Do your part to make the community you live in wealthier. Going to work and doing a good job really might matter to population-level health.
  • Do your part to make your neighborhood more walkable. Maybe that means living closer to town; maybe it means building sidewalks. You would know better than I do.
  • Encourage others to be physically active, especially members of disadvantaged groups. Health consciousness matters.
  • When thinking about how to make your hometown healthier, invoke the tools of the present, not the tools you wish you had instead.

Thanks for reading!