excessive costs: groceries

This model predicts whether a voter is experiencing excessive grocery costs — a felt-burden indicator combining direct reports of difficulty paying for groceries, an elevated grocery share of household expenses, and food-assistance program enrollment.

Trained on survey data, it uses income proxies, consumer indicators, and area-level cost-of-living features to identify voters feeling acute grocery cost pressure under current inflation conditions.

Organizations can apply these scores to target SNAP outreach, food affordability messaging, and anti-hunger campaigns.

0.58average scoreAbout 58% of people on the voter file.
1.3×Most likely vs. randomImprovement over random selection in the top score segment.
0.68area under ROC curveThe model's ranking quality; 0.5 is random

Using this score

Every person gets a likelihood segment. Most likely is sized to the share of people who actually have this trait, up to a third. Somewhat likely is the next group of the same size.

Most likely
scores 0.66–0.8533% of people1.3×vs. random
Somewhat likely
scores 0.53–0.6533% of people1.0×vs. random
Least likely
scores 0.17–0.5233% of people0.7×vs. random
A set number of peopleORDER BY affordability_excessive_costs_groceries DESC LIMIT 5000
The Most likely segment, from the segments tableaffordability_excessive_costs_groceries = 'Most likely'
How many have the trait in an areaSUM(affordability_excessive_costs_groceries)

How it compares with published figures

58%

of people with scored records report excessive grocery costs, by our model.

For comparison, a 2026 survey by LendingTree found that 49% of Americans reported difficulty affording food, while a 2024 report by the USDA Economic Research Service indicated that 14% of US households had “low or very low food security.”

How well it works

We held back some survey answers to test the model. In that test, the tenth of people it scored highest had this trait 1.2 times as often as average. The lowest tenth had it 0.51 times as often.

Lift by score decile, lowest scores on the left. The dashed line is a lift of 1, the same as average.

About this model

column
affordability_excessive_costs_groceries
model type
boosted tree classifier
training rows
18,545
last trained
2026-10-18
area under ROC curve
0.68
area under precision-recall curve
0.77
all metrics and calibration

Metrics

Calibration

Bars of similar height within each decile indicate well-calibrated predictions. Systematic differences reveal where the model over- or under-predicts.

Cumulative gains

The further the model curve bows above the diagonal, the better the model concentrates the outcome in its top-ranked predictions.

Deciles

decile count mean actual mean predicted mae lift
10 464 0.80 0.82 0.03 1.25
9 463 0.80 0.79 0.008 1.24
8 463 0.80 0.77 0.04 1.25
7 463 0.72 0.74 0.02 1.13
6 464 0.68 0.71 0.03 1.06
5 463 0.68 0.66 0.02 1.06
4 463 0.58 0.60 0.02 0.90
3 463 0.57 0.54 0.03 0.89
2 463 0.45 0.46 0.003 0.71
1 464 0.33 0.32 0.005 0.51
score distribution

statistic value
mean 0.58
std dev 0.13
min 0.17
25th 0.49
median 0.58
75th 0.69
max 0.85
features

Importance

Interaction terms are split evenly between the features they combine.

Sourcing

Agency for Healthcare Research and Quality

  • tract % uninsured

Attom Property Data API

  • bathrooms
  • land market value
  • last sale price
  • lot size (acres)

CDC PLACES

  • tract % adults with any disability

Revelio Labs

  • avg tenure (days)

State voter files (via TargetSmart)

  • age

TargetSmart

  • campaign finance reform score
  • cannabis legalization support score
  • child tax credit support score
  • double negative downballot dem score
  • early vote / absentee vote score
  • early vote timing score
  • homeowner score
  • ideology score
  • income rank
  • local election voter score
  • marriage score
  • presidential general turnout score
  • presidential primary turnout score
  • race: black

U.S. Census CPS Annual Social and Economic Supplement

  • current medicare coverage

US Department of Labor

  • county median weekly childcare cost, infant
  • county median weekly childcare cost, school age
architecture

This model is a boosted-tree classifier trained with BigQuery ML.

Hyperparameter configuration

  • max iterations: 20
  • learn rate: 0.3513
  • l1 regularization: 1.401e-11
  • l2 regularization: 0.0077
  • min relative progress: 0.01
  • early stop: TRUE
  • input label columns: affordability_excessive_costs_groceries
  • data split method: AUTO_SPLIT
  • num trials: 12
  • max parallel trials: 4
  • hparam tuning objectives: ROC_AUC
  • auto class weights: FALSE
  • max tree depth: 5
  • subsample: 0.7924
  • min split loss: 0
  • enable global explain: TRUE
  • category encoding method: LABEL_ENCODING
  • booster type: GBTREE
  • num parallel tree: 1
  • tree method: AUTO
  • min tree child weight: 1
  • instance weight column: sample_weight
  • xgboost version: 0.9