0:00Welcome to the course. Welcome to Epidemic Modeling. I'm Teddy, and for the next fifty three episodes, we'll learn how to describe an epidemic with mathematics. This course follows my book, chapter by chapter. Each module is one chapter. But you don't need the book to follow along. Models come later. First, I want to show you the problem they try to solve. And the best place to see it is history.
0:31Four things that change. Every pandemic is the same basic story: something passes from one person to another, faster than people can stop it. But the setting changes. Four things, especially. How people are connected. How they live, day to day. What they believe causes the disease. And what tools they have to fight back. Change those four, and the same germ writes a completely different story. Keep that list in mind. We'll use it all episode.
0:59Athens, around 430 BC. Our first stop: Athens, around 430 BC, in the second year of a long war with Sparta. The strategy was simple. Bring everyone from the countryside inside the city walls, and let the navy do the fighting. So now you have a city packed with refugees, in summer, sharing water and space. Connection, turned all the way up. Then a disease arrived by sea. Fever, rash, terrible thirst. A large share of the city died, including its leader, Pericles. We know this because the historian Thucydides wrote it down. He caught the disease himself, and survived to describe it. Two and a half thousand years later, we still argue about what the disease actually was. Typhus? Smallpox? Typhoid? Nobody is sure. But Thucydides noticed something we still see today: people stopped caring for the sick, and stopped following the rules. Fear spreads too.
1:49The Black Death. Next stop: 1347. Merchant ships reach Sicily from the Black Sea, carrying the plague. The bacterium, Yersinia pestis, travels with fleas on rats, and sometimes directly from person to person through the air. And it travels with trade. Ports first, then rivers and roads. Within about four years, it crossed most of Europe. Estimates of the toll range from about a third to more than half of Europe's population. Think about that for a second. In some towns, it was every second person you knew. Nobody knew about bacteria. The common belief was bad air, or divine punishment. And yet, people found a tool that worked.
2:31Quarantine. In 1377, the port of Ragusa, today Dubrovnik, ordered ships and travelers from infected places to wait thirty days before entering. Venice later made it forty days. In Italian, forty is quaranta. And that's where the word quarantine comes from. Cities started health boards, health passes, and records of who died and when. Public health began as government, not as medicine. Notice what happened: they changed the connections, without knowing the cause. Sometimes you can act before you fully understand.
3:02Cholera: what causes it?. Last stop for today: cholera. A disease that kills through dehydration, sometimes within hours. It had long been present around Bengal. In 1817, it started travelling, and over the next decades it reached Europe and the Americas. The big argument was about the cause. Bad air from filth, said one side. Something passed between people, said the other. And the answer decided the policy. Bad air means cleaning streets. Contagion means stopping people at the border.
3:32John Snow's map. London, 1854. A doctor named John Snow marks every cholera death in one neighborhood on a map. The deaths cluster around one water pump, on Broad Street. The handle is removed, and the outbreak there was already fading. That map is one of the first great pictures in epidemiology. Data, placed in space, pointing at a cause. The same year, in Florence, Filippo Pacini saw the bacterium under a microscope. Robert Koch isolated it in 1883. And with germ theory, the tools changed. Now you could target the pathogen, not only the people.
4:07Same problem, three stories. So, back to our list. In Athens, crowding behind walls changed how people were connected. With the plague, trade routes carried it, and quarantine was the tool, long before anyone saw a bacterium. With cholera, a new belief about the cause, backed by data, changed the tools. Same problem, three different stories. A good epidemic model has to know which story it's in.
4:31Next: 1918 to COVID-19. Next episode: from the 1918 flu to COVID-19, a century of pandemics that looked a lot more like ours. See you there. And maybe wash your hands. Snow would approve.
0:00Six pandemics. Last time we walked from Athens to cholera. Today: the last hundred years or so, where pandemics start to look a lot like ours. Six of them. Each one taught modelers something different. Let's go.
0:191918 influenza. 1918. The First World War is ending, and a new influenza virus is spreading through armies, ships and cities. It's called the Spanish flu, but it almost certainly did not start in Spain. Spain was neutral, and its newspapers were free to report it. It came in waves. A milder one in spring, a much deadlier one in the autumn, and more outbreaks early the next year. Common estimates put the deaths around fifty million, with a wide range, because many countries kept poor records. And it was strange: many of the dead were young adults, not only the old and the very young. Lesson for modelers: an epidemic doesn't have to have one peak. Waves are normal, and the second one can be worse.
1:03HIV and AIDS. 1981. Doctors report clusters of rare infections in young, otherwise healthy men. It's the first recognition of HIV and AIDS. HIV is slow. A person can carry it for years without symptoms, and pass it on without knowing. It spreads through sex, shared needles, blood, and from mother to child. So behavior sits at the centre of the story. More than forty million people have died of it. Since the late nineties, treatment can keep the virus in check for a lifetime. Lesson: time scales matter. A model built for a two week flu tells you nothing about a disease that unfolds over a decade.
1:42SARS, 2002-03. November 2002, southern China. A new coronavirus causes a severe pneumonia. We call it SARS. In February 2003, one infected traveler stays at a hotel in Hong Kong. Other guests carry the virus to several countries within days. Hospitals become hot spots. Health workers are a big share of the cases. The World Health Organization counted about eight thousand cases, and nearly eight hundred deaths. By July 2003, it was contained. No vaccine, no drug. Isolation, contact tracing, and quarantine did it. Old tools, used fast.
2:19H1N1, 2009. 2009. A new H1N1 influenza virus appears in Mexico and the United States, mixing genes from several flu lineages. By June, the World Health Organization calls it a pandemic. The first flu pandemic of this century. Early on, nobody knew how deadly it was. The first numbers came from hospitals, which see the sickest cases first. It turned out milder than many feared. Lesson: early estimates are noisy, and they're biased toward severe cases.
2:48Ebola, 2013-16. December 2013, a village in Guinea. A small child falls ill with Ebola. Months pass before anyone recognizes the outbreak. By then, it has reached Liberia and Sierra Leone, and their capital cities. Ebola had never spread like this before. Over two years: more than twenty eight thousand cases, and more than eleven thousand deaths. Care for the sick and traditional burials put families in contact with the virus. Changing that needed trust, not only orders. Lesson: the delay between the first case and the first alarm can decide everything. And people's trust is part of the model.
3:26COVID-19. And then, late 2019, Wuhan. A new coronavirus, SARS-CoV-2. On the eleventh of March 2020, the World Health Organization calls it a pandemic. Lockdowns, masks, school closures, travel bans. Testing at a scale nobody had tried before. Vaccines arrived in about a year, including the first approved mRNA vaccines. Official reports counted around seven million deaths. Studies of excess deaths suggest the true toll was about two to three times higher. And for the first time, epidemic models were on the front page. Every day. Sometimes right, sometimes wrong, always argued about.
4:07What changed, what stayed. So what changed over this century? Connections: planes instead of ships. A virus can cross the world in a day. Tools: vaccines, drugs, genome sequencing, and computers fast enough to simulate whole countries. And data. From almost none in 1918, to daily dashboards in 2020. But the hard parts stayed. Waves, delays, hidden cases, and people who react to the epidemic while it happens.
4:36Next: how modeling grew up. Next episode: how epidemic modeling itself grew up, from counting deaths in London to the families of models we'll use in this course. That's where the mathematics starts. Bring a pencil.
0:00Before germs. The first epidemic model was written more than a hundred years before anyone knew what a germ was. Today, the story of how modeling grew up. And at the end, a map of the model families we'll use for the rest of the course.
0:21Graunt counts deaths, 1662. Start in London, 1662. A shopkeeper called John Graunt reads the weekly bills of mortality: lists of who died, and of what. Nobody had really added them up before. Graunt did, and found patterns. Which causes grow, which seasons are worse, how plague years stand out. That's the first step of every model, even today: count carefully, and compare.
0:44Bernoulli's smallpox model, 1760. Then, 1760. The mathematician Daniel Bernoulli asks a policy question about smallpox. Inoculation protected people, but it was risky. A small share of the inoculated died. So, is it worth it for a whole population? Bernoulli wrote equations for how many people stay susceptible as they age, and how many die of smallpox along the way. His answer: inoculating everyone at birth would add about three years to life expectancy. Worth it. Notice the shape: a model, a policy question, and a number to help decide. That's still the job.
1:19Farr's curves, Snow's map. In the 1800s, cholera pushed governments to measure. William Farr, in England, turned death registers into curves, and tried to predict their rise and fall. And John Snow, as we saw last time, put deaths on a map and found the pump. Counting, plus place, plus a hypothesis.
1:38Mass action and the threshold. Early 1900s, the big idea arrives: new infections depend on how often susceptible and infected people meet. William Hamer used it for measles in 1906. Ronald Ross used it for malaria, and showed you don't need to kill every mosquito, only enough of them. In 1927, Kermack and McKendrick wrote the model at the heart of this course. People are susceptible, infected, or removed. And they found a threshold. If each case infects fewer than one new person on average, the epidemic dies out. More than one, and it takes off. We'll spend the whole of Module three on that idea. It's called R naught, and you'll be sick of it. Pun intended.
2:17Our SIR run. Here is our own small run of that model. Each infected person passes it on at a rate of three tenths per day, and recovers after ten days, on average. That makes R naught three. The infections rise, peak around day forty, and fall. About ninety four percent of the town is infected by the end. Now lower the transmission so that R naught is below one. Same town, same start. The outbreak fizzles right away. Three letters, two equations, and already a policy message: push R below one.
2:48Surveillance, computers, new data. After the Second World War, surveillance became an institution. Countries and agencies collected disease reports every week, in the same format. Computers made it possible to simulate thousands, then millions, of individuals instead of a few equations. And this century added new data: search queries, phone mobility, wastewater, and virus genomes, read in days. New data doesn't replace the old questions, though. Who is missing from it? How biased is it? Who agreed to share it?
3:17The model families. So today, epidemic modeling is a family of approaches. Here's the map for this course. Compartmental models put people into groups, like susceptible, infected, recovered. Clear and fast, but they treat everyone in a group as the same. Spatial and network models add where people are, and who meets whom. Agent-based models simulate every person, with their own home, job and habits. Realistic, but hungry for data and computer time. Data-driven and machine learning models learn patterns straight from the numbers. Good at short-term forecasts, weaker at explaining why. None of them is the best. Each one is the right tool for some question. Choosing well is half the skill.
4:00The road ahead. The course follows that map. Next comes Module two, the world around the virus: biology, psychology, economics and government. Then compartmental models, space, strains, agents, data, calibration, surveillance, interventions, uncertainty, and computing. That's history done. From here on, we build. See you in Module two.