InteractiveWhole classBreakoutsPredict, observe, explainAccessibility checks passPublished
Why 95%? Finding the Herd Immunity Threshold for Measles
By Cheryl Moy · Medicine and health · Epidemiology · Undergraduate · Simulation of a known property · version 12
Groups predict how much vaccination stops measles, then run a seeded 400-person outbreak model to see why the threshold depends on how many people one case infects. They compare measles with a flu-like disease and break the model with an imperfect vaccine and clustered neighbourhoods.
Licence: CC BY 4.0
Assumption ledger (17)
- simplificationRandom-mixing chain-binomial (Reed-Frost) agent-based model: 400 people in 20 neighbourhoods of 20; each infectious person infects each susceptible person once, with a probability set so a case in a fully susceptible city infects R0 people on average
- parameterHalf of each person's contacts are inside their own neighbourhood and half are spread across the city (pair probability 0.5*R0/19 inside, 0.5*R0/380 outside)
- parameterVaccination 0-100% (default 50), R0 1-20 (default 15), vaccine effectiveness 90-100% (default 100; adjustable in step 2 and step 3), clustering 0-100% (default 0); protected people = round(round(vaccination*400)*effectiveness)
- simplificationOne imported case, chosen at random among people who can be infected; if nobody can be infected there is no outbreak. Protected people are fully immune; no waning immunity, births, deaths, age structure or travel
- distributionSeeded random generator (mulberry32); run k uses a hash of the seed and k. Chart points use 40 runs each
- interpretationOutbreak means 20 or more infected (5% of 400). Because of this fixed count, an outbreak is impossible when fewer than 20 people can be infected. The simulated cutoff is the lowest coverage where fewer than 1 run in 20 is an outbreak, read off the 22-point chart (40 runs per point) by linear interpolation, so it is approximate
- interpretationClustering places that share of the unvaccinated people (not vaccine failures) in the first neighbourhoods of the grid; vaccine failures and the remaining unvaccinated are placed at random
- interpretationRevised: step 2 states that vaccination share is not protection (90% effective vaccine at 96% vaccinated protects about 86%; 97% effective protects about 93%, below the 95% target), and the line under the grid reports the protected share for the current effectiveness
- interpretationRevised: with clustering above 0, the line under the grid explains that R0 x share who can still be infected is an average for a mixed city and shows a local figure, R0 x share of the first neighbourhood who are not protected. The local figure is a rough guide, not a computed outbreak probability
- interpretationRevised: the clustering slider carries a caveat that in a 400-person city with a 20-case cutoff the effect is exaggerated (100% clustering is an extreme stress test, not a real-world result); the slider range and default are unchanged
- interpretationRevised: step 1 feedback blocks are shortened to one point plus one try-it each, without pointing to the locked step 3 and without endorsing 95% before evidence; the try-it answers are given in the step 3 'Name what you see' panel (80% -> 15 x 0.20 = 3; 90% -> 1.5; 95% with 97% effectiveness -> about 92% protected; 97% -> 0.45)
- interpretationR0 of 12-18 for measles (Guerra et al. 2017, a systematic review) and about 97% two-dose protection are commonly cited figures, not estimated here. 95% is a rounded public-health target, not a value this model calculates
- interpretationThe model is agent-based; comparing with SIR compartment models is not the point of this page
- dataNo real data. The Pitt FRED city model and the Guardian simulation run outside the page with their own assumptions; students record Y/N results. The built-in column shows Y when at least half of its 40 runs are outbreaks
- interpretationSteps 2 to 4 are locked until the step 1 predictions are revealed; the lock is set by the platform's reveal event and never cleared
- interpretationStep 4 offers no model answers; written answers are collected by the platform's components, so window.artifact.responses is empty by design
- interpretationBrand: Clay is used for text, buttons and links on light backgrounds only; Goldenrod appears only as a graphic mark in dark mode
Checks Breakout ✓ · Built-in ✓ · Accessibility ✓
Breakout check
✓ Ready for breakouts: every control we tried showed teammates the same thing.
Built-in checks 9 of 9 pass
- No outbreaks when everyone is protected (passes)
- Nearly every run is an outbreak with nobody vaccinated and R0 = 15 (passes)
- The same seed reproduces the same run (passes)
- At R0 = 2 and 80% coverage outbreaks are rare (passes)
- At R0 = 15, 80% coverage mostly gives outbreaks and 95% almost none (passes)
- A 90% effective vaccine at 95% coverage gives many outbreaks (passes)
- Clustering the unprotected raises outbreaks at 95% coverage (passes)
- At R0 = 15, 90% coverage gives clearly more outbreaks than 95% (passes)
- Clustering never changes how many people can be infected, only where they are (passes)
Cite this · History
Cite this
Cheryl Moy (2026). Why 95%? Finding the Herd Immunity Threshold for Measles [Interactive model], version 12. Ideas at Play. https://ideasatplay.org/play/why-95-finding-the-herd-immunity-threshold-for-measles-8744ce?v=12 (CC BY 4.0)
History
- v12Fixed the four review findings: the break-it help and grid line now say vaccination share is not protection (with a worked 90% and 97% effectiveness example), the clustering slider has an exaggeration caveat, the grid line explains the average versus a local pocket figure, and step 1 feedback is shorter with try-it answers given in step 3. (generated, Nov 17, 2026)current
- v11Diagnosis of the Break it sliders: at 96% vaccinated with 97% effectiveness only about 93% are protected, right at the ≈93.3% threshold for R₀ = 15, and 100% clustering puts all the unprotected into one neighbourhood where a case infects about 7 neighbours, so outbreaks are largely real (though the 20-case cutoff and a deliberately extreme clustering setting exaggerate it); the model also wrongly clustered vaccine failures with the unvaccinated, which is fixed so clustering now moves only the unvaccinated, and step 2 now shows how many people are protected and can still be infected plus R₀ × that share, so the cause is visible. (generated, Nov 17, 2026)View
- v10Step 1 feedback now states the rule 'average new cases = people one case reaches × share still unprotected' in the 70% and 85% blocks before their 'Try it' question, and the 85% and 95% follow-up replies pose a calculation instead of stating the result. (generated, Nov 17, 2026)View
- v9Reworded the step 2 explain question to define the cutoff as the lowest coverage with fewer than 1 in 20 outbreak runs, and rephrased the 70% and 85% step 1 feedback as things to check in step 3 rather than stating the simulation's results. (generated, Nov 17, 2026)View
- v8Softened the 99% step 1 feedback so it no longer says where the curve lands, made the step lock follow a revealed flag set by the reveal event (layout check is a one-way fallback), and left responses empty because the platform collects component explain boxes itself. (generated, Nov 17, 2026)View
- v7Defined the 1-in-20 outbreak cutoff once (step 2); removed the model-answer buttons from step 4 (state keys showModel and showExit dropped); steps 2 to 4 now stay disabled until the reveal. Explain boxes are collected by the platform, so responses stays empty. (generated, Nov 17, 2026)View
- v6Fixed the six review findings: the exit model-answer button no longer depends on the runtime's textarea, step 1 now gives tailored feedback and an opposing-view gated explanation per prediction, hard-coded cutoff ranges and the 'very likely' claim at 90% were softened (with a matching assertion), the built-in column is now a Y/N rule with a comparison question, and the shared effectiveness setting is labelled. (generated, Nov 17, 2026)View
- v5Removed the optional pre-reading list from step 1; nothing else changed. (generated, Nov 17, 2026)View
- v4Added linked, ordered pre-readings with a line each, reworded the exit model answer to say what an outbreak at 90% means, and replaced the step 4 'may help' hint with a question about imperfect protection. (generated, Nov 17, 2026)View
- v3Defined 'outbreaks nearly stop' and 'threshold', removed the 1 - 1/R0 formula, explained the step 3 chart and the 97% effectiveness prompt, added an agent-based vs SIR note and a short pre-reading list, clarified the model answers ('open' to a measles outbreak; 95% as a rounded target; 90% coverage very likely gives an outbreak), and described the reveal control by its role. (generated, Nov 17, 2026)View
- v2Fixed the five review findings: softened the cutoff claim and added a step 3 effectiveness slider (97%) so the 95% vs 93% gap is visible, gave the exit model answer its own button that opens after writing, started step 2 at 50% with neutral prompts, added a three-model comparison box in step 4, and merged the duplicate lock note into one that names the Reveal button. (generated, Nov 17, 2026)View
- v1New artifact: a self-contained seeded outbreak model replaces the unavailable Berlin ROCS simulation, with no Web Archive links; the Pitt FRED and Guardian simulations are optional side checks with Y/N tables. (generated, Nov 17, 2026)View
Comments
No comments yet.
Sign in to comment or like.