Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sam-writer opened this issue Mar 17, 2020 · 4 comments
Open

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

sam-writer opened this issue Mar 17, 2020 · 4 comments
Labels
enhancement New feature or request hospital-request A hospital needs this to make a decision python wontfix This will not be worked on

Comments

@sam-writer
Copy link
Collaborator

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.

@sam-writer sam-writer added enhancement New feature or request python labels Mar 17, 2020
@sam-writer
Copy link
Collaborator Author

@cjbayesian is this already implemented?

@sam-writer sam-writer added the hospital-request A hospital needs this to make a decision label Mar 17, 2020
@cjbayesian
Copy link
Collaborator

We opted to display the R0 being implied at the doubling rate specified. We also now display the effective R0 conditional on social distancing.

I think we can close this.

@mdbecker
Copy link
Collaborator

@sam-qordoba I think this is a won't-fix. Can you see a reason to do otherwise?

@sam-writer
Copy link
Collaborator Author

This seems like a wont-fix to me as well. Though, as we try to make the code more modular, one goal can be if the user imports the code to use in python, they should be able to specify R_0

@BrianThomasRoss BrianThomasRoss added the wontfix This will not be worked on label Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hospital-request A hospital needs this to make a decision python wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants