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

add new_infections() and epidemic_size() from {epidemics} #43

Open
avallecam opened this issue Jun 12, 2024 · 2 comments
Open

add new_infections() and epidemic_size() from {epidemics} #43

avallecam opened this issue Jun 12, 2024 · 2 comments
Labels
enhancement New feature or request priority To prioritize

Comments

@avallecam
Copy link
Member

avallecam commented Jun 12, 2024

replace output to plot from filter(compartment == "infectious") with new_infections() to show the incidence curve, which is different to the total number or cumulative amount in the infectious compartment at each time.

Evaluate to use epidemic_size() to show the end point of each compartment for scenario comparison or refer to package vignette on modelling intervention scenarios into tutorial episode on modelling interventions

@avallecam avallecam added enhancement New feature or request priority To prioritize labels Jun 12, 2024
@avallecam
Copy link
Member Author

replace output to plot from filter(compartment == "infectious") with new_infections() to show the incidence curve, which is different to the total number or cumulative amount in the infectious compartment at each time.

instead of replace, show the two use cases:

  • If you want to show the total burden of the disease, the ‘infectious’ compartment is more correct.
  • If you want to show the daily burden, then you should use new_infections() to get the daily incidence.

@avallecam
Copy link
Member Author

avallecam commented Jun 12, 2024

Evaluate to use epidemic_size() to show the end point of each compartment for scenario comparison or refer to package vignette on modelling intervention scenarios into tutorial episode on modelling interventions

The epidemic size:

  • definition: the number of individuals who have been infected in an outbreak. At the end of an outbreak, this is essentially the same as the number of final outcomes.
  • For a different model, different compartments are used:
    • in model_default, epidemic size is taken from "recoveries"
    • in model_ebola, epidemic size is taken from "removed"
  • relevance: can be used to inform the ratio of susceptibles in a future scenario.
    • caveat: if you calculate the epidemic size at the peak of the outbreak, it could be an underestimate as many people are infectious.

possibly misunderstanding: the epidemic size does not take from "infectious". The ‘infectious’ compartment increases and decreases with time, so it would be incorrect to say that the epidemic size has decreased, within the time frame of analysis which assumes a constant population.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority To prioritize
Projects
Status: Todo
Development

No branches or pull requests

1 participant