Model an epidemic with R0 and the SIR model

8 steps · about 2 h 25 min · Intermediate

  1. 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.

  2. Calculate and interpret R0 (article, Wikipedia, 20 min)

    Explains what R0 measures, typical values for real diseases and how it differs from Rt.

  3. Distinguish incubation from infectiousness (article, Wikipedia, 10 min)

    Shows why the time to symptoms shapes how quickly cases can be caught.

  4. Estimate the serial interval between cases (article, Wikipedia, 10 min)

    Links generation time and R0 to the growth rate you see in data.

  5. Read an epidemic curve (article, Wikipedia, 10 min)

    Teaches the shapes of point-source, continuous and propagated outbreaks.

  6. 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.

  7. Watch an SIR simulation respond to interventions (video, 3Blue1Brown, 25 min)

    Simulates distancing, testing and travel to show what changes the curve.

  8. 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.