{"id":633,"date":"2021-04-02T10:45:00","date_gmt":"2021-04-02T10:45:00","guid":{"rendered":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/?p=633"},"modified":"2021-04-30T09:52:21","modified_gmt":"2021-04-30T09:52:21","slug":"being-careful-with-covid-19-statistics-simpsons-paradox","status":"publish","type":"post","link":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/2021\/04\/02\/being-careful-with-covid-19-statistics-simpsons-paradox\/","title":{"rendered":"A Pandemic Paradox: Being Cautious with COVID-19 Statistics"},"content":{"rendered":"\n<p><strong><em>TRIGGER WARNING! This blog posts refers to COVID-19 and fatality rate data &#8211; if that&#8217;s something you&#8217;d rather avoid then, not to worry, you can head back <a href=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/my-blog\/\">here<\/a><\/em><\/strong> <strong><em>where I have lots of other blog posts for you to read!<\/em><\/strong><\/p>\n\n\n\n<p>We all know that Statistics is a powerful tool that has great significance in the real world. More recently, with coronavirus daily briefings and COVID-19 Statistics dominating the news, everyone one and their mother is a self-proclaimed statistician. Because Statistics inform so many big decisions, when it comes to analysis, we need to tread carefully. After all, things might not always be what they seem at first glance! In this short post, I&#8217;m going to introduce the Simpson&#8217;s Paradox, a phenomenon in Probability and Statistics.<\/p>\n\n\n\n<p>The Simpson&#8217;s Paradox occurs when the same set of data can appear to show different analysis depending on how the data is grouped. This happens because there is what&#8217;s known as a <strong>lurking variable<\/strong> hidden in the aggregated data. Take a look at the graphs of simulated data below, the graph on the left-hand side separately considers two groups. In this graph, we observe a positive correlation in both groups. In the graph on the right-hand side, all of the data is grouped together and we observe the opposite, a negative correlation.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/coviddata-1024x741.png\" alt=\"\" class=\"wp-image-636\" width=\"554\" height=\"400\" srcset=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/coviddata-1024x741.png 1024w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/coviddata-300x217.png 300w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/coviddata-768x556.png 768w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/coviddata-769x557.png 769w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/coviddata.png 1050w\" sizes=\"(max-width: 554px) 100vw, 554px\" \/><figcaption><sub><sup><a href=\"https:\/\/towardsdatascience.com\/what-is-simpsons-paradox-4a53cd4e9ee2\">Source<\/a><\/sup><\/sub><\/figcaption><\/figure><\/div>\n\n\n\n<p>In real-life examples, this can have detrimental effects. I&#8217;ll show you what I mean! Take the next graph. Here, we&#8217;re comparing fatality rates for COVID-19 in Italy and China based on different age groups. Notice that for every age range, the fatality rate is higher in China than it is in Italy, suggesting that people in Italy who have COVID-19 are more likely to survive than people in China with COVID-19. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/simpsons1.png\" alt=\"\" class=\"wp-image-634\" width=\"585\" height=\"412\" srcset=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/simpsons1.png 618w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/simpsons1-300x211.png 300w\" sizes=\"(max-width: 585px) 100vw, 585px\" \/><figcaption><sub><sup><a href=\"https:\/\/arxiv.org\/pdf\/2005.07180.pdf\">Source<\/a><\/sup><\/sub><\/figcaption><\/figure><\/div>\n\n\n\n<p>Great. Our analysis is done, no? We can now get carried away reporting these findings and firing all sorts of criticisms at the Chinese health service as we take this analysis as gospel. That&#8217;s until we notice the last two bars on this graph. The aggregation of all this data suggests the opposite, that people in China have it better with a lower fatality rate than in Italy. But how on earth can this make sense? Let&#8217;s look at another graph:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/simpsons2.png\" alt=\"\" class=\"wp-image-635\" width=\"575\" height=\"389\" srcset=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/simpsons2.png 617w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/simpsons2-300x203.png 300w\" sizes=\"(max-width: 575px) 100vw, 575px\" \/><figcaption><sub><sup><a href=\"https:\/\/arxiv.org\/pdf\/2005.07180.pdf\">Source<\/a><\/sup><\/sub><\/figcaption><\/figure><\/div>\n\n\n\n<p>What is key about <em>this <\/em>graph is that it shows that there is a significantly larger population of older people with COVID-19 in Italy than in China. This is important because we know that age places a crucial role in the survivability of COVID-19, with younger people more likely to recover. <\/p>\n\n\n\n<p>So, how does this graph help explain our conflicting analyses? Well, there is a statistical link here between each country and the proportion of confirmed cases per age group. In this case, this is our lurking variable, the fatality rate percentages in the first graph hide the numbers of cases within each age group. As Italy has more older people with COVID-19, overall their fatality rate is higher because these people are more at risk of dying than younger people. So, even though for each age group Italy has less deaths than China, the fact that Italy has a much larger number of older people with the virus plays in significantly to the overall figures. Put simply, the larger proportion of confirmed cases among older people in Italy shown along with the fact that elderly people are generally at higher risk of death from COVID-19, explain the discrepancy between the aggregated and categorised data. This is a perfect illustration of Simpson&#8217;s Paradox.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/mum1-1024x576.jpg\" alt=\"\" class=\"wp-image-654\" width=\"515\" height=\"289\" srcset=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/mum1-1024x576.jpg 1024w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/mum1-300x169.jpg 300w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/mum1-768x432.jpg 768w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/mum1-769x432.jpg 769w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-content\/uploads\/sites\/26\/2021\/04\/mum1.jpg 1476w\" sizes=\"(max-width: 515px) 100vw, 515px\" \/><figcaption><sup><sub>Me and my Mum. She has worked for the NHS for over twenty-five years. This week she is receiving her second dose of the COVID-19 vaccine!<\/sub><\/sup><\/figcaption><\/figure><\/div>\n\n\n\n<p>This is really important and a clear indication of how we can get the totally wrong idea from the statistics when we&#8217;re not paying enough attention. Regarding the pandemic, we&#8217;re commonly given country-wide statistics. If we were to group by region or county we may draw vastly different conclusions. Nationally, we could observe a decline in COVID-19 despite a rising number of cases in some areas (which could potentially signal the start of a third wave). This is likely to happen if there are groups with large disparities, such as areas with vastly different populations. A spike in cases in a less dense region is likely to be dwarfed by falling cases in a largely populated area, like London for example, in national data.<\/p>\n\n\n\n<p>There are so many other examples or instances where the Simpson&#8217;s Paradox can play a role in hiding information. We have to be careful in the ways we divide data and be mindful of potential lurking variables. You&#8217;ve been warned!<\/p>\n\n\n\n<p>That&#8217;s it for now! This week&#8217;s <em><strong>tweet of the week<\/strong><\/em> goes to <a href=\"https:\/\/twitter.com\/helenczerski\">@helenczerski<\/a>! <\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-twitter wp-block-embed-twitter\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"twitter-tweet\"><blockquote class=\"twitter-tweet\" data-lang=\"en\"><p lang=\"en\" dir=\"ltr\">A friend has just shown me this book &quot;Calculus made easy&quot;, published in 1914, and I think it&#39;s got one of the best prologues I&#39;ve ever seen.  This is *exactly* what textbooks should be doing.  And they should all be honest about how terrifying the topic names are too. <a href=\"https:\/\/t.co\/8Qodx8dLaq\">pic.twitter.com\/8Qodx8dLaq<\/a><\/p>&mdash; Helen Czerski (@helenczerski) <a href=\"https:\/\/twitter.com\/helenczerski\/status\/1375915057905856513?ref_src=twsrc%5Etfw\">March 27, 2021<\/a><\/blockquote><\/div>\n<\/div><\/figure>\n\n\n\n<p>Missed my last post? Check it out <a href=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/2021\/03\/20\/on-the-record-how-to-use-gurobi-to-solve-linear-programming-problems\/\">here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Want to know more?<\/h2>\n\n\n\n<p>This post is based on the observations of the Simpson&#8217;s Paradox found in this paper: <strong><a href=\"https:\/\/arxiv.org\/pdf\/2005.07180.pdf\">Simpson\u2019s paradox in Covid-19 case fatality rates: a mediation analysis of age-related causal effects<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>TRIGGER WARNING! This blog posts refers to COVID-19 and fatality rate data &#8211; if that&#8217;s something you&#8217;d rather avoid then, not to worry, you can head back here where I have lots of other blog posts for you to read! We all know that Statistics is a powerful tool that [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":654,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[16],"tags":[],"class_list":["post-633","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-statistics"],"_links":{"self":[{"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-json\/wp\/v2\/posts\/633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-json\/wp\/v2\/comments?post=633"}],"version-history":[{"count":27,"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-json\/wp\/v2\/posts\/633\/revisions"}],"predecessor-version":[{"id":741,"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-json\/wp\/v2\/posts\/633\/revisions\/741"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-json\/wp\/v2\/media\/654"}],"wp:attachment":[{"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-json\/wp\/v2\/media?parent=633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-json\/wp\/v2\/categories?post=633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/robyn-goldsmith\/wp-json\/wp\/v2\/tags?post=633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}