Como-DTC-Collaboration / como-models

Pedagogical materials for learning COVID-19 transmission dynamics modelling
https://Como-DTC-Collaboration.github.io/como-models/
MIT License
3 stars 0 forks source link

Add variant-specific transmission parameters #67

Closed ben18785 closed 2 years ago

ben18785 commented 2 years ago

All the vignettes should be using Covid-19-relevant parameters. Rather than redefining them each time, I think it would be better to creating a function like covid_transmission_parameters(variant="base", age_structured=FALSE) which returns:

list(kappa, gamma, mu)

where gamma and mu are either numbers or vectors dependent on whether the model is age-structured. The documentation would contain references to where these parameters come from.

Also, by allowing the parameters to be variant-specific, we could be clear about which variant we are examining.

ben18785 commented 2 years ago

As part of this, we probably want to update the gamma and mu parameters to use a more sensible infectious period duration, as in here.

ben18785 commented 2 years ago

This is in there now through #69