Portfolio project · Health economics

Why does Medicare spend more in some counties than others?

An analysis of standardized Medicare spending per beneficiary across about 3,000 US counties, 2014 to 2024, using SQL (DuckDB) and Python.

Where spending is high

Medicare does not spend the same amount on everyone. In 2024 the middle 90% of counties ranged from about $9,500 to $15,500 per beneficiary, even after removing differences in local prices. Spending is highest in Florida, Oklahoma, and the Gulf South, and lowest in the Pacific Northwest, the northern Mountain West, northern New England, Alaska, and Hawaii.

Medicare spending per beneficiary by county, 2024. Standardized dollars. Color scale capped at the 5th and 95th percentiles. Gray counties have fewer than 500 Original Medicare beneficiaries and are excluded.

Richer counties do not spend more

A natural guess is that wealthier places use more care. The data show the opposite, at least weakly: higher-income counties spend slightly less per beneficiary, and the pattern is stronger among rural counties. Poorer counties have more beneficiaries who also qualify for Medicaid ("dual-eligible"), a group that tends to need more care.

Spending per beneficiary vs. median household income, 2024. One dot per county; lines are simple linear fits within metro and rural counties. Hover for county details.

Metro and rural counties grew at the same pace

Metro counties spend more per beneficiary than rural ones every year, but the gap has been stable. Both grew about 37% between 2014 and 2024, with a dip in 2020 when the use of care fell during COVID-19.

Standardized spending per beneficiary, 2014 to 2024. Averages weighted by number of beneficiaries. Nominal dollars, not adjusted for inflation.

What explains the differences?

I regressed county spending per beneficiary on income, poverty, rurality, average age, the share of beneficiaries also on Medicaid, and the share of Medicare enrollees in Medicare Advantage, with year fixed effects and standard errors clustered by state. As a robustness check, I re-ran the model weighting each county by its number of beneficiaries.

Change in spending per beneficiaryUnweightedWeighted
Rural county (vs. metro)−$616***−$858***
+1 point poverty rate+$89***+$77**
+$10,000 median income−$82−$90
+1 year average age+$257***+$309***
+1 point dual-eligible share+$34**+$34**
+1 point Medicare Advantage share+$1+$12
County-years32,36632,366
R²0.420.47

Year fixed effects included. Standard errors clustered by state (50 clusters). *** p<0.01, ** p<0.05.

These are associations across counties, not causal effects. Standardized spending removes differences in prices, not in health, so part of the rural gap may reflect differences in health or in access to care.

Spending the model can't explain

The model accounts for about 42% of the variation in spending. The rest is the gap between what a county actually spends and what the model predicts for a county with the same income, poverty, age, Medicaid enrollment, Medicare Advantage share, and rurality. Red counties spend more than predicted; blue counties spend less.

Unexplained spending per beneficiary, 2024. Actual minus predicted standardized spending, using the unweighted regression above. Color scale capped at ±$3,500 (the 95th percentile). Dark gray counties are not in the sample.

The pattern is regional. Accounting for population, Florida, Oklahoma, Texas, Mississippi, and New Jersey spend about $1,500 to $2,100 more per beneficiary than predicted, while Hawaii, Alaska, Oregon, New Mexico, Vermont, and Washington spend about $2,000 to $3,700 less. Miller County, GA is the largest outlier, about $16,700 above its prediction.

The gaps are also persistent. A county's unexplained spending in 2014 to 2018 is strongly correlated with its unexplained spending in 2020 to 2024 (correlation of 0.88), which suggests lasting features of each place rather than year-to-year noise. Research on regional variation, most famously the Dartmouth Atlas of Health Care, has linked gaps like these to local practice patterns and the supply of hospitals and specialists, as well as to differences in health that county averages miss. This analysis does not separate those explanations.

More spending does not buy better outcomes

If high-spending counties were buying better care, they should have fewer bad outcomes. On the two outcome measures CMS reports for counties, they have more. Counties that spend the most relative to their prediction have a 30-day hospital readmission rate of 18.8%, compared with 16.1% in counties that spend the least. ER visits are higher too, though the rise is less steady.

Outcomes by unexplained spending, 2024. Counties split into five equal groups by actual minus predicted spending per beneficiary. Averages weighted by number of beneficiaries.

The same pattern shows up in a regression on all years with the same controls: each additional $1,000 per beneficiary goes with about 0.6 percentage points more readmissions and about 30 more ER visits per 1,000 beneficiaries (both p<0.001). It holds when counties are weighted by beneficiaries, and when only spending outside the hospital is counted, which makes it unlikely that the link is just readmissions themselves adding to the bill. It also holds with county fixed effects, comparing each county with itself over time.

This matches a long-standing finding from the Dartmouth Atlas: places that spend more on Medicare patients do not get better results. It does not show that spending causes worse outcomes. Sicker populations could drive both, and readmissions and ER visits are only two measures of quality.

Data and methods

Data

Sample

Counties with fewer than 500 Original Medicare beneficiaries are excluded because their averages are noisy (the smallest county in the data had 14). US territories are excluded. The final panel has 32,699 county-years across 3,011 counties. More than 99.7% of rows match to the income and rurality data; the exceptions are Connecticut before its 2022 switch to planning regions and one Alaska area that was split in 2019.

Tools

DuckDB (SQL) for loading, reshaping, and joining; pandas and statsmodels for the regressions; Plotly for the charts.