

{"id":125696,"date":"2020-05-04T12:26:22","date_gmt":"2020-05-04T06:56:22","guid":{"rendered":"https:\/\/analyticstraining.com\/?p=16134"},"modified":"2022-11-22T16:05:14","modified_gmt":"2022-11-22T10:35:14","slug":"does-lockdown-help-control-a-pandemic-a-probabilistic-model","status":"publish","type":"post","link":"https:\/\/www.jigsawacademy.com\/does-lockdown-help-control-a-pandemic-a-probabilistic-model\/","title":{"rendered":"Does Lockdown Help Control a Pandemic? \u2013 A Probabilistic Model"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Let me clarify at the outset \u2013 I am neither a biologist, nor an epidemiologist or a doctor! I am daring to take up this burning topic to discuss some interesting facts. Having tried my hands with the structure and behaviour of social networks, I am trying to understand the spreading rate of current pandemic, Covid \u2013 19. Being in lockdown for around a month, we all may be wondering, does this really help? Yes, it does. We can prove this mathematically.&nbsp;<\/span><\/p>\n<p><b>What is a Social Network?<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The connectedness found among groups of people, internet, research articles etc. is known as a social network. Generally, a social network is represented as a graph consisting of nodes and edges (either directed or undirected). Few examples:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">A network of people on Facebook\/Twitter: Here, people are represented by nodes and friendships are denoted by edges. The Facebook network is an undirected graph, as friendship is mutual (Refer Figure 1). The Twitter network is directed graph, as person A is following person B doesn\u2019t mean that B also follows A.&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">A web graph: A webpage is treated as a node and hyperlink from one page to other page is an edge. Obviously, this is a directed graph.&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Citation Network: A research article may cite many other sources. Here, each source and the article itself are nodes. The referencing links are edges. Again, this is a directed graph.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">In the study of any contagious disease, a network can be a group of people who came in contact with, either directly or indirectly.&nbsp;<\/span><\/p>\n<p><a href=\"https:\/\/analyticstraining.com\/wp-content\/uploads\/2020\/05\/1.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-16135 size-full\" src=\"https:\/\/analyticstraining.com\/wp-content\/uploads\/2020\/05\/1.jpg\" alt=\"\" width=\"506\" height=\"256\" title=\"\"><\/a><br \/>\n<b>Influence in Social Networks:<\/b><\/p>\n<p><i><span style=\"font-weight: 400;\">\u201cTell me who your friends are, I will tell you who you are\u201d<\/span><\/i><span style=\"font-weight: 400;\"> is an age-old quote. Researchers have shown that social networks play a key role in cascading an idea\/behaviour\/habits etc. If your friend is obese, eventually you also may end up being obese! If your friend is happy, you will also be happy! But, spreading of contagious diseases are different from spreading of idea\/habits in following ways:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">People involved in the networks <\/span><b><i>do not have a choice<\/i><\/b><span style=\"font-weight: 400;\"> when getting infected by a disease. Whereas, they have a choice while adopting any new habit from their friends.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Spreading of disease is <\/span><b><i>an invisible process<\/i><\/b><span style=\"font-weight: 400;\">. That is, you will not come to know through whom you got a disease, when you were in contact with multiple people.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Thus, it is interesting to know how any disease spreads across the networks. The following are the key factors required to model any pandemic:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><b>The degree of contagiousness of a pathogen: <\/b><span style=\"font-weight: 400;\">How quickly a virus\/pathogen spreads in the network and by which mode are important factors to be understood. For example, diseases like Measles and Flu spread quite quickly, compared to Ebola and HIV. Moreover, Flu may spread to any person who is in physical proximity, whereas HIV is spread mostly via sexual contact and blood transfusion.<\/span><\/li>\n<li style=\"font-weight: 400;\"><b>Type of network: <\/b><span style=\"font-weight: 400;\">If the network (or graph) is dense, then more people get affected very quickly. Less people get affected if the network is sparse. A sparse graph is the one where there are very few edges connecting the nodes.<\/span><\/li>\n<\/ul>\n<p><b>A Probabilistic Model to demonstrate spreading of disease in a network:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Consider a simple network shown in Figure 2. In reality, a network of people will not be a tree-structure as shown, rather it will be complicated with multiple cross-connections. But, to understand how a disease spreads, let us assume that Person A has four friends B, C, D and E. Getting infected by a pathogen also depends on immunity of the person, and hence some people may get away without being infected, even if they come in contact with an infected person. So, assume that A is infected with a disease, and the probability that he can infect anybody else with whom he comes in contact with is 0.5. Note that, each of B, C, D and E getting infected from A are independent of each other.&nbsp;<\/span><\/p>\n<p><a href=\"https:\/\/analyticstraining.com\/wp-content\/uploads\/2020\/05\/2.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-16136 size-full\" src=\"https:\/\/analyticstraining.com\/wp-content\/uploads\/2020\/05\/2.jpg\" alt=\"\" width=\"556\" height=\"188\" title=\"\"><\/a><br \/>\n<span style=\"font-weight: 400;\">Given this scenario, what is the expected (average) number of people A can infect? As the probability of getting infected is given as 0.5, we can treat the situation as a random experiment of tossing a coin. If the head turns out, the person is affected, otherwise not. So, to calculate the expected number of affected people, let us take a random variable <\/span><i><span style=\"font-weight: 400;\">X <\/span><\/i><span style=\"font-weight: 400;\">denoting total number of people getting infected. Let, <\/span><i><span style=\"font-weight: 400;\">X<\/span><\/i><i><span style=\"font-weight: 400;\">i<\/span><\/i> <span style=\"font-weight: 400;\">denote the <\/span><i><span style=\"font-weight: 400;\">i<\/span><\/i><span style=\"font-weight: 400;\">th<\/span><span style=\"font-weight: 400;\"> person getting infected. Then,&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><a href=\"https:\/\/analyticstraining.com\/wp-content\/uploads\/2020\/05\/image2-2.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-16138 size-full\" src=\"https:\/\/analyticstraining.com\/wp-content\/uploads\/2020\/05\/image2-2.png\" alt=\"\" width=\"450\" height=\"173\" title=\"\"><\/a>Thus, person A can infect two people on an average, if he is in contact with four people and if the probability of infecting is 0.5.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Now, let us generalize this model. Assume, the person A is in contact with <\/span><i><span style=\"font-weight: 400;\">k <\/span><\/i><span style=\"font-weight: 400;\">different people and let the probability of infecting any person be <\/span><i><span style=\"font-weight: 400;\">p. <\/span><\/i><span style=\"font-weight: 400;\">Then, expected number of people who can be infected by A is \u2013<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><a href=\"https:\/\/analyticstraining.com\/wp-content\/uploads\/2020\/05\/image1-2.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-16137 size-full\" src=\"https:\/\/analyticstraining.com\/wp-content\/uploads\/2020\/05\/image1-2.png\" alt=\"\" width=\"377\" height=\"121\" title=\"\"><\/a>This number <\/span><b><i>pk <\/i><\/b><span style=\"font-weight: 400;\">is known as the <\/span><b><i>basic reproductive number<\/i><\/b><span style=\"font-weight: 400;\"> denoted by <\/span><b><i>R<\/i><\/b><b><i>0<\/i><\/b><span style=\"font-weight: 400;\">.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Now, generalize the model to multiple levels as shown in Figure 3. Let there be multiple levels of people who may come in contact with.&nbsp;<\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\"><a href=\"https:\/\/analyticstraining.com\/wp-content\/uploads\/2020\/05\/image4.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-16140 size-full\" src=\"https:\/\/analyticstraining.com\/wp-content\/uploads\/2020\/05\/image4.png\" alt=\"\" width=\"648\" height=\"272\" title=\"\"><\/a><strong>Figure 3. Generalized model for spreading of pathogen<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400;\">Note that, the probability of getting infected will reduce over several levels. For example,&nbsp;<\/span><\/p>\n<p><a href=\"https:\/\/analyticstraining.com\/wp-content\/uploads\/2020\/05\/image3-1.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-16139 size-full\" src=\"https:\/\/analyticstraining.com\/wp-content\/uploads\/2020\/05\/image3-1.png\" alt=\"\" width=\"709\" height=\"157\" title=\"\"><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Let us assume that each person at Level 1 will come in contact with exactly <\/span><b><i>k <\/i><\/b><span style=\"font-weight: 400;\">people. So, there will be <\/span><b><i>k<\/i><\/b><b><i>2<\/i><\/b><span style=\"font-weight: 400;\"> number of people in Level 2. Thus, the expected number of people getting infected at second level would be <\/span><b><i>p<\/i><\/b><b><i>2<\/i><\/b><b><i>k<\/i><\/b><b><i>2<\/i><\/b><b><i>. <\/i><\/b><span style=\"font-weight: 400;\">Continuing this assumption, we can say that the expected number of people who are getting affected by the pathogen at Level <\/span><b><i>i<\/i><\/b><span style=\"font-weight: 400;\"> would be <\/span><b><i>(pk)<\/i><\/b><b><i>i<\/i><\/b><span style=\"font-weight: 400;\">.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If a disease can spread to multiple levels in the network, then such disease is known as epidemic. And, the value of the basic reproductive number (<\/span><i><span style=\"font-weight: 400;\">R<\/span><\/i><i><span style=\"font-weight: 400;\">0<\/span><\/i><span style=\"font-weight: 400;\"> \u2013 the number of secondary infections) indicates whether the disease is going to be an epidemic or not. Let us illustrate the role of <\/span><i><span style=\"font-weight: 400;\">R<\/span><\/i><i><span style=\"font-weight: 400;\">0<\/span><\/i><span style=\"font-weight: 400;\"> with the help of examples as shown:<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><a href=\"https:\/\/analyticstraining.com\/wp-content\/uploads\/2020\/05\/img.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-16143 size-full\" src=\"https:\/\/analyticstraining.com\/wp-content\/uploads\/2020\/05\/img.jpg\" alt=\"\" width=\"758\" height=\"811\" title=\"\"><\/a>It is clear from the above illustrations that even if <\/span><b><i>R<\/i><\/b><b><i>0<\/i><\/b><span style=\"font-weight: 400;\"> is 1.1, the disease may turn out to be pandemic and if <\/span><b><i>R<\/i><\/b><b><i>0<\/i><\/b><span style=\"font-weight: 400;\"> is just smaller than 1 (like 0.9), the disease gradually dies away.<\/span><\/p>\n<p><b>What to do to stop a disease from becoming pandemic?<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Answer is simple: Reduce the value of the basic reproductive number! We know that <\/span><b><i>R<\/i><\/b><b><i>0<\/i><\/b><span style=\"font-weight: 400;\"> is a product of <\/span><b><i>p<\/i><\/b><span style=\"font-weight: 400;\"> and <\/span><b><i>k<\/i><\/b><span style=\"font-weight: 400;\">. We can reduce either of these. The probability of getting infected can be reduced by being more hygiene and improving the immune system. But, when we are not sure how to improve the immune system (like in the case of novel Covid -19), we can think of reducing <\/span><b><i>k<\/i><\/b><span style=\"font-weight: 400;\"> \u2013 which is the number of people who comes in contact with an infected person. Reducing <\/span><b><i>k <\/i><\/b><span style=\"font-weight: 400;\">will make sure that after a few levels, <\/span><b><i>R<\/i><\/b><b><i>0<\/i><\/b><span style=\"font-weight: 400;\"> is dragged down. Thus, the lockdown and\/or social distancing can help to reduce the impact of pandemic.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Remember that, for illustration purposes, we have considered a network in the form of a tree. The real-world network of individuals will be much more complicated. However, the model discussed here can be applied there too.<\/span><\/p>\n<p><b>References:<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><i><span style=\"font-weight: 400;\">Networks, Crowds and Markets<\/span><\/i><span style=\"font-weight: 400;\"> by David Easley and Jon Kleinberg, Cambridge University Press, 2010&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400;\"><i><span style=\"font-weight: 400;\">Social and Economic Networks<\/span><\/i><span style=\"font-weight: 400;\"> by Matthew O. Jackson, Princeton University Press, 2010.<\/span><\/li>\n<li style=\"font-weight: 400;\"><i><span style=\"font-weight: 400;\">Obesity is Contagious<\/span><\/i><span style=\"font-weight: 400;\"> \u2013 The Harvard Gazette (<\/span><a href=\"https:\/\/news.harvard.edu\/gazette\/story\/2007\/07\/obesity-is-contagious\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">https:\/\/news.harvard.edu\/gazette\/story\/2007\/07\/obesity-is-contagious\/<\/span><\/a><span style=\"font-weight: 400;\">)<\/span><\/li>\n<li style=\"font-weight: 400;\"><i><span style=\"font-weight: 400;\">Social Networks<\/span><\/i><span style=\"font-weight: 400;\">: A Course by Prof. Sudarshan S Iyengar, IIT Ropar (<\/span><a href=\"https:\/\/nptel.ac.in\/courses\/106\/106\/106106169\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">https:\/\/nptel.ac.in\/courses\/106\/106\/106106169\/<\/span><\/a><span style=\"font-weight: 400;\">)<\/span><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; Let me clarify at the outset \u2013 I am neither a biologist, nor an epidemiologist or a doctor! I am daring to take up this burning topic to discuss some interesting facts. Having tried my hands with the structure and behaviour of social networks, I am trying to understand the spreading rate of [&hellip;]<\/p>\n","protected":false},"author":192,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1262],"tags":[1453,1454,1455],"form":[1499],"acf":[],"_links":{"self":[{"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/posts\/125696"}],"collection":[{"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/users\/192"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/comments?post=125696"}],"version-history":[{"count":1,"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/posts\/125696\/revisions"}],"predecessor-version":[{"id":260044,"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/posts\/125696\/revisions\/260044"}],"wp:attachment":[{"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/media?parent=125696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/categories?post=125696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/tags?post=125696"},{"taxonomy":"form","embeddable":true,"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/form?post=125696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}