HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

Simulating an epidemic

3Blue1Brown8 HN recommenders · recommended in 5 months, 2020-2023
YouTube
5.2M views · 6 years ago · explainer · dated

3Blue1Brown builds toy SIR models to simulate how an epidemic spreads and tests scenarios like social distancing, travel restrictions, central gathering places and quarantine. It was made during the early COVID-19 outbreak.

HN pointed to it during 2020 as a digestible, well-made illustration of epidemic dynamics and interventions.

Medicine & infectious diseaseRecreational & visual mathData visualization & information design#sirmodel#covid-19#simulation#quarantine#3blue1brown

17 comments from Hacker News

@salimmadjd2023 · in “3Blue1Brown Calculus Blog Series”

OT - 3b1b did an interesting video on the epidemic modeling [0] that shaped my thinking a bit on the lockdown and caused me to lose a few friends to argue against the prolonged lockdowns. I believe he used the same technique deployed by major media institutions and health organizations. Basically the interesting conclusion was unless you apply a very rigorous lockdown (CCP style) the virus ultimately spreads. All you’re doing is spreading the time. As in “flattening the curve”. As some might recall the initial lockdown was proposed as a way to flatten the curve and allow the medical system to cope better by having a more gradual influx of patients. Which makes me think everyone promoting the initial lockdown understood its limitations and its objectives. However, for what ever reason “control demolition” of the economy to make Trump lose the election or who knows why it turned into a long term lockdown. I know this is a controversial topic, but it shouldn’t be. This is a clear case that the science of pandemic modeling suggested one path and for political reasons we were pushed to follow a course that caused a lot of damage, some irreversible, to the society. [0] ▶ this video

CitesView on HN
@leobg2023 · in “Did lockdowns work? The verdict on Covid restrictions”

I don’t get it. How can social distancing NOT help during a pandemic? Quote from the book 1491: “One reason is that Indians were fresh territory for many plagues, not just one. Smallpox, typhoid, bubonic plague, influenza, mumps, measles, whooping cough—all rained down on the Americas in the century after Columbus. (Cholera, malaria, and scarlet fever came later.) Having little experience with epidemic diseases, Indians had no knowledge of how to combat them. In contrast, Europeans were well versed in the brutal logic of quarantine. They boarded up houses in which plague appeared and fled to the countryside.” And here’s 3Blue1Brown running a simulation: ▶ this video

CitesView on HN
@systemvoltage2021 · in “India’s second wave of Covid-19 feels nothing like its first”

Dynamics of the virus spread is quite interesting. 3Blue1Brown made a fascinating video about how an epidemic spreads: ▶ this video

RecommendsView on HN
@gus_massa2021 · in “Contra Weyl on Technocracy”

> Technocrats used complicated mathematical models to determine that mass vaccination would create a "herd immunity" to disease. The SIR model is very simple link At the beginning of the covid19 epidemic everyone and their dog was writing one and publishing a demo version. It was interesting/scary to modify the parameters and see how thing changed. Also, try to fix misinformation in the models, like a 50% death rate. Anyway, a SIR model can be programed in 20 lines of codes, and is pretty straightforward. Adding a vaccine is like 5 additional lines at most. Also, the main idea is very simple to understand. (Someone should write a tutorial of SIR in Excel/GoogleSheets, it's interesting to see the graphics.) The most simple models just assume that everyone meets everyone randomly. It's more complicated if you want to consider a more realistic model of how people move. For a decision about lockdown you need the complex model, but to understand herd immunity the simple model is good enough. For a nice explanation of more complicated models, there is a video of 3Blue1Brown: "Simulating an epidemic" ▶ this video Note that he explains that the models in this video are not 100% accurate, some number are chosen to get nice graphics, they are only useful to get some insight but not get quantitative predictions.

RecommendsView on HN
@tmabraham2020 · in “Manim: Animation engine for explanatory math videos”

BTW, he's currently co-teaching a course on Julia with some really great lectures on computational thinking: link He also had a nice video about epidemics/pandemics: ▶ this video All using manim for visualizations.

RecommendsView on HN
@andreareina2020 · in “What's the point of a Covid-19 test that takes 19 days for results?”

Not exactly a citation[1], but this agent-based simulation suggest that mitigations like quarantine are highly sensitive to how thoroughly they are applied: ▶ this video [1] I'm putting this firmly in the "all models are wrong, but some models are useful" camp

CitesView on HN
@ilogik2020 · in “Why SARS-CoV-2 Bluetooth contact tracing apps are a tremendously stupid idea”

the whole point of the app is to isolate people that have been in contact with positive cases before they become contagious. if everyone has the app, you won't have an exponential growth. ▶ this video

CitesView on HN
@thu21112020 · in “Flatten the Curve of Armchair Epidemiology”

It's pretty apparent the writers don't understand epidemiology themselves. What is this field, really? It's not medicine. Its most famous practitioners often don't have any medical training or background, e.g. Prof Ferguson who did his PhD in theoretical physics. The assumptions it uses are of the level of medical complexity that a small child can understand - essentially that people who spend time close to each other infect each other. The models don't take as input the molecular biology or DNA of a virus that's being simulated. Arguably it's not science. A basic characteristic of science is that it tells us something new about the world, something that can be proven true. Experiments are fundamental to science for that reason. Epidemiology is about the development of models. Models aren't science because they cannot ever tell us something truly new or unexpected: a model is ultimately just a rendering of its author's assumptions. When someone puts some formulas into R and copies the results into a paper, the model is acting as a kind of fancy PowerPoint. It's useful to illustrate the conclusions that follow from the assumptions, but it no more lets us discover new things than PowerPoint does. (n.b. Under this definition, a lot of what gets published as computer science also isn't science but rather engineering. "Data science" on the other hand is a tautology. That's a fine conclusion and one I'll happily defend.) It often gets described as mathematics. It's not mathematics

CitesView on HN
@shawnz2020 · in “A Third Solution”

> screening everyone every day (which is very different from simply doing "more testing"). That seems like the logical conclusion of "more testing" to me. If we could, why wouldn't we? 3blue1brown on YouTube did an analysis which similarly shows that fast quarantining is the best way to mitigate the virus: ▶ this video

CitesView on HN
@salimmadjd2020 · in “The epidemiologist behind Sweden’s controversial coronavirus strategy”

There is a lengthier interview by UnHeard with Professor Johan Giesecke (another experienced epidemiologist) of Sweden on YouTube [0]. It’s worthwhile listening to their perspective. One of the comments he made was that no lockdown would work in democratic countries and the real test will be fatality rates between Sweden and others in 1 year. He believed it’ll be very little difference between those countries that have implement the lockdown and those that haven’t I had watched the simulation of covid19 infection by 1blue3brown[1] and some of his modeling appeared to me (maybe I misunderstood them) to confirm Swede’s point of view. Ultimately the same number of people got infected albeit in a “flatter” rate. However one counter point by Johan Giesecke was that these flattening the curve is motivated by the assumption of a static capacity of ER rooms to deal with this pandemic and he pointed out they have increased capacity. Overall I found listening to his side very informative, at least it gave me a different view of looking at from their view. [0] link [1] ▶ this video

CitesView on HN
@kaunta2020 · in “Building a command line tool to simulate the spread of an infection”

Garrett, thank you. * * * My inspiration for writing this came from watching 3Blue1Brown's YouTube video, "Simulating an epidemic": ▶ this video His simulations cover several scenarios: - Simulating social distancing. - Having people travel to a central location (e.g. a grocery store). - What if the government is able to identify and isolate cases? - Simulating multiple communities with travel, that put quarantine measures in place. - What happens when people get tired of social distancing. * * * Thanks for sharing your code. I see that you are using gnuplot to visualize the output of the script. Have you considered using the csv module ( link ) to output the data, instead of using the print() function? That way, you wouldn't have to manually add in spaces around the data and stringify the numeric data. >>> import csv, sys >>> writer = csv.writer(sys.stdout, delimiter=" ") >>> writer.writerow(["#", "T", "S", "I", "R"]) # T S I R In the script, usage would look something like this: import csv import sys ... writer = csv.writer(sys.stdout, delimiter=" ") writer.writerow(["#", "T", "S", "I", "R"]) writer.writerow([T, S, I, R]) while I > 1000: ... writer.writerow([T, S, I, R])

Strongly recommendsView on HN
@ignoramous2020 · in “Covid-19 Antibody Seroprevalence in Santa Clara County, California”

> ...noticeable reduction in the spread? I believe the SIR model [0] answers those questions. 3blue1brown's video on the topic is super digestible and informative [1]. In short, the discovery of a prophylactic if not a therapeutic treatment are our best immediate bets, absent which, quarantines and lockdowns will have to persist to curb the spread of a disease as infectious as covid-19 whilst we patiently wait for an effective vaccine against it [2]. [0] link [1] ▶ this video [2] link

RecommendsView on HN
@michaelt2020 · in “We’re working on 1M Covid-19 testing capacity per day”

Basically, some simulations show [1] if lots of people from an otherwise-socially-distancing population all go to one central location, that increases the R0 (i.e. spread) of the virus. This is a problem for anything that draws together lots of people from a large area into the same place - trade shows, sports events, music festivals, cinemas, conventions, busses and trains, food stores, beaches, universities and schools. We almost certainly haven't hit on the most optimal solution - in my country we closed schools, yet keeping crowded metro trains running? - but it wouldn't have been wise to wait for more data to come in before taking any action. [1] ▶ this video

CitesView on HN
@CHsurfer2020 · in “Austria to make basic face masks compulsory in supermarkets”

This seems like such a no-brainer. 3Blue 1Brown did a video on epidemic simulation, and central markets, places where people in the region congregate, are major factors in the the rate of disease spread. Limiting the transfer coefficient in these places has the key to reducing this impact, assuming you can't prevent people from going there. ▶ this video

CitesView on HN
@mcsb42020 · in “Austria to make basic face masks compulsory in supermarkets”

Homemade masks made of a double layer of tea towel cloth are not only protecting others but also protect yourself nearly as effectively as N95 masks. The original research was made by PHE - Public Health England and the results are: B atrophaeus - ~1um : Surgical mask 96.35% filtering Double layer tea towel 96.71% filtering Bacteriophage MS2 - 23nm : Surgical mask 89.52% filtering Tea towel one layer 72.46% filtering The full paper is on researchgate, title: "Testing the Efficacy of Homemade Masks: Would They Protect in an Influenza Pandemic?" Also every super market should have the use of hand sanitizer obligatory at the entrance. There is a pretty good video for simulations of the epidemic spreading [1] - it is not going to stop until we either have a vaccine or ~60% of the population have antibodies. So the choice is to sit the next 12-18months at home or we fight the transmission of the virus. Masks cost nothing compared to the economic disaster that we are running into. The virus spreads via mouth and nose and secondary via the hands. So just stop it at the source. [1] ▶ this video

RecommendsView on HN
@foobarbecue2020 · in “Japan set to ban entry from the U.S. as early as next week”

Part of 3 Blue 1 Brown's excellent latest video simulates travel restrictions and suggests they're not very effective: ▶ this video . However, that was only for cutting travel between all communities by a factor of 4, rather than completely banning travel between two particular communities / countries.

Strongly recommendsView on HN
@gilbetron2020 · in “FDA grants emergency use authorization for 5-13 minute Covid-19 test”

If we can test and isolate, we can manage how the disease progresses through society, with a (very very slight, now) chance of stopping it. While not scientific, this is illustrative and well done that shows many aspects of disease spread: ▶ this video

RecommendsView on HN
Exponential growth and epidemics8:57

Exponential growth and epidemics

3Blue1Brown
6.1M views • 6 years ago
Joe Rogan Experience #1439 - Michael Osterholm1:34:11

Joe Rogan Experience #1439 - Michael Osterholm

PowerfulJRE
15.9M views • 6 years ago
The Epidemic of Fake Disease20:58

The Epidemic of Fake Disease

Medlife Crisis
2.4M views • 6 years ago
TWiV 615: Peter Daszak of EcoHealth Alliance35:53

TWiV 615: Peter Daszak of EcoHealth Alliance

MicrobeTV
181K views • 6 years ago
TWiV 641: COVID-19 with Dr. Anthony Fauci36:47

TWiV 641: COVID-19 with Dr. Anthony Fauci

MicrobeTV
129K views • 6 years ago
✖️Coronavirus TIMELINE18:18

✖️Coronavirus TIMELINE

Nathan Rich
208K views • 6 years ago
The next outbreak? We’re not ready | Bill Gates | TED8:37

The next outbreak? We’re not ready | Bill Gates | TED

TED
38.9M views • 11 years ago
COVID-19 Vaccines: MODERNA | PFIZER/BIONTECH | ASTRAZENECA43:41

COVID-19 Vaccines: MODERNA | PFIZER/BIONTECH | ASTRAZENECA

Ninja Nerd
6.8M views • 5 years ago
Why Some Diseases Only Traveled One Direction12:08

Why Some Diseases Only Traveled One Direction

CGP Grey
13.9M views • 10 years ago
March 2020: Dr. Anthony Fauci talks with Dr Jon LaPook about Covid-191:28

March 2020: Dr. Anthony Fauci talks with Dr Jon LaPook about Covid-19

60 Minutes
1.6M views • 6 years ago
This equation will change how you see the world (the logistic map)18:39

This equation will change how you see the world (the logistic map)

Veritasium
17.1M views • 6 years ago
Jon Stewart On Vaccine Science And The Wuhan Lab Theory8:38

Jon Stewart On Vaccine Science And The Wuhan Lab Theory

The Late Show with Stephen Colbert
8.6M views • 5 years ago
Did SARS-Cov-2 start in a Chinese lab?26:08

Did SARS-Cov-2 start in a Chinese lab?

potholer54
182K views • 6 years ago
The Strange Math That Predicts (Almost) Anything32:32

The Strange Math That Predicts (Almost) Anything

Veritasium
13.1M views • 1 year ago
COVID-19: A Second Opinion38:26

COVID-19: A Second Opinion

SenatorRonJohnson
2.7M views • 4 years ago
A real, not-clickbaity, average Chinese wet market4:26

A real, not-clickbaity, average Chinese wet market

Chinese Cooking Demystified
909K views • 6 years ago
George Hotz | Programming | we do coronavirus science aka hacking nature #lockdown part1 | COVID-193:50:00

George Hotz | Programming | we do coronavirus science aka hacking nature #lockdown part1 | COVID-19

george hotz archive
286K views • 6 years ago
P vs. NP and the Computational Complexity Zoo10:44

P vs. NP and the Computational Complexity Zoo

hackerdashery
3.7M views • 12 years ago
The medical test paradox, and redesigning Bayes' rule21:14

The medical test paradox, and redesigning Bayes' rule

3Blue1Brown
1.4M views • 5 years ago
旷野青春 | 隐形防线(英文字幕版)7:21

旷野青春 | 隐形防线(英文字幕版)

东方卫视环球交叉点
253K views • 6 years ago