Epidemic ModelingPolicy and practice

Module 10Intervention policies

Interventions, optimal control and vaccination. In made-up towns, we put interventions into the equations (a dial on transmission, settings in a contact matrix, vaccination as a flow, isolation as a box), see why lockdown timing matters as much as strength, solve an optimal-control problem two ways, weigh health against the economy on a Pareto front, choose who gets vaccinated first, and see how travel cuts, data lags and drug resistance change the answer.

By the end you should be able to write an intervention into an epidemic model, set up and solve a simple optimal-control problem, read a Pareto front without pretending it picks the answer, compare vaccine priorities for different goals, and judge trigger policies by the lag of their signal.

Key ideas, one per episode

  • Ep. 41A 60-day lockdown started on day 65 nearly halved deaths; started on day 10, it changed almost nothing. Shielding seniors cut deaths by 31% while barely moving R0.
  • Ep. 42The optimal policy builds to about a 50% cut and tapers, landing near herd immunity; a plan made with the wrong R0 does no better than nothing until it is re-planned.
  • Ep. 43Only 24 of 468 lockdowns were on the Pareto front; children first cut infections most, seniors first cut deaths most, and a later start doubled deaths.
  • Ep. 44A 99% travel cut bought four weeks; a 12-day data lag raised peak beds from 213 to over capacity; heavy treatment handed 95% of infections to a resistant strain.

Textbook: Chapter 10 of T. Lazebnik, Epidemic Modeling: Principles, Algorithms, and Applications (Academic Press, 2026). The episodes and slides follow the chapter’s topics in our own words, figures and simulations; nothing is copied from the book.

The title slide of Module 10: Intervention policies

35 slides, written to be read on your own, with worked examples, “try it” boxes, our own small simulations and check-yourself questions (answers at the end). PDF, 1.4 MB.

Watch

4 short episodes for this module. Pick one from the list, and open the transcript to read along: each timestamp plays the episode from there. The narration is generated with a voice clone of Teddy, used with his permission.

Episode 41 · 2:56

Putting interventions into the model

How interventions enter an epidemic model: a dial on the transmission rate, why lockdown timing matters as much as strength, contact matrices by setting (school, work, shielding), vaccination as a flow, and testing and isolation.

A 60-day lockdown started on day 65 nearly halved deaths; started on day 10, it changed almost nothing. Shielding seniors cut deaths by 31% while barely moving R0.

TranscriptEpisode 41
0:00

Decisions inside the equations. A model that only predicts can't help a mayor decide. To help, the decisions have to be inside the equations. Welcome to Module ten: intervention policies.

0:17

A dial on transmission. The simplest way in is a dial on transmission. Distancing or masks multiply the infection rate by one minus u, where u, between zero and one, is how hard we push. Our town has a million people, an R₀ of 2.5 and a thousand hospital beds. With no action, eighty nine percent are infected, the beds overflow for forty five days, and about nine thousand one hundred people die. Turn the dial to thirty percent and leave it there. The peak falls by more than half, but the wave lasts longer, and the beds still overflow, now for fifty six days.

0:49

Timing. Timing matters as much as strength. Take a sixty day lockdown that cuts transmission by sixty percent, enough to hold R at one, and slide its start date. Started on day ten, it changes almost nothing: the epidemic simply waits. Started on day one hundred, after the peak, it's too late. The best start here was day sixty five, which cut deaths from about nine thousand one hundred to about four thousand nine hundred.

1:13

Who meets whom. Many measures act on who meets whom. Split contacts by setting: home, school, work, and everything else. A policy then scales parts of the contact matrix. In an age-structured version of our town, closing schools lowers R₀ from 2.5 to 2.1, yet deaths barely move. Shielding seniors hardly changes R₀ at all, but cuts deaths by thirty one percent. Closing schools, and cutting contacts at work and everywhere else in half, brings R₀ down to 1.3, and the share infected from eighty five to thirty nine percent.

1:48

Vaccines and isolation. Vaccination is different: it moves people out of the susceptible box. In the equations, it's a flow from S straight to immune. If half a percent of susceptible people gain immunity each day from day zero, forty six percent are eventually infected instead of eighty nine. Start on day sixty, after the wave took off, and eighty two percent are. Testing and isolation split the infectious box: people who are found move to isolation, where they no longer infect. If sixty percent of infections are ever found, isolating them within a day cuts R in half. It falls to 1.25. Find ninety percent and isolate within two days, and R drops below one. Speed and coverage both matter: what is never found can't be isolated.

2:31

Next. Next: how to choose the best policy over time, with optimal control.

Interactive lab

Lockdowns and vaccine priority

Choose a lockdown's start day, length and strength in the module's town and see beds, deaths and lost output; then give a limited vaccine supply to children, adults or seniors first and compare infections and deaths.

The first panel runs the module's town of a million people with one lockdown you design; the second runs its age-structured version with a vaccine campaign. Everything runs in your browser.

Simple math

Lockdowns and vaccine priority

The module's made-up town: a million people, R₀ 2.5, a thousand hospital beds. Design one lockdown, then decide who gets a limited vaccine first. Everything runs in your browser.

A dial on transmission
β(t) = β₀ × (1 − u(t))

A lockdown of strength u between its start and end; 2% of infections need a bed for 10 days.

Two bills
output lost a day = 0.5 × u + 0.3 × caution

With caution on, people cut contacts by up to half as beds fill. Patients who find no bed die more often.

Vaccination as a flow
dS/dt = −λS − doses(t)

Doses go to susceptible people, group by group, in the order you choose; children, adults and seniors mix differently.

Infected
–
Peak beds
–
Over capacity
–
Deaths
–
Output lost
–

Running…

Hospital beds in use

Orange: with your lockdown; grey: no lockdown; dashed: capacity.

Challenges

Each one is checked on your current settings, in its own panel.

  1. Without caution, bring deaths below 5,000 with one lockdown.
  2. Without caution, find a lockdown of at least 50% for at least 30 days that is so early it barely helps (deaths within 2% of no lockdown).
  3. Vaccines: get fewer than 600,000 infections.
  4. Vaccines: get fewer than 1,000 deaths.
Infections
–
Deaths
–
Senior deaths
–

Running…

New infections a day

Blue: with your campaign; grey: no vaccine.

Play

A game that goes with this module, and what to look for while you play.

Mayor's Outbreak

An SIR strategy game in your browser

In this module: steer a city through an epidemic with your own policies, then compare your choices with the trade-offs this module computes.

Mayor's Outbreak is a browser-based SIR strategy simulation where you steer a city through an epidemic by balancing mobility, testing, and public protection.