This is a reimplementation of the Warwick-Lancaster model. This work was commissioned by the World Health Organisation (WHO) Strategic Advisory Group of Experts on Immunisation (SAGE) Covid-19 Working Group. Below we include a model schematic:
All features of our software are described in detail in our full API documentation.
More details on epidemiological models and inference can be found in these papers:
[1] Moore, S., Hill, E.M., Dyson, L. et al. Retrospectively modeling the effects of increased global vaccine sharing on the COVID-19 pandemic. Nat Med 28, 2416–2423 (2022).
[2] Bouros, I., Thompson, R.N., Keeling, M.J., Hill, E.M., Moore, S., [Warwick-Lancaster Global Covid-19 Model](https://ssrn.com/abstract=4654753 or http://dx.doi.org/10.2139/ssrn.4654753). 9TH INTERNATIONAL CONFERENCE ON INFECTIOUS DISEASE DYNAMICS:P1.082 (2023),
One way to install the module is to download the repositiory to your machine of choice and type the following commands in the terminal.
git clone https://github.com/I-Bouros/warwick-covid-transmission.git
cd ../path/to/the/file
A different method to install this is using pip
:
pip install -e .
import epimodels
# create a contact matrix using mobility data e.g. from a POLYMOD matrix
epimodels.ContactMatrix(age_groups, polymod_matrix)
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.