RAINIER is a statistical approach for fitting SEIR epidemic models to case and mortality data. We use the approach to create models of COVID-19 transmission in King County, WA.
For detailed information, see the report on King County associated with this code.
In this repository, we demonstrate how the approach can be applied to a synthetically generated, King County-like dataset.
We did the analysis using Python 3.6.10. The following Python packages are also required:
- numpy (1.14.5)
- scipy (1.1.0)
- pandas (0.25.0)
- matplotlib (3.1.0)
- tqdm (4.26.0)
Clone a copy of the repository.
(Optional) Create and activate a virtual environment.
- Navigate to the root of the repository and install with:
python setup.py develop
This will install all the required Python package dependencies.
- From the report_april26 directory, run
- > python <Report_Script_Name>.py (e.g. RAINIER.py)
See the LICENSE file for more information.
The code in this repository was developed by IDM to support our research in disease transmission and managing epidemics. We’ve made it publicly available under the Creative Commons Attribution-Noncommercial-ShareAlike 4.0 License to provide others with a better understanding of our research and an opportunity to build upon it for their own work. We make no representations that the code works as intended or that we will provide support, address issues that are found, or accept pull requests. You are welcome to create your own fork and modify the code to suit your own modeling needs as contemplated under the Creative Commons Attribution-Noncommercial-ShareAlike 4.0 License.