Code Monkey home page Code Monkey logo

slidingsir's Introduction

Sliding SIR Model for Epidemic Modelling

This repository contains code to perform estimation of effective reproductive number Rt of COVID epidemic based on public data. This code accompanies the following publications:

Citation

If you use any portion of this code in your research, please cite either this repository, or the following paper:

Petrova, T.; Soshnikov, D.; Grunin, A. Estimation of Time-Dependent Reproduction Number for Global COVID-19 Outbreak. Preprints 2020, 2020060289 (doi: 10.20944/preprints202006.0289.v1).

DOI

The code is distributed under MIT License

Running the Code

The easiest way to run the code is to clone the repository in [Azure Notebooks])https://soshnikov.com/azure/8-reasons-why-you-absolutely-need-azure-notebooks/), or use Visual Studio Codespaces to open the code.

Provided Files

  • notebooks/EpiModelling.ipynb is the notebook that describes the basics of SIR epidemic modelling, and applies our Sliding SIR idea to the epidemic in Moscow
  • notebooks/SlidingSIR.ipynb contains the code that applies Sliding SIR to many countries based on publicly available data, and ties this to Apple Mobility Index
  • data directory contains the snapshot of datasets used in our modelling. The code uses online publicly available datasets, but should they become unavailable - you would still be able to test the code with the data provided there

Some Results

The methodology is described in this blog post or in the paper. Here are a few obtained results:

Rt Dynamics in Russia

Rt Dynamics vs. Daily Infected Population Worldwide

Rt Dynamics for Different Countries

slidingsir's People

Contributors

shwars avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.