Skip to content

A dashboard/tracker to give an overview of the spread of the Novel Coronavirus COVID-19 pandemic across India, state-wise along with SIR (Susceptible - Infectious - Recovered) model.

Notifications You must be signed in to change notification settings

srinathkr07/COVID-19-in-India

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

COVID-19 in India : An Analysis

eRum2020::CovidR

A shiny R dashboard to give an overview of the spread of the Novel Coronavirus COVID-19 pandemic across India, state-wise along with SIR (Susceptible - Infectious - Recovered) model for a period of 150 days starting from March 1.

Contributor

Srinath K R

Summary (as of 9th May 2020, 12:30 pm)

Summary

Visualization (as of 9th May 2020, 12:30 pm)

Visualization

Cumulative Trends (as of 9th May 2020, 12:30 pm)

Cumulative Trends

Daily Trends (as of 9th May 2020, 12:30 pm)

Daily Trends

SIR Model

Introduction

Compartmental models simplify the mathematical modelling of infectious diseases. The SIR model is one of the simplest compartmental models, and many models are derivatives of this basic form.

The model consists of three compartments:

  • S for the number of susceptible,
  • I for the number of infectious, and
  • R for the number of recovered or deceased individuals.

This model is reasonably predictive for infectious diseases that are transmitted from human to human.

Predicted vs Observed cases (as of 10th May 2020)

Predicted vs Observed cases

Predicted vs Observed cases (Log-linear) (as of 10th May 2020)

Predicted vs Observed cases (Log-linear)

Math in the model

Equations

The SIR system without so-called vital dynamics (birth and death, sometimes called demography) can be expressed by the following set of ordinary differential equations (ODEs):

Equation 1

where S is the stock of susceptible population, I is the stock of infected, R is the stock of removed population (either by death or recovery), and N is the sum of these three.

Note that from:

Equation 2

it follows that:

Equation 3

expressing in mathematical terms the constancy of population N.

R0

The dynamics of the infectious class depends on the following ratio:

Equation 4

the so-called Basic Reproduction number (also called basic reproduction ratio). R0 (pronounced “R-naught”) is the rate at which a virus is transmitted. It indicates the average number of people who will contract the virus from a person who has already been infected, in a population where all subjects are susceptible.

Prediction of infectious cases (as of 10th May 2020)

Prediction of infectious cases

Prediction of infectious cases (Log-linear) (as of 10th May 2020)

Prediction of infectious cases (Log-linear)

Note

This is a worst case prediction and should be taken with a lot of caution. Not surprisingly, it can be wrong. On one hand, this is based on rather unrealistic assumptions (for example, no public health interventions, fixed Reproduction number, etc.). On the other hand, we still have to be careful and strictly follow public health interventions because previous pandemics such as H1N1 and Spanish flu have shown that incredibly high numbers are not impossible!

About

This dashboard/tracker gives an overview of the spread of the Novel Coronavirus (COVID-19) pandemic across India, state-wise along with SIR (Susceptible - Infectious - Recovered) model for a period of 150 days starting from March 1.

This application has been made entirely using Rmarkdown framework.

R packages used:

FAQ

Are you official?

No.

Who are you?

I am an enthusiastic developer and a data analyst who wanted to do contribute to India's fight against COVID-19.

Is the project open sourced?

Yes! The project is completely open sourced. You can find the link to the GitHub repo here.

From where do you get the data?

Data collected by a group of volunteers is validated and published into a Google sheet and an API. Thanks for the API, COVID-19 India API!

Is the SIR model accurate?

I am not a specialist in Epidemiology so there are bound to be differences between actual and predicted cases. These predictions are only meant to be taken as a worst case scenario and with a lot of caution.

About

A dashboard/tracker to give an overview of the spread of the Novel Coronavirus COVID-19 pandemic across India, state-wise along with SIR (Susceptible - Infectious - Recovered) model.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published