Mental Models204 cards · 12 fields

Mental Models/Biology & Evolution

SIR Model and R0

SIR 模型与基本再生数

If each sick person passes it to fewer than one other, the outbreak dies down.

When flu spreads through a dorm or an office, it often goes from one person to the next, yet after a while it stops on its own, and some people never catch it at all. In early 1978, a boys' boarding school in England recorded this from start to finish, and the account was published in the British Medical Journal.

One pupil came back from a holiday and was the first to get flu. All 763 boys at the school boarded there, and every day someone wrote down how many were sick in bed. The number rose day after day; at the peak nearly three hundred were in bed at the same time, and then it fell day by day. Over about two weeks, 512 boys were in bed at some point, and 251 never were.

A third of the pupils never got sick, and yet the outbreak ended. The virus had not grown weaker. Most of the classmates each sick boy met had already had it, so each sick boy now passed it on to fewer than one new case.

You're the first in a class of thirty to catch a cold. The SIR model sorts the class into three piles: those who haven't had it yet (S), those who are sick now (I), and those who have recovered (R). Each day it watches people move from one pile to the next. Suppose each sick person passes it to three classmates before getting better. In the first few days nobody in the class has had it, one passes it to three, and there are more sick people every day. Once twenty people have recovered, of the three people a newly sick classmate coughs on, two already have antibodies. He can only pass it to one, and the number of sick people stops climbing.

With R0 at 2, cases peak when half haven't had it
Had it in all800 people
Most sick at once156 people
Never had it200 people
025050075010000306090120150DaysPeopleRecoveredNever had itSick nowCases peak here
050010000306090120150DaysPeopleRecoveredNever had itSick nowCases peak here

One sick person arrives on a campus of 1,000. Drag R0: at 1.5 about 580 have had it, at 2 about 800; below 1 it dies out after a dozen or so.

The three piles only move one way

One sick person arrives on a campus of a thousand people. Someone who hasn't had it catches it from a sick person and moves from S to I; a sick person who recovers moves to R and doesn't come back. So S only shrinks, R only grows, and I rises first and then falls. The average number of people the first sick person passes it to before recovering is called the basic reproduction number (R0). It is set by how many people a sick person meets each day, the chance of passing it on at each meeting, and how many days a sick person stays infectious, all together.

The bigger R0, the higher it climbs and the more completely it burns through

When R0 is 0.9, each sick person doesn't produce even one new case. Only a dozen or so people get sick in total, and it fizzles out. With R0 at 1.5, about 580 people end up having had it; with R0 at 2, about 800. When R0 is 2, once the people who haven't had it drop to half, only half the people a sick person meets can catch it. 2 times a half is 1, and the number of sick people peaks. After that each sick person passes it to fewer than one, and the number of sick people turns down, but people keep catching it for a while, and in the end about a fifth of people never get it.

With enough immune people, the disease can't take off

People who have recovered and people who have been vaccinated can't catch it, so a sick person has fewer new people to pass it to. The average number of people each sick person passes it to right now is called the effective reproduction number. It equals R0 times the share of people who aren't immune. When the effective reproduction number is below one, the disease can't take off. So the share who aren't immune has to be below one over R0, and the share who are immune has to be above

The bigger R0, the smaller the share left for people who aren't immune. For a disease with an R0 of 4, those who aren't immune must be fewer than a quarter; , so more than three quarters must be immune to stop a newly arriving case.

A single short outbreak in a closed group, like a boarding school or a cruise ship, fits the SIR model best: everyone mixes evenly, and people who recover don't catch it again. For diseases where immunity fades, like the common cold, or where people fall into several circles that don't mix, the model goes off. R0 is also not a constant that comes with the virus. It depends on how many people a sick person meets each day, so the same disease gives a different number in a packed city district and in a thinly settled village. Apply one city's R0 to another city and you can be far off.

Design
When setting a vaccination target, first estimate the disease's R0. The bigger R0, the more people need the vaccine; for a disease that spreads as fast as measles, well over nine in ten people have to get it.
Predict
Take the case curve from the first few weeks of an outbreak and estimate how many people each sick person passes it to on average. From that you can tell roughly when the number of sick people will peak and how many people will have had it in the end.
Act
To decide whether to allow gatherings again, look at whether the effective reproduction number is below one right now. The total count of cases so far can't answer that question.
  1. In this group of people, what share have neither had it nor been vaccinated? Look at antibody spot checks or vaccination records.
  2. Given the group as it is now, how many people will one new sick person pass it to on average before getting better? More than one, or fewer?
  3. When I see fewer new cases, is that because someone has blocked the spread, or because the people who haven't had it are running out?

Public health

Vaccination falls, measles returns

In Samoa, the share of children vaccinated against measles fell to around 30% in 2018, and the number of children with no immunity kept building up. In October 2019 measles spread across the islands. There were thousands of cases and more than 80 deaths, most of them small children. In December the government ran an emergency nationwide vaccination drive, and new cases then died away.

Technology

The worm took every server it could

On July 19, 2001, the Code Red worm scanned the internet for vulnerable servers and infected more than 300,000 of them in a single day. The number of infections first shot up steeply, then grew more slowly: servers that were unpatched and not yet taken over were getting harder and harder to find.

Personal life

The egg message in the neighborhood chat

In your neighborhood's group chat, someone forwards a message about free eggs. On the first day only five or six people pass it on. By the third day most people in the chat have already seen it, and fewer people pass it on, because whoever they'd send it to has most likely seen it already. By the fifth day nobody forwards it any more, and a dozen or so people in the chat never saw the message at all.

A respiratory disease, in a population where nobody is immune, passes from each sick person to 2.5 others on average. In one city, 40% of people have already had it, with lasting immunity, and nobody else has. The city government wants to vaccinate more people so that a newly arriving case can't spread there. The vaccine works fully, and it goes to people who haven't had the disease.

How many more people have to be vaccinated to be just enough? (Give the answer as a share of the city's whole population.)

A closed fishing village has 400 people. Nobody has had a certain respiratory disease, and nobody takes any precautions. After a fisherman from outside brings the disease into the village, the number of people sick in bed at the same time rises day by day, reaches its highest on day 9, and then falls day by day.

Given the village as it is on day 9, how many people will a new sick person pass it to on average before getting better?

In one city, each person sick with a certain flu passes it to 1.8 others on average. A new drug cuts the time a sick person is infectious to half of what it was. The number of people each person meets a day and the chance of passing it on at each meeting stay the same, and every sick person in the city takes the drug.

What will the outbreak in this city do next?