COVID-19 growth modeling and forecasting in Pakistan provinces with python

栏目: IT技术 · 发布时间: 5年前

内容简介:Logistic Growth is a mathematical function that can be used in many scenarios, including forecasting growth of COVID-19 cases. Logistic Growth is characterized by increasing Growth in the beginning period, but a decreasing growth at a later stage, as you g

Logistic Growth is a mathematical function that can be used in many scenarios, including forecasting growth of COVID-19 cases. Logistic Growth is characterized by increasing Growth in the beginning period, but a decreasing growth at a later stage, as you get closer to a maximum. For example, in the COVID-19 situation, this maximum limit would be the total number of people in the world or country, because when everybody is sick, Growth will diminish.

COVID-19 growth modeling and forecasting in Pakistan provinces with python

Epidemiolocal studies confirm that in the first period of an epidemic follows Exponential Growth and that the total period can be modeled with a Logistic Growth. In other words, at the begging, we observe a large number of cases and high Growth, but when we look at the number of cases after the Logistic epidemic, growth is more accurate to predict the number of cases over time.

We can also identify if the virus in a particular administrative unit (country, province) is still growing exponentially or Growth starts to follow a flat curve. Virus spread can be modeled by logistic function. If an administrative unit is in the second part of the function, this means Growth is going towards the end, if somewhere in the middle — this means fast Growth is still ahead.

1. When the fastest growth day is still ahead = growth increasing (phase 1).

2. When the fastest growth day is in the past = growth stabilized (phase 2).

In the case of Pakistan, we analyze first the data for the entire country and then for provinces separately, a large number of cases is concentrated in specific parts of the country, and the size of the country, and also restrictions in the movement have an impact on the number of cases.

COVID-19 growth modeling and forecasting in Pakistan provinces with python

For Pakistan number of cases is expected to increase, and the country is currently in the growth increase (1) phase. The total number of cases is expected to reread around 9000, and we can expect a peak around begging of May and stabilization in the second half of May 2020.

Now let’s look at major provinces around Pakistan with a substantial number of cases that will enable us to run the forecast.

Punjab province

COVID-19 growth modeling and forecasting in Pakistan provinces with python

In Punjab province, the Growth based on the number of cases is increasing (phase 1) the number of cases is expected to reach 8500, and we can expect that situation will stabilize in the second half of May 2020.

Sindh province

COVID-19 growth modeling and forecasting in Pakistan provinces with python

The situation in Sindh is different than in Punjab number of cases is stabilizing and should reach around 1100 cases. Also, a number of new cases should stabilize and reach a maximum of around the second half of April.

Important to remember that forecast, it is based on today’s actual numbers, with next day data situation can change.

You can find code and data on my Github page https://github.com/PiotrKrosniak/covid19-growth-modeling

References and inspirations:


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

C Primer Plus

C Primer Plus

Stephen Prata、云巅工作室 / 云巅工作室 / 人民邮电出版社 / 2005-2-1 / 60.00元

《C Primer Plus(第5版)(中文版)》共17章。第1、2章学习C语言编程所需的预备知识。第3到15章介绍了C语言的相关知识,包括数据类型、格式化输入输出、运算符、表达式、流程控制语句、函数、数组和指针、字符串操作、内存管理、位操作等等,知识内容都针对C99标准;另外,第10章强化了对指针的讨论,第12章引入了动态内存分配的概念,这些内容更加适合读者的需求。第16章和第17章讨论了C预处......一起来看看 《C Primer Plus》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

html转js在线工具
html转js在线工具

html转js在线工具