EpiStoch

https://img.shields.io/pypi/v/epistoch.svg https://travis-ci.com/griano/epistoch.svg?branch=master Documentation Status

Epidemics Models with Random Infectious Period

This software allows you to model epidemics with general random distribution for the infectious period.

Traditional epidemiology models, like SIR, do not take into account the distribution for the length of the infectious period. In this software, we include three functions that compute these type of models using other distributions.

https://github.com/griano/epistoch/raw/master/docs/_static/DIVOC-SIR-comp.png

In this graph you can see how different the predictions are for the regular SIR model with respect to SIR-G that actually uses a more realistic distribution for the infectious period. In SIR-G case the peak of infection occurs before, and has a bigger intensity. The number of individuals that eventually get infected, however, remains the same for both models

Models

  • SIR: Classical SIR model, with (implied) exponential infectious period.
  • SIR_G: Like the classical SIR model, but with an arbitrary distribution.
  • SIR-PHG: A SIR model with Phase-Type distributions for the infectious period.
  • SEIRD: A SEIRD Model with hase-Type distributions for each stage.

Notes

  • The theoretical foundation of the method is explained in this paper.
  • Documentation: https://epistoch.readthedocs.io.
  • Source Code: https://github.com/griano/epistoch.
  • Free software: MIT license. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.