Data analysis: PYTHON crown can predict the number of new viruses get sick it?

Python with a few lines, you can make a linear regression analysis.

Linear regression equation, mathematical statistics regression analysis to determine the quantitative relationship between two or more interdependent variables. In fact, the equation is a middle school math curriculum. This method is known by the data estimation future data, generally not easy to swallow. To know the future there are many variables. But recently, the new crown virus, use this method to predict the number of possible future disease, but also had to wonder this equation, also can learn from.

According to the British case Python analysis of data, we estimated the death toll would double basic every three days. Look at the table and, consequently, the number of new British crown virus died soon thousands of people. We want to take various measures to control this trend as soon as possible.

To learn Python and analysis, please leave a message.

date

death toll

The number doubled every three days forecast

19/03/2020

   144

144

20/03/2020

   177

 

21/03/2020

   233

 

22/03/2020

   281

288

23/03/2020

   335

 

24/03/2020

   422

 

25/03/2020

   463

576

26/03/2020

   578

 

27/03/2020

   759

 

28/03/2020

 1,019

1152

29/03/2020

 1,228

 

30/03/2020

 1,408

 

31/03/2020

 1,789

2304

01/04/2020

 2,352

 

02/04/2020

 2,921

 

03/04/2020

 3,605

4608

04/04/2020

 4,313

 

 

 

 

 

 

9216

 

 

Guess you like

Origin www.cnblogs.com/activiti-practice/p/12635717.html