The enclosed code and data accompany a paper submitted to various journals.
Launch Microsoft Visual Studio, build and run the two executables to create
.csv
files containing the simulation results in the directories SIStudy
and SIRStudy
corresponding to SI and SIR models respectively.
Individual Jupyter notebooks pre-exist for each .csv
file.
In the SIRStudy
directory run the Python script notebooks.py
to create
individual Jupyter notebooks for each .csv
file. The pre-existing Jupyter
notebooks there split off the correlations for each of the three denominators
- aS + bI + cR
- aS + b(I + R)
- aS + bR
A cut down version of the SIR study for the game of epidemiological tag on substack.