Covid-19 Analysis
Covid-19 Analysis
Date of analysis: 14 December 2020
Top 20 Worldwide (sorted by Cases)
Country | Cases | Deaths | Mortality rate (%) |
USA | 16,256,754 | 299,177 | 1.84 |
India | 9,884,100 | 143,355 | 1.45 |
Brazil | 6,901,952 | 181,402 | 2.63 |
Russia | 2,653,928 | 46,941 | 1.77 |
France | 2,376,852 | 57,911 | 2.44 |
UK | 1,849,403 | 64,170 | 3.47 |
Italy | 1,843,712 | 64,520 | 3.50 |
Spain | 1,730,575 | 47,624 | 2.75 |
Argentina | 1,498,160 | 40,766 | 2.72 |
Colombia | 1,425,774 | 39,053 | 2.74 |
Germany | 1,337,078 | 21,975 | 1.64 |
Mexico | 1,250,044 | 113,953 | 9.12 |
Poland | 1,135,676 | 22,864 | 2.01 |
Iran | 1,108,269 | 52,196 | 4.71 |
Turkey | 995,471 | 16,199 | 1.63 |
Peru | 984,973 | 36,677 | 3.72 |
Ukraine | 900,666 | 15,247 | 1.69 |
South Africa | 860,964 | 23,276 | 2.70 |
Indonesia | 617,820 | 18,819 | 3.05 |
Netherlands | 612,746 | 10,034 | 1.64 |
Malaysia and UAE (sorted by Cases)
Country | Cases | Deaths | Mortality rate (%) |
UAE | 184,949 | 617 | 0.33 |
Malaysia | 83,475 | 415 | 0.50 |
The World
Cases | Deaths | Mortality rate (%) |
71,503,614 | 1,612,833 | 2.26 |
Why I created the Covid-19 analysis?
- Most Covid-19 graphs analyses are time-series, i.e. the cumulative total is plotted on the vertical y-axis and date on the horizontal x-axis. I haven’t seen graph analysis comparing daily count (on y-axis) and cumulative total (on x-axis).
- After watching the Minutephysics YouTube video about How To Tell If We’re Beating COVID-19, I had the idea to link the daily count and cumulative total.
- From my own analysis, I’m beginning to seeing the daily count and cumulative total provide a more realistic leading indicator to eyeballing the trend – Are we improving? Worsen? “Flattening the curve” will happen over time (the “black line” on graph below). Yet, the “blue line” provides greater clarity for immediate trend signal – are we trending up or trending down. Trending down means the Covid-19 controls are effective, whilst trending up means there is a need for better Covid-19 controls.
- The blue line fits the Covid-19 data to approximate the trend. As daily count declines, the blue line will drop, which is a positive sign. When there is no new daily Cases or Deaths being reported, the blue line will move closer to the horizontal x-axis to form a small letter “n”. That is the goal we want to achieve, the small letter “n” blue line!
- Graph with black line: Cumulative total on vertical y-axis and time-series on horizontal x-axis.
- Graph with blue line: Daily count on vertical y-axis and cumulative total on horizontal x-axis.
- The blue line smoothing is based on local regression (loess) technique (reference).
Comparative: Malaysia Cases Lockdown Day 273
- Malaysia lockdown: 18 March 2020
- China Hubei lockdown: 23 January 2020
- Italy lockdown: 9 March 2020
Given the lockdown started on separate dates, comparatively the Covid-19 controls in Malaysia are effective and the blue curve is trending in the right direction.


Comparative: Malaysia Deaths Lockdown Day 273


Cases Cumulative – Various Selected Countries. From 31 December 2019 to 14 December 2020
How the rest of the world is doing in the fight against Novel Coronavirus Covid-19:








Deaths Cumulative – Various Selected Countries. From 31 December 2019 to 14 December 2020








Correlation between China, Italy and Malaysia Lockdown Day 273
Correlation is a metric that measures the degree of relationship between two variables. The countries’ high percentage of correlation, suggests that they are closely related and predicting each other.
The estimated cases correlation:
- Malaysia and China: 36.5%
- Malaysia and Italy: 98.8%

The estimated death correlation:
- Malaysia and China: 58.2%
- Malaysia and Italy: 81.6%

References:
- European Centre for Disease Prevention and Control; An agency of the European Union; Download today’s data on the geographic distribution of COVID-19 cases worldwide link
- RStudio Team (2018). RStudio: Integrated Development for R. RStudio, Inc., Boston, MA link. Taiyun Wei and Viliam Simko (2017).
- R package “corrplot”: Visualization of a Correlation Matrix (Version 0.84). Available from link.
- Correlation definitions: (i) link (ii) link (iii) link
- minutephysics (2020) How To Tell If We’re Beating COVID-19. Available at: link (Accessed: 29 March 2020).
- StatQuest with Josh Starmer (2017) Fiitting a curve to data, aka lowess, aka loess. Available at: link [Accessed 31 March 2020].
- En.wikipedia.org (2020). Local Regression. [online] Available at: link [Accessed 31 March 2020].
- Wicklin, R. (2016). What Is Loess Regression?. [online] SAS Blogs. Available at: link [Accessed 31 March 2020].
- Prabhakaran, S., (2016). Loess Regression And Smoothing With R. [online] R-statistics.co. Available at: link [Accessed 31 March 2020].