[PYTHON] [Introduction to SIR model] Consider the fitting result of Diamond Princess ♬

The data I was interested in was the data from the Diamond Princess issue. I wondered if there was any beautiful data left, but I was disappointed. However, I can do it for the time being, so I tried fitting it. The method is the same as the previous [Introduction to SIR model] COVID-19 data fitting ♬.

Diamond Princess data

As shown below, the cure rate has exceeded 80% and is ending. The mortality rate is about 1.4%, so I think it's a proud number compared to the current situation in each country in the world. fig_Diamond Princess_.png

Fitting result

So, I immediately tried fitting with the previous SIR model. The result is as follows. N = 5 * N0, that is, 5 times that of infected people. Actually, I think that there were about 3,700 crew members, but since the additional target people such as medical staff are unknown, I roughly estimated it and increased it by five times. SIR_Diamond Princessf1_1f2_0;b_1.04e-04g_1.49e-01r0_2.52N_3610S0_3610I0_1R0_0.png Again, the healer curve is discarded. If you try to match at the same time, you will not be able to fit at all.

The obtained parameters are as follows. Compared to the values of each country, it is a large value.

{\begin{align}
\beta &= 1.04e^{-4}\\
\gamma &= 1.49e^{-1}\\
N &= 3610\\
R0 &= 2.52\\
R(27.3.2020) &= 0.29\\
\end{align} 
}

Evaluation of results

In other words, it can be seen that infection and healing (actually quarantine) progressed quickly. That's right! In the SIR model, if infected, the infected person will not be infected once the infected person is quarantined, and in this case it is removed. Therefore, again, the healer interpreted that the removed people would heal by another route and would recover independently of this equation. Considering this, the case of Diamond Princess is special, but I think it can be evaluated that good measures have been taken.

Summary

・ Displayed the data of Diamond Princess ・ Fitting of the number of infections was carried out using the SIR model. ・ Discussed the effect of quarantine

・ Evaluate the results of each country based on this discussion

Recommended Posts

[Introduction to SIR model] Consider the fitting result of Diamond Princess ♬
[Introduction to SEIR model] Try fitting COVID-19 data ♬
From the introduction of pyethapp to the execution of contract
Introduction of mathematical prediction model for infectious diseases (SIR model)
How to visualize the decision tree model of scikit-learn
[Introduction to Python] Basic usage of the library matplotlib
I tried to predict the infection of new pneumonia using the SIR model: ☓ Wuhan edition ○ Hubei edition
Try to evaluate the performance of machine learning / regression model
[Introduction to cx_Oracle] (Part 4) Fetch and scroll of result set
Implement the mathematical model "SIR model" of infectious diseases with OpenModelica
An introduction to object orientation-let's change the internal state of an object
Try to evaluate the performance of machine learning / classification model
Introduction to Statistics The University of Tokyo Press Chapter 2 Exercises
[Introduction to infectious disease model] I tried fitting and playing ♬
Scraping the result of "Schedule-kun"
[Introduction to cx_Oracle] Overview of cx_Oracle
Fitting to ARMA, ARIMA model
I want to manually assign the training parameters of the [Pytorch] model
[Python] PCA scratch in the example of "Introduction to multivariate analysis"
[Introduction to Python] I compared the naming conventions of C # and Python.
[Introduction to StyleGAN] I played with "The Life of a Man" ♬
Consider the speed of processing to shift the image buffer with numpy.ndarray
Try to model the cumulative return of rollovers in futures trading
How to output the output result of the Linux man command to a file
When you want to save the result of the callback function somewhere
[Introduction to infectious disease model] All parts of Japan are ending ... ♬
From the introduction of JUMAN ++ to morphological analysis of Japanese with Python
Python-Simulation of the Epidemic Model (Kermack-McKendrick Model)
Process the result of% time,% timeit
Supplement to the explanation of vscode
Various methods to numerically create the inverse function of a certain function Introduction
[Introduction to Python] How to sort the contents of a list efficiently with list sort
[Image recognition] How to read the result of automatic annotation with VoTT
I want to batch convert the result of "string" .split () in Python
[NNabla] How to add a quantization layer to the middle layer of a trained model
Write the result of keyword search with ebaysdk to Google Spread Sheets
[Introduction to Python] Thorough explanation of the character string type used in Python!
[Introduction to Python] What is the method of repeating with the continue statement?
I tried to verify the result of A / B test by chi-square test
I tried to predict the behavior of the new coronavirus with the SEIR model.