Gro-Tsen Profile picture
5 Mar, 20 tweets, 5 min read
Some more numerical examples illustrating various possible outcomes of an epidemic with two viral variants — and, ultimately, how impossible to predict these things are. Let me explain what these graphs show. ⤵️ •1/20
Both images illustrate the behavior of an epidemic with two different pathogen forms: one starting with basic reproduction number 1.0 (the “ancestral form”), another starting with basic reproduction number 1.4 (the “variant”). Infection by either induces immunity to both. •2/20
In each scenario we start with the same initial conditions: 0.75% of the population is infected, and ✳︎of✳︎ those, 1% are by the variant, the rest by the ancestral strain. •3/20
We start with a wholly susceptible population, or, if you prefer, we ignore whatever proportion of the population might have been made immune prior to time t=0 and only consider those still susceptible at this point. •4/20
(This makes these data fairly plausible for various European countries at the point where the variants started circulating. I'm not claiming I'm modelling anything specific, just that the orders of magnitude are reasonable.) •5/20
In each scenario (I'll get to the difference between the two a few tweets down), four graphs are plotted. Abscissa is always time, using the same scale (recovery intervals, i.e., the mean time it takes for an infected individual to recover). •6/20
The upper-left graph shows the proportion of the population which is susceptible (green), infected (red) and recovered=immune (blue) as function of time; plus the proportion ✳︎of✳︎ infected which are by the variant (dashed purple). •7/20
The lower-left graph is precisely the same, but in log scale instead. The upper-right graph is the proportion infected but in a different (linear) scale, and with breakdown: by ancestral form (orange), variant (purple) and total (red). •8/20
Finally, the lower-right graph shows the current effective reproduction number: the overall reproduction number is in black, and the ones for each pathogen form are in lighter color. The R=1 line is shown for convenience. •9/20
So now how do the two scenarios differ? Well, the first one (left set of four graphs in first tweet, reproduced below) is a standard SIR model (trivially adapted to two pathogen forms). In other words, it assumes a perfectly homogeneous population. •10/20
The second scenario (right set of four graphs in first tweet, reproduced below) is a SIR model with heterogeneous susceptibility following an exponential distribution. I.e., instead of everyone being equally susceptible to the virus, … •11/20
… we now assume that (for biological and/or social) reasons, there are variations in susceptibility, and that these follow an exponential distribution with the same expected value. In my opinion this is a more plausible a priori hypothesis than equal susceptibility! •12/20
More generally it's easy to model the case of a Γ-distributed susceptibility with an arbitrary shape parameter. See the paper arxiv.org/abs/2008.00098 by Montalbán, Corder and Gomes (@mgmgomes1) for more. I think “homog.” and “exp heterog.” are natural cases to consider. •13/20
Note that the evolution of the proportion of cases infected by the variant is almost identical in both of my scenarios: the variant increases in proportion, following a logistic-like curve, and at t=25 it represents ≳98% of cases. •14/20
Yet the overall epidemic differs considerably in both cases. In the homogeneous scenario the final attack rate is 45%, but only 23% in the exp-distributed susceptibility scenario. And the peak fraction infected differs even more (2.3% in one case, 0.8% in the other). •15/20
So essentially, unless we have good data on individual variations of susceptibility to covid (both biological and social), ✱which of course we do not✱, it's entirely impossible to predict how the variants will behave, … •16/20
… ✳︎even✳︎ if we have very reliable data on the reproduction number of both forms and even of there are no temporal variations on people's behavior or other changes in infectiousness (which are fairly unreasonable assumptions of their own). •17/20
So while it's fun to play with such mathematical models, and while they can greatly inform us on the sort of things which CAN happen, they're quite incapable of predicting what WILL happen, and those who claim to do so are charlatans. See also: •18/20
Some more numerical experiments illustrating the sort of behaviors we can get from SIR or SIR-like models (using similar graphs and code) are in the thread below. •19/20
Finally, here is the Sage code I used to compute the models discussed in this thread: gist.github.com/Gro-Tsen/4eacb… — running it as is produces the first graph, and for the second, just change “hetcoef” to 2.0 (it is 1+1/k where k is the Γ-distribution shape parameter). •20/20

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Gro-Tsen

Gro-Tsen Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @gro_tsen

5 Mar
Pourquoi est-ce si difficile même pour des gens éduqués de comprendre la morale de l'histoire du garçon qui criait au loup?
Ma réponse de fond à ce fil est ici: — à quoi il faudrait sans doute ajouter la remarque importante qu'il est faux de considérer les variants comme des épidémies indépendantes dès lors que les formes du virus causent une forte immunité croisée entre elles.
Mais à la limite ce n'est pas le propos. Peut-être que dans qqs semaines les variants vont causer une explosion des cas: je ne prétends pas le contraire. D'ailleurs, dans la fable du garçon qui criait au loup, IL Y A un loup à la fin! Ça n'empêche que le garçon avait tort.
Read 4 tweets
4 Mar
Hi @jenniferdaniel! I enjoyed your @unicode talk “Race is Not a Skin Tone, Gender is Not a Haircut”, and I have a question: could you tell me something about the decision not to allow skin tone modifiers on smiley emojis like U+1F928 FACE WITH ONE EYEBROW RAISED? Specifically: …
‣ Am I correct in understanding that the choice of which emoji are or are not skin-tone-able is basically just down to the ones which Apple made explicitly Caucasian in their original set? (as opposed to some more carefully considered choice, that is).
‣ Has the success of the skin tone modifiers on emoji like hand gestures (which I feel convey the same kind of feelings / intention as smileys) led to debates, among vendors or inside Unicode, about reconsidering smiley + skin tone combinations?
Read 5 tweets
4 Mar
This thread attempts to answer the question “why do we use elliptic curves in cryptography (for things like discrete logarithms)” and I think makes a very good job at explaining it, but there is one point which is a bit glossed over. •1/12
Basically what we want is a group C which is “cyclic but not trivially cyclic”, i.e., that there be an isomorphism ℤ/ℓℤ → C, easily computable (given a choice of generator of C) as well as the group operation in C, but that the reverse isomorphism be hard. •2/12
This is a bizarre quest, because in mathematics we aren't used to distinguishing isomorphic objects, even less the existence of an isomorphism in one direction from that in the other! (Of course here both exist, but one is “easy” and the other is “hard”.) •3/12
Read 12 tweets
2 Mar
Ce n'est pas la première fois que je vois passer des affirmations du genre «Macron ignore le conseil scientifique et c'est pour ça qu'il n'y a pas de nouveau confinement / zéro-covid», mais y a-t-il eu des recommandations du c.s. dans ce sens?
L'avis du conseil scientifique du 2021-02-12, solidarites-sante.gouv.fr/IMG/pdf/avis_c… (le dernier à ce jour) ne fait aucune référence au confinement, encore moins au zéro-covid. Il est dit explicitement (page 13) qu'il n'y a pas unanimité du c.s. (moi je devine «grosses engueulades»).
Les avis précédents évoquent les confinements (sans jamais vraiment les recommander explicitement, mais ils sont présentés comme efficaces pour contenir la situation) mais certainement pas le zéro-covid.
Read 5 tweets
1 Mar
La séance précédente j'ai parlé de jeux en forme normale et je crois que j'ai été assez mauvais (confus), par contre, cette semaine j'espère m'en être mieux tiré sur les jeux de Gale-Stewart.
Un jeu de Gale-Stewart est défini par un ensemble X≠∅ et une partie A⊆X^ℕ: Alice choisit x₀∈X (sans contrainte) puis Bob choisit x₁ (idem) puis Alice choisit x₂, etc., et au bout d'un nombre infini de coups, si la suite formée appartient à A alors Alice gagne, sinon Bob.
La question est: un des joueurs a-t-il forcément une stratégie gagnante? En général la réponse est négative, mais si on fait l'hypothèse que A est ouvert ou bien fermé («détermination ouverte») elle l'est, ou même si A est borélien («détermination borélienne»).
Read 7 tweets
12 Feb
OK, I may be guilty of a DoS attack attempt on mathematicians' brains here, so lest anyone waste too much precious brain time decoding this deliberately cryptic statement, let me do it for you. •1/15
First, as some asked, it is to be parenthesized as: “∀x.∀y.((∀z.((z∈x) ⇒ (((∀t.((t∈x) ⇒ ((t∈z) ⇒ (t∈y))))) ⇒ (z∈y)))) ⇒ (∀z.((z∈x) ⇒ (z∈y))))” (the convention is that ‘⇒’ is right-associative: “P⇒Q⇒R” means “P⇒(Q⇒R)”), but this doesn't clarify much. •2/15
Maybe we can make it a tad less abstruse by using guarded quantifiers (“∀u∈x.(…)” stands for “∀u.((u∈x)⇒(…))”): it is then “∀x.∀y.((∀z∈x.(((∀t∈x.((t∈z) ⇒ (t∈y)))) ⇒ (z∈y))) ⇒ (∀z∈x.(z∈y)))”. •3/15
Read 15 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!