Model an epidemic with R0 and the SIR model
8 steps · about 2 h 25 min · Intermediate
- Set up the SIR compartments and equations (article, Wikipedia, 25 min)
Defines susceptible, infected and recovered groups and the rates that move people between them.
- Calculate and interpret R0 (article, Wikipedia, 20 min)
Explains what R0 measures, typical values for real diseases and how it differs from Rt.
- Distinguish incubation from infectiousness (article, Wikipedia, 10 min)
Shows why the time to symptoms shapes how quickly cases can be caught.
- Estimate the serial interval between cases (article, Wikipedia, 10 min)
Links generation time and R0 to the growth rate you see in data.
- Read an epidemic curve (article, Wikipedia, 10 min)
Teaches the shapes of point-source, continuous and propagated outbreaks.
- Derive the herd immunity threshold 1 - 1/R0 (article, Wikipedia, 15 min)
Turns R0 into the share of immune people needed to stop sustained spread.
- Watch an SIR simulation respond to interventions (video, 3Blue1Brown, 25 min)
Simulates distancing, testing and travel to show what changes the curve.
- Play with an interactive SEIR model (interactive, Marcel Salathé and Nicky Case, 30 min)
Lets you change R0 and interventions and watch the outbreak respond.