placestats

Share of days with unhealthy air and Gross domestic product

Where Share of days with unhealthy air is higher, Gross domestic product tends to be higher. The link is weak: +0.35 across 792 counties, on a scale from −1 (opposite) to +1 (in step). That figure compares places with the same population density, income and education, so those differences can't explain it.

Holds after adjusting

Every place, plotted

One dot for each place reporting both measures. Hover over or tap a dot to see its name and values. The thin line is the straight line that best fits the dots. The bold line, shown for counties, is the link after adjusting for density, income and education. A dot far from the lines is a place that does not follow the pattern.

Loading every place…

What each measure is

Share of days with unhealthy air

The percentage of days when the Air Quality Index was over 100, which is unhealthy for sensitive groups or worse. The index runs from 0 to 500 and is set by the worst pollutant that day. Smoke from wildfires and summer ozone cause most of these days. It counts only the days the monitors gave a reading, and a year counts only if there were at least 274 of them. Only about 800 counties have a monitor, mostly the larger ones.

EPA Air Quality System · EPA AQS annual_aqi_by_county, Unhealthy for Sensitive Groups + Unhealthy + Very Unhealthy + Hazardous Days, divided by Days with AQI

Gross domestic product

Gross domestic product: the value of everything produced in the area, in dollars of that year (not adjusted for inflation).

BEA Regional Accounts · BEA CAGDP2 line 1

Highest and lowest

Where each measure is highest and lowest among the places reporting both (2023), with the other measure beside it. This is shown for every size of place where both are published. Metro-area values are added up from their counties. A measure that cannot be added up across counties, such as a middle value (median), has no metro figure. Counts are shown per 1,000 residents, since raw totals would only list the largest places. Cities and towns and ZIP codes are shown where the Census survey or the CDC publishes them; most other sources stop at the county. They are shown for places of 5,000 residents or more, and only where the survey’s margin of error is small enough for the figure to be usable. The CDC publishes its health estimates for cities in a version adjusted for age, so places with older or younger people can be compared fairly, but not for ZIP codes.

Counties

By share of days with unhealthy air

Share of days with unhealthy airGross domestic product, per 1,000 residents
Highest
San Bernardino County, CA32.359,379
Riverside County, CA31.251,839
Los Angeles County, CA23.897,093
Tulare County, CA22.550,196
Kern County, CA19.266,102
Lowest
Routt County, CO0112,265
Montezuma County, CO058,506
Mesa County, CO057,273
Gunnison County, CO088,134
Santa Barbara County, CA087,030

By gross domestic product

Share of days with unhealthy airGross domestic product, per 1,000 residents
Highest
Butte County, ID0659,156
New York County, NY2.47574,810
Karnes County, TX0511,485
Dunn County, ND4.66499,382
San Francisco County, CA0.274309,451
Lowest
Newton County, AR017,954
Edmonson County, KY1.119,422
Caswell County, NC021,505
Pike County, GA1.3924,170
Carter County, KY0.54924,564
States — Share of days with unhealthy air is not published for states

By gross domestic product

Share of days with unhealthy airGross domestic product, per 1,000 residents
Highest
District of Columbia—259,270
New York—109,826
Massachusetts—105,525
Washington—103,535
Delaware—102,727
Lowest
Mississippi—51,334
West Virginia—56,869
Arkansas—58,731
Alabama—61,244
Kentucky—62,799
Metro areas — Share of days with unhealthy air is not published for metro areas

By gross domestic product

Share of days with unhealthy airGross domestic product, per 1,000 residents
Highest
Town of Pecos, TX—1.2m
Borger, TX—418,460
Big Spring, TX—385,154
Midland, TX—302,341
Andrews, TX—278,708
Lowest
Winchester, VA-WV—3470.05
Charlottesville, VA—11,224
Lynchburg, VA—15,532
Blacksburg-Christiansburg-Radford, VA—17,826
Rio Grande City-Roma, TX—23,986

Counties furthest from the pattern

Compared with the straight line that best fits all 793 counties: the five with far more gross domestic product than their share of days with unhealthy air would suggest, and the five with far less.

Share of days with unhealthy airGross domestic product, per 1,000 residents
Above the line
Butte County, ID0659,156
New York County, NY2.47574,810
Karnes County, TX0511,485
Dunn County, ND4.66499,382
San Francisco County, CA0.274309,451
Below the line
Newton County, AR017,954
Edmonson County, KY1.119,422
Pinal County, AZ12.332,040
Riverside County, CA31.251,839
Caswell County, NC021,505

Two series, one county

Both measures over time for a county you pick. The two charts are stacked, so they share only the years along the bottom. You can pick from the thirty largest counties reporting both. This panel covers 2010–2024, and a measure published only once shows as a single dot.

Loading…

Every version of the link

Each row measures the same link, from −1 to +1, in a different way. If the rows mostly agree, the link does not depend on one choice of method.

Before adjusting for anything+0.370792 counties reporting both
After adjusting for density, income and education+0.349the part of the link that is not just how urban, rich and educated a place is
Also adjusting for population size+0.278size taken out as well as density
Also comparing only within each state+0.322each county is compared only with others in its own state, so this is no longer a comparison between states
Giving bigger counties more weight+0.687the adjusted link for the average resident rather than the average county. With this weighting, the data counts for about 162 equally weighted counties
Middle value inside single states+0.555the link worked out inside each of 13 states with at least 20 counties reporting
Using ranks, after adjusting+0.083uses each county’s rank, not its value, so a few extreme counties cannot create the link

How much to believe it

Could it be chance?

The p-value is the chance of seeing a link this strong if there were really none. A value of 0.05 or less means the link is unlikely to be chance. Very small values are written in short form: 3.1e-16 means 0.00000000000000031, and the bigger the number after “e-”, the smaller the value. Treating every county as a separate case gives p = 4.9e-24. But counties in the same state tend to resemble each other, so the better figure allows for that: p = 4.0e-9. The site tested 24,090 pairs, and testing so many turns up some flukes. The q-value allows for that too. For this pair it is 1.8e-23.

Do nearby places look alike?

Moran’s I measures how much nearby places look alike: 0 means no map pattern, and higher means neighbours are more similar. For the part of each county that the adjustment leaves unexplained, it is +0.03 (p = 0.034). Once the adjustment is made, little map pattern is left.

Did they change together?

The figures above compare counties at one moment. This asks a different question: where share of days with unhealthy air rose most, did gross domestic productmove too? Each county’s change is compared with the average change in its own state. That takes out ups and downs that hit a whole region at once. Each change is the gap between two estimates that both contain some error. That error pulls these links towards zero, so a weak one is weak partly for that reason. The q column shows whether a link could be a fluke, allowing for the many pairs tested: 0.05 or less means it is unlikely to be chance.

PeriodCountiesChange togetherWithin statesq
2014–2019 the main test: each Census survey figure averages five years, and these two do not overlap; before the pandemic689-0.06+0.020.909
2019–2023 a repeat check: its two five-year survey figures both include 2019, and it covers the COVID years746-0.11+0.050.535

Over the main period, any link between the changes could easily be chance. How change is measured.

Related pairs

Association only. Nothing here shows that either measure changes the other. This describes counties, not the people in them. Two measures going together across places does not mean the same people have both. How the US county data works · Explore Share of days with unhealthy air and Gross domestic product