CodeForPhilly / CodeForPhilly/chime

Allow user to specify R0 (in lieu of doubling time)

Offen
#18 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement hospital-request python wontfix
Vorherrschende Sprache
Python
Sterne
210
Forks
153
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Calculation (extends "more info about this tool"):

We can compute the implicit $R_0$ from our doubling time inputs and our assumed duration of infectiousness $(1/\gamma)$. Since $R_0$ is the number of additional individuals infected by each infected individual when $I << S$, we can compute the growth rate $g$ as a function of $R_0$ and $\gamma$:
$$g = \gamma R_0 $$
From our previous equation for $g$, we can substitute and rearrange to find:
$$R_0 = (2^{1/T_d} - 1)/\gamma$$

So, for our $\gamma$ of 1/14 days, a doubling time of 4 days corresponds to an $R_0$ of 2.65.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.