GithubHelp home page GithubHelp logo

oberamsystems / covid19_inference_forecast Goto Github PK

View Code? Open in Web Editor NEW

This project forked from priesemann-group/covid19_inference_forecast

0.0 1.0 0.0 791.72 MB

License: GNU General Public License v3.0

Jupyter Notebook 91.35% Python 8.63% Shell 0.02%

covid19_inference_forecast's Introduction

Bayesian inference and forecast of COVID-19

Documentation Status License: GPL v3 DOI

Daily updated scenarios

With a second wave hitting Germany and an ordered lockdown on the 2nd November, case number are more interesting than ever before. In the following we show a list of daily updated figures using different data sources and the same modeling approach as in our paper.

Additionally there is a lightweight website developed by us to show the age dependent incidence across different regions in Germany (updates every 6 hours). The website can be access here and was created for our aerzteblatt paper.

Scenario using weekly changepoints and reporting date data (OWD)

Scenario using weekly changepoints and nowcasting data (RKI)

We recommend using plot based on reporting date above. The nowcast imputation step of the RKI doesn't take into account varying reporting delays and weekly variations in the percentage of people which report the begin of the symptoms. Both effects lead to biases in recent case numbers (see also twitter:StefFun)

  • Daily updated nowcasting data is available at the Robert Koch Institute, but is delayed by four days to one week.

What-if scenarios lockdown

14th December

25th December

2nd November

With a second lockdown present in Germany from the 2nd November onwards, we try to model three different lockdown scenarios.

Until Nov. 1, the R-value was about 1.3. In order for the case numbers to decrease rapidly, it must be lowered to R=0.7.

We extrapolate three scenarios: (Red) The lockdown on November 2 has no effect. (Orange) A mild lockdown, with a resulting reproduction number of 1.0 and (green) a strict lockdown with a resulting reproduction number of 0.7, thus as effective as in spring. The current development (blue data points) suggests that the lockdown is "mild", i.e. not sufficient to reduce the case numbers. To reduce the case numbers, not only does an R below 1 need to be achieved, but the R must be well below 1, for example at 0.7 as in spring. Otherwise, the case numbers decrease only very slowly.

The discrepancy between data (blue) and prediction (yellow) may be due to (a) the application of stricter test criteria (there are not enough tests for all suspect cases), and (b) the fact that the change in behavior was implemented before November 1. The lockdown was probably already partially implemented before it was prescribed.

Modeling forecast scenarios in Germany (updated figures of the paper)

Our aim is to quantify the effects of intervention policies on the spread of COVID-19. To that end, we built a Bayesian SIR model where we can incorporate our prior knowledge of the time points of governmental policy changes. While the first two change points were not sufficient to switch from growth of novel cases to a decline, the third change point (the strict contact ban initiated around March 23) brought this crucial reversal. - Now, a number of stores have been opened and policies have been loosened on the one hand, which may lead to increased spreading (increased $\lambda^\ast$). On the other hand, masks are now widely used and contact tracing might start to show effect, which both may reduce the spread of the virus (decrease $\lambda^\ast$). We will only start to see the joint effects of the novel govenrmental policies and collective behavior with a delay of 2-3 weeks. Therefore, we show alternative future scenarios here.

Alternative forecast scenarios, projecting the relaxation of restrictions on May 11

  • If the effective growth rate stays on the current (all-time low) value, new cases will further decrease (green). A low number of new daily cases might bring a full control of the spread within reach (see our position paper by the four German research associations; Endorsement; Position paper).

  • If the relaxation of restrictions causes an increase in effective growth rate above zero, the daily new reported cases will increase again (red).

The current scenarios are based on the model that incorporates weekly reporting modulation (less cases reported on weekends).

Scenario focus on three change points

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

What if

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.

This figure was used widely in German media, including TV, to illustrate the magnitude of the different change points.

<style> table {border: none;} </style>

covid19_inference_forecast's People

Contributors

jdehning avatar semohr avatar pspitzner avatar joaopn avatar zierenberg avatar michaelosthege avatar vpriesem avatar cast42 avatar

Watchers

James Cloos 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.