GithubHelp home page GithubHelp logo

covid19's Introduction

COVID 19 (my data analysis)

Introduction

Thanks to the COVID19 data made available by the Johns Hopkins University (https://systems.jhu.edu/research/public-health/ncov/) in the github repository (https://github.com/CSSEGISandData/COVID-19) it is possible to make your own analysis and create your own plots.

I made some analysis to see how the number of cases and deaths are growing still in an exponential way, but the rate should decrease hopefully soon.

In a logarithmic plot, an exponential curve looks as a straigh line. The pendent of the straight line gives you the increase rate. It can be shown that the data is not fully linear but the slope is changing towards to an horizontal (stabilization). For example this plot compares the situation of Spain with Italy, considering a delay of 7 days (Spain behind Italy):

https://github.com/srio/COVID19/blob/master/figures/italy_vs_spain.png

In the following anaysis, I make a plot per country (Spain, France, Italy and US) displaying the situation up to now, make a fit of the last days to calculate the increasing ratio (number of days in which it doubles) and extrapolate for tomorrow. Hopefully, because we are at home #quedateencasa the ratio will be reduced in the next days so we will approach the stabilization.

We must act together to flatten the curves!!

Evolution of the time for doubling the cases/deaths

https://github.com/srio/COVID19/blob/master/figures/Spain_x2.png

https://github.com/srio/COVID19/blob/master/figures/France_x2.png

https://github.com/srio/COVID19/blob/master/figures/Italy_x2.png

https://github.com/srio/COVID19/blob/master/figures/US_x2.png

New cases/deaths

https://github.com/srio/COVID19/blob/master/figures/Spain_new_cases.png

https://github.com/srio/COVID19/blob/master/figures/France_new_cases.png

https://github.com/srio/COVID19/blob/master/figures/Italy_new_cases.png

https://github.com/srio/COVID19/blob/master/figures/US_new_cases.png

Curves

https://github.com/srio/COVID19/blob/master/figures/Spain_plot.png

https://github.com/srio/COVID19/blob/master/figures/France_plot.png

https://github.com/srio/COVID19/blob/master/figures/Italy_plot.png

https://github.com/srio/COVID19/blob/master/figures/US_plot.png

covid19's People

Contributors

srio avatar

Watchers

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