Giter Club home page Giter Club logo

covid-19-analysis's Introduction

COVID-19 analyses

I use three diagnostic plots to look at the progression. These answer the following questions:

  1. How active and exponential is the spread?
  2. How do countries compare in testing and health care system stress? (see below)
  3. When will the health care system become exhausted?
  4. When will the CDC reduce the countries' "high risk" level?

Approach

The number of confirmed cases depends strongly on the testing approach taken by each country's government.

Firstly, I was interested whether one can infer the underlying infected population based on the number of deaths. For that I simply take the number of deaths reported and divide by the number of infected reported to compare countries. This is the y-axis.

Secondly, I was interested how well health care systems can cope. I place the number of currently* infected relative to an estimate of the health care system capacity. This is basically the number of hospital beds compared to the number of elderly people. I incorporated the population demographics (age distribution of each country), to correctly identify the country-specific vulnerable population size. UN data bases helpfully provide such information for many countries, and I used the latest survey for each country. The stress on the health care system is on the x-axis.

I exclude countries with a small number of deaths relative to their population size, because these do not give stable estimates.

  • update: Because the number of recovered is not reported anymore,
    currently infected is estimated from the number of reported infections 14 days earlier, and crudely assuming those that have not died have recovered.

Data

Results

https://raw.githubusercontent.com/JohannesBuchner/COVID-19-analysis/master/results/ratio_beds_some.png

Discussion

Things I notice / interpret (as a non-expert!):

  • South Korea and Diamond Princess are consistent in mortality, and thought to be quite complete in infection testing. Other countries are probably under-counting the infected.
  • Phases can be seen:
    1. first a right-down line (Early Iran, South Korea, US now), perhaps the expansion of the infection in the population, (2)
    2. increase to the top right (Iran, Japan), perhaps because delayed deaths are accumulating.
    3. Vertical upwards (China, South Korea): New infections have been stopped. Delayed deaths accumulate.
    4. Return to left (China): people recover, the health care system is relaxing.
  • In the top right of the plot, the health care system is highly stressed (number of infected large compared to available hospital beds). Italy and Iran are there. The number of deaths increase as a country heads to the right. Spain is going there as well.
  • A value of 100% does not necessarily mean that the health care system is over-loaded. Capacities can and are being expanded compared to survey data by building new hospitals or by using hotel beds.
  • The US is speeding to the right, but (surprisingly?) shows little sign of under-counting the infected.

All countries

https://raw.githubusercontent.com/JohannesBuchner/COVID-19-analysis/master/results/ratio_beds.png

Things I notice / interpret (as a non-expert!):

  • Germany, Austria (and Denmark, Norway) are at the bottom of the chart -- mortality is unusually low there. I am unsure if this is because of over-counting of infected (unlikely), undercounting of deaths ( assigning a non-COVID-19 cause), or quality and accessibility of the health care system.

Conclusions

I am not an epidemiologists. I recommend you listen to the experts.

Reading recommendations

covid-19-analysis's People

Contributors

johannesbuchner avatar

Stargazers

 avatar

Watchers

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.