GithubHelp home page GithubHelp logo

joaopn / covid19_inference_forecast Goto Github PK

View Code? Open in Web Editor NEW

This project forked from priesemann-group/covid19_inference_forecast

0.0 0.0 0.0 88.48 MB

License: GNU General Public License v3.0

Jupyter Notebook 98.10% Python 1.90%

covid19_inference_forecast's Introduction

Bayesian inference and forecast of COVID-19

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 (updated on April 13).

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.

We are looking for support to help us with analyzing other countries and to extend to an hierarchical regional model. We might get additional funding for that. Everyone is welcome to join our information session on Zoom on Thursday 16th at 13:00. We will publish the Zoom address here on Thursday at 12:00.

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 (updated figures of the paper)

Summary

Scenario assuming three change points

Scenario assuming three change points with a weekly modulation of reported cases

What-if scenarios

What if the growth would have continued with less change points?

We fitted the four scenarios to the number of new cases until respectively March 18th, March 25th, April 1st and April 7th.

covid19_inference_forecast's People

Contributors

jdehning avatar pspitzner avatar joaopn avatar michaelosthege avatar zierenberg avatar cast42 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.