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.
- 37%growth in spending per beneficiary from 2014 to 2024, in metro and rural counties alike (nominal dollars)
- $620less per beneficiary in rural counties than in similar metro counties, after controlling for income, poverty, age, and Medicaid enrollment
- 18.8%readmission rate in the counties that spend most above prediction, vs. 16.1% in those that spend least: more spending, not better outcomes
- 10×the national average on skilled nursing care in Miller County, GA, the highest-spending county in 2024
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.
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.
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.
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 beneficiary | Unweighted | Weighted |
|---|---|---|
| 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-years | 32,366 | 32,366 |
| R² | 0.42 | 0.47 |
Year fixed effects included. Standard errors clustered by state (50 clusters). *** p<0.01, ** p<0.05.
- Rurality matters once other factors are held constant. In the raw data, the typical metro and rural county spend almost the same. After accounting for rural counties' higher poverty and Medicaid enrollment, rural counties spend about $600 to $850 less per beneficiary.
- Poverty, not income, carries the signal. Income and poverty are closely related (correlation of about −0.74). With both in the model, poverty is significant and income is not.
- The results are not driven by small counties. Weighting by beneficiaries keeps every sign and significance level and makes the rural gap larger. Dropping Miller County changes nothing meaningful.
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.
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.
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
- Medicare spending: CMS Medicare Geographic Variation Public Use File, 2014 to 2024, county level. The outcome is standardized spending per Original Medicare beneficiary, which removes geographic differences in Medicare payment rates.
- Income and poverty: US Census Bureau Small Area Income and Poverty Estimates (SAIPE), pulled from the Census API.
- Rurality: USDA Rural-Urban Continuum Codes, 2023. Codes 1 to 3 are metro; 4 to 9 are rural (nonmetro).
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.