finding the people you’re looking for
Matter gives each person on our voter file a score for each model. This page shows how to turn those scores into a list of people to reach. Each model’s own page covers how we built and tested it.
What a score means
A score is the chance that a person has a trait. A Medicaid score of 0.40 means that about 40 out of 100 people with that score are on Medicaid.
Higher scores are better. A person doesn’t need a score above 0.50 to be worth contacting.
Most scores are low, and that’s expected. Turnout and partisanship scores often sit near 0 or 1 because past votes and party registration are strong clues. Nothing on the voter file says as much about Medicaid enrollment. Many of these traits are also rare. For example, about 1 in 10 people get the earned income tax credit (EITC), so most EITC scores sit near 0.10.
Pick your list
Start from the question you want to answer.
01
A set number of people
Sort by score and take the top of the list. If you can call 5,000 people in New Hampshire, take the 5,000 highest Medicaid scores in New Hampshire. This gets the most out of your budget, however high or low the scores are.
ORDER BY score DESC LIMIT 5000
02
The people most likely to have a trait
Use the segments. Every yes-or-no model puts each person into one of three segments:
- Most likely holds the highest scores. It’s about as big as the group of people who actually have the trait. If 19% of people are on Medicaid, “Most likely” holds the top 19% of scores.
- Somewhat likely holds the next group of the same size.
- Least likely holds everyone else.
For a common trait, “Most likely” and “Somewhat likely” each stop at about a third of people. For example, about 55% of people own their home, so “Most likely” holds the top third of homeownership scores.
“Most likely” makes a good default list. Add “Somewhat likely” when you need more people.
segment = 'Most likely'
03
How many people in an area have a trait
Add up the scores. If 1,000 people each have a score of 0.20, expect about 200 of them to have the trait.
Don’t count the people above a cutoff for this. That count misses people below the cutoff who have the trait. It also counts people above the cutoff who don’t.
Adding up scores works because the scores are calibrated. Across many people, a score of 0.20 comes true about 20% of the time. Each model page shows this in its calibration plot. Its “How it compares with published figures” section compares the model’s overall rate with published figures.
SUM(score)
Improvement over random selection
To see how a score compares with picking people at random, divide it by the model’s average score. This ratio is called lift.
The turnout score looks better, but the EITC score does twice as much to focus a list. When you compare traits, compare lift, not raw scores.
The chart under “How well it works” on each model page measures something related. It shows how well the model ranked the survey answers we held back to test it.
Things to watch for
- Use segments or the top of the list, not your own deciles. Splitting scores into tenths gives ten groups of the same size, whether a trait is rare or common.
- Segments are cut across the whole country. In a state where a trait is rarer than average, a smaller share of people land in “Most likely.” To get a list sized for one state, take the top of the list in that state.
- Don’t copy cutoffs by hand. Cutoffs move when we retrain a model. Use the
segmentstable, or check the list below. - Our totals won’t match program totals. Published counts often include children and other people who aren’t on the voter file. Each model page compares its rate with published figures and explains the gap.
- Scores describe the present. Each model uses the latest public data, and we don’t keep past versions of the scores.
- A high score can mean “recently” or “soon”. People move on and off programs like Medicaid often. The models mostly learn who is eligible. So a person with a high score who isn’t enrolled today may well have been recently, or may be soon.
- Income and housing cost are dollar amounts. These two models estimate a number, not a yes-or-no trait, so they have no segments. Sort by them or pick a dollar cutoff.
Segments for each model
This list shows each segment’s score range and share of people for the current release. When a model’s average score is above 0.33, each of the top two segments holds about a third of people. Shares can miss their target a little, because people with the same score always land in the same segment.
For analysts
The scores live in BigQuery:
indigo-eng.matter_scores_all.scoreshas one column per model. Each holds a score from 0 to 1, except income and housing cost, which hold dollar amounts.indigo-eng.matter_scores_all.segmentshas the same columns, each holdingMost likely,Somewhat likelyorLeast likely.
Both tables have one row per person, keyed by voterbase_id. That’s the voter ID from TargetSmart, a voter file vendor. It starts with the state code (NH-…). Each model family also gets its own dataset, such as matter_scores_benefits. If you get Matter through a partner, such as TMC, the table and column names may differ.
Top 5,000 Medicaid scores in New Hampshire
SELECT voterbase_id, benefits_enrolled_in_medicaid
FROM `indigo-eng.matter_scores_all.scores`
WHERE STARTS_WITH(voterbase_id, 'NH-')
ORDER BY benefits_enrolled_in_medicaid DESC
LIMIT 5000Everyone in New Hampshire’s Most likely Medicaid segment
SELECT voterbase_id
FROM `indigo-eng.matter_scores_all.segments`
WHERE STARTS_WITH(voterbase_id, 'NH-')
AND benefits_enrolled_in_medicaid = 'Most likely'Size, expected count and lift of each segment in a state
expected_on_medicaid adds up the scores. lift compares each segment’s average score with the state’s.
WITH nh AS (
SELECT
s.benefits_enrolled_in_medicaid AS score,
g.benefits_enrolled_in_medicaid AS segment
FROM `indigo-eng.matter_scores_all.scores` AS s
JOIN `indigo-eng.matter_scores_all.segments` AS g USING (voterbase_id)
WHERE STARTS_WITH(voterbase_id, 'NH-')
)
SELECT
segment,
COUNT(*) AS people,
ROUND(SUM(score)) AS expected_on_medicaid,
ROUND(AVG(score) / (SELECT AVG(score) FROM nh), 1) AS lift
FROM nh
GROUP BY segment
ORDER BY lift DESCExpected Medicaid enrollees among registered voters, by county
This joins to a TargetSmart voter file. Swap in your own table, column names and filters.
SELECT
p.vb_vf_county_name AS county,
COUNT(*) AS voters,
ROUND(SUM(m.benefits_enrolled_in_medicaid)) AS expected_on_medicaid
FROM `indigo-eng.matter_scores_all.scores` AS m
JOIN `your-project.your_dataset.targetsmart_voter_file` AS p
ON m.voterbase_id = p.vb_voterbase_id
WHERE p.vb_vf_source_state = 'NH'
AND p.vb_voterbase_registration_status = 'Registered'
GROUP BY county
ORDER BY countySegments from scores, for a copy without the segments table
Take the cutoffs from the list above, and check them again after each release.
CASE
WHEN benefits_enrolled_in_medicaid >= 0.30 THEN 'Most likely'
WHEN benefits_enrolled_in_medicaid >= 0.17 THEN 'Somewhat likely'
WHEN benefits_enrolled_in_medicaid IS NOT NULL THEN 'Least likely'
END AS medicaid_segmentLocal context
Matter also publishes facts about each person’s county, such as the local gas price. These describe a place, not the person, so they aren’t predictions. Each one has its own page under “local context” in the menu.
indigo-eng.matter_context.voters has one row per person, keyed by voterbase_id, and one column per local context fact. Each column holds the county’s newest value within a few months of the latest month its source covers, so two columns can be from different months and a county its source skipped in the latest month keeps the month before. indigo-eng.matter_context.columns gives each column’s latest month, the share of people with a value, the share with the newest month’s value, and for a text column the share at each level. Access to both tables is granted separately, as context.