/covid19_inference_forecast

Primary LanguageJupyter NotebookGNU General Public License v3.0GPL-3.0

COVID-19 inference and forecast

Documentation Status License: GPL v3 Code style: black

We want to quantify the effect of new policies on the spread of COVID-19. Crucially, fitting an exponential function to the number of cases lacks an interpretability of the fitting error. We built a Bayesian SIR model where we can incorporate our prior knowledge of the time points of governmental policy changes. At the example of Germany, we show that the two kinks in the last weeks correspond to two changes of policies, leading to a growth rate of about 0 now.

The research article is available on arXiv.

The code used to produce the figures is available here (simple model) and here (with change points). It is runnable in Google Colab. Requirement is PyMC3 >= 3.7.

If you want to use the code, we recommend to look at our documentation.

Some output figures are shown below. The rest are found in the figures folder. We update them regularly.

Please take notice of our disclaimer.

Modeling three different scenarios in Germany

Summary

Scenario assuming three change points

Scenario assuming two change points

Scenario assuming one change point