epiverse-trace / tutorials-late

https://epiverse-trace.github.io/tutorials-late/
Other
2 stars 0 forks source link

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

Open avallecam opened 3 weeks ago

avallecam commented 3 weeks ago

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 commented 3 weeks ago

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:

avallecam commented 3 weeks ago

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:

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.