key: cord-1009147-mjguyyh5 authors: Paiva, Henrique Mohallem; Afonso, Rubens Junqueira Magalhães; de Oliveira, Igor Luppi; Garcia, Gabriele Fernandes title: A data-driven model to describe and forecast the dynamics of COVID-19 transmission date: 2020-07-31 journal: PLoS One DOI: 10.1371/journal.pone.0236386 sha: e717ad99418f559c66de703dc57e7fb887f09e44 doc_id: 1009147 cord_uid: mjguyyh5 This paper proposes a dynamic model to describe and forecast the dynamics of the coronavirus disease COVID-19 transmission. The model is based on an approach previously used to describe the Middle East Respiratory Syndrome (MERS) epidemic. This methodology is used to describe the COVID-19 dynamics in six countries where the pandemic is widely spread, namely China, Italy, Spain, France, Germany, and the USA. For this purpose, data from the European Centre for Disease Prevention and Control (ECDC) are adopted. It is shown how the model can be used to forecast new infection cases and new deceased and how the uncertainties associated to this prediction can be quantified. This approach has the advantage of being relatively simple, grouping in few mathematical parameters the many conditions which affect the spreading of the disease. On the other hand, it requires previous data from the disease transmission in the country, being better suited for regions where the epidemic is not at a very early stage. With the estimated parameters at hand, one can use the model to predict the evolution of the disease, which in turn enables authorities to plan their actions. Moreover, one key advantage is the straightforward interpretation of these parameters and their influence over the evolution of the disease, which enables altering some of them, so that one can evaluate the effect of public policy, such as social distancing. The results presented for the selected countries confirm the accuracy to perform predictions. The geographic spread of a novel coronavirus (SARS-CoV-2) in Wuhan, China, in December 2019, characterized the emergence of a severe acute respiratory syndrome, afterward named COVID-19 [1] [2] [3] . Studies show that SARS-CoV-2 has a rapidly human-to-human and asymptomatic transmission, mainly by respiratory droplets, which makes it more contagious than Severe Acute Respiratory Syndrome (SARS) and Middle East Respiratory Syndrome (MERS), other well-known coronaviruses diseases, despite the contamination similarity. One key feature of the proposed model is the straightforward connection between the parameters and their influence in the evolution of the disease. Therefore, the physical meaning of the parameters is clear, as opposed to black-box approaches and others that do not include the classes of individuals such as infected, recovered and so on, but rather focus on fitting curves. Therefore, it enables adjusting the parameters separately, each of which reflect realworld policy/behavior changes. For instance, transmissibility by infected individuals is a model parameter, which is affected by policy such as social distancing. This relationship allows one to perform simulations of different scenarios to predict the evolution of the disease under varied degrees of social distancing. This, in turn, is helpful to evaluate which policy is more promising. Moreover, the inclusion of the hospitalized class is another feature not present in the aforementioned models. The remaining sections of this paper are divided as follows. The proposed model is presented in Section 2.1, whereas the basic transmission number is calculated as function of the model parameters in Section 2.2 and the parameter estimation problem is formally defined in Section 2.3. The results are presented in Section 3 and discussed in Section 4. Concluding remarks are given in Section 5. Our proposed model is of the SEIR type and is inspired by the one used in [21] to successfully model the evolution of the Middle Eastern Respiratory Syndrome (MERS) coronavirus dynamic in the outbreak in South Korea in 2015. On the other hand, we introduce one extra class not present in [21] , namely the class of deceased people, which play a relevant role in the evolution of the COVID-19. Therefore, the proposed model divides the population of interest in seven classes, as shown in Table 1 . It is clear that each variable in Table 1 cannot assume negative values, as each represents the amount of individuals in a class. The total population is represented by the symbol N. The introduction of the number of deceased is important in the case of COVID-19 due to two main effects: (i) in formulating policies, it is paramount to be able to predict the amount of deceased persons; (ii) these individuals are removed from the infected population and thus do not contribute to generate new infections. Albeit relevant in absolute terms and in proportion to the number of infected individuals, the deceased are proportionally low as compared to the total population, which justifies the adoption of Assumption 1 in our model. The population is deemed constant, i.e., N is not altered throughout the simulation of the model. Assumption 1 is reasonable, as the time interval for the simulation is short in terms of demographic changes and the amount of deceased people by the disease itself is not large enough to significantly alter the population of a country, as corroborated by the data. Focus is placed on the relevant parameters to obtain a model that represents the main characteristics of the dynamics with minimal additional complexity. Following the development in [21] , Assumption 2 deems zoonotic transmission not relevant for modeling purposes. Assumption 2 Zoonotic transmission is not considered within the proposed model. Indeed, although it is suspected that the origin of the first cases is zoonotic, the evolution of the transmission has, since the first few hundred cases, in China been among humans only. In the other countries studied in the present work there has been no report of zoonotic transmissions. Another relevant difference between our model and the one in [21] is the inclusion of an infection rate dependent on the asymptomatic individuals. It has been noticeable that many asymptomatic individuals transmit the virus SARS-CoV-2, therefore we introduced a term in the generation of new infections that reflects this fact. However, the infection rate of these individuals is not considered the same as that of infected symptomatic nor that of hospitalized ones, as we introduced a different coefficient for this rate in the generation of new infections. Assumption 3 is made because our model parameters are estimated based on real data and the data available do not include the number of asymptomatic individuals that perish from the disease. The reported deceased come from the infected (I) or hospitalized (H) classes. The resulting model under the aforementioned assumptions is given in (1), where we aimed at keeping the notation as close as possible to [21] to simplify comparison. The equations are presented in their general form; nevertheless, in order to represent Assumption 3, the value of δ A is assumed equal to zero. The meaning of the parameters in (1) is given in Table 2 . A block diagram representation depicting the relationship between the variables in the model (1) is shown in Fig 1. The basic reproduction number R 0 is the ratio of new infections from one single infected individual [22] in a totally susceptible population. It has theoretical value to understand how "infectious" a disease is, as larger R 0 indicates more spreading. Introducing the state variable one may rewrite the system of ordinary differential equations (ODEs) (1) as This nonlinear dynamic may have equilibrium points, i.e., points x eq such that f(x eq ) = 0. Particularly interesting is the so-called disease-free equilibrium point in Definition 1. It is easy to verify that (1) has a DFE. ℓ � 0 relative transmissibility of hospitalized patients ℓ a � 0 relative transmissibility of asymptomatic infected κ � 0 rate at which an individual leaves the exposed class by becoming infectious (symptomatic or asymptomatic) ρ � 0 proportion of progression from exposed class E to symptomatic infected class I γ a � 0 rate at which symptomatic individuals are hospitalized Linearization of the model around the DFE is used in [23] to study the relationship between R 0 and stability. It has been demonstrated that if R 0 > 1, then the disease-free equilibrium point is unstable, i.e., an infected individual is enough to remove the system from the neighborhood of the DFE and infection of the population is possible. On the other hand, R 0 < 1 entails local asymptotic stability. The authors argue in [23] that the definition of R 0 in terms of the model is not purely dependent on the model equations only. In fact, one must arbitrarily select which are the "infected" classes (state components of x in our notation). For our analysis we consider the infected states to be x 2 = E, x 3 = I, x 4 = A, and x 5 = H. The equations of interest for the analysis are the ODEs related to these state variables, namely One may now separate the dynamics where F I are the (positive) new infections and V I are the transitions between classes. From (4) one has and V I ðxÞ ¼ : ð5Þ Calculating the Jacobian of F I and V I with respect to x I at � x yields and Assuming for the time being that the parameters are positive (an assumption that will be verified in the results in Section 3), @V I @x I ð� xÞ is non-singular, thus we may calculate the inverse as : ð8Þ The so-called next generation matrix is defined in [23] as @F I @x I ð� xÞ @V I @x I ð� xÞ h i À 1 and R 0 is then determined as the spectral radius of the next generation matrix. From (6) and (8) one obtains The next generation matrix in (9) has only one positive eigenvalue and the remaining three are null. Therefore, the spectral radius of @F I @x I @V I @x I ð� xÞ The parameters are estimated in order to match the total number of cases C and deceased D obtained from the model with the available data for each country, herein termed C real and D real , respectively. The cumulative number of infected individuals C at time t is obtained as follows: where the integrand is the positive part of _ I in (1), which represents the number of new infected symptomatic individuals that enter class I per time unit. As in the case of the MERS spread in South Korea reported in [21] , some parameters of the model are allowed to assume two different values at two different periods, namely β, ℓ a and ℓ, which are related to the rate of contagion of the population. These parameters can be affected by changes in policies by the authorities and reflect the control of the spread of the virus. Therefore, one has β = β(t), ℓ a = ℓ a (t), and ℓ = ℓ(t) defined as: where T the is phase change time given in days and is also estimated. The data C real and D real are given as sequences C real (i) and D real (i) for i ¼ 0; 1; 2; . . . ; � T, where 0 represents the day the number of infected people in the country reached 500 and � T is the number of days of data used in the parameter estimation, which may vary for each country. All the remaining parameters are assumed constant. The estimation is carried out via a constrained optimization problem enunciated as Problem 1 subject to In (15) the inequality in considered element-wise. The result p � is the vector of optimal parameter values, i.e., values that minimize (13) while satisfying the constraints (14) and (15) . This optimization problem is solved using a Sequential Quadratic Program algorithm [24] , adopting as starting point the parameters used in [21] to describe the MERS epidemic. The COVID-19 data used in this paper, with the number of infected and deceased people in each country, were downloaded from the website of the European Centre for Disease Prevention and Control (ECDC) [25] on June 19th, 2020. The resulting parameters from the estimation are shown in Table 3 , where the numbers in subscript "1" and "2" indicate whether the parameter refers to the first or second period, respectively. The basic reproduction number was also calculated for both periods and is depicted separately in Table 3 , since it is not a model parameter. The data of number of cumulative infected individuals and deceased per day as well as the model output for these variables are shown in Figs 2, 3, 4, 5, 6 and 7, for China, Italy, Spain, France, Germany, and the USA, respectively. In these figures, data from the last 21 days are used as testing data, in order to allow a comparison between the model predictions and the real outcome of the disease. In these cases, the black continuous lines represent the predictions with the nominal parameters from Table 3 and the dashed lines are variations when selected parameters are changed by ±30%. In Figs 2 to 7, it can be seen that there is a good match between the model output and the observed data. Furthermore, the model presents accurate forecasts of the disease progression. There are some variations between the nominal prediction and the observed data, but within the established tolerances. The uncertainty in the prediction increases as more time has passed since the date when the model was calibrated; these uncertainties are reduced if the model parameters are updated periodically. Although an overall good match was obtained for China (Fig 2) , a mismatch can be seen on the four days before 12-feb. This difference is ascribed to the fact that the country changed the notification methodology on 12-feb [26] , reporting more than 15000 cases on a single day, which caused a discontinuity in the cumulative cases on this date. The model cannot reproduce such discontinuity, for it was not designed to consider changes in the nature of observed data. In general, the parameters reported in Table 3 are consistent (in terms of magnitude order) with the ones described previously in [21] for the MERS outbreak in South Korea. It is important to remark that the values of the parameters are expected to be different among the various countries, as the contagion, hospitalization and death rates are affected by social habits, demographic conditions, governmental action, quality and coverage of the health systems, etc. The value of R 0 is of particular interest. It is expected that R 0 > 1 in the first phase during the spread and R 0 < 1 after the authorities take measures to control the spread. A reduction in ℓ a combined with a reduction in β shows where the focus to reduce contagion is most effective: reducing social contact at all cost so that both symptomatic but also importantly asymptomatic individuals stop transmitting the virus. The estimated parameters are specially trustworthy for countries that already reached the asymptotic behavior of the curves. For countries where the epidemic is still ongoing, it is expected that the parameter estimates are more sensitive to new data. According to our estimations, five countries have reached a second phase with R 0 < 1, meaning that the epidemic is under control and converging to an equilibrium. On the other hand, the USA have also reached a second stage with a lower R 0 , but still higher than 1, indicating that the number of infections is decelerating but is not under control yet. A δ I value higher than δ H was to be expected, indicating a lower rate of mortality in hospitalized patients. However, that was observed only in the USA. In the other countries in this study, the value of δ H is higher or very similar to the value of δ I . In these cases, this behavior might be justified by the most critical cases being treated in the hospitals, therefore being associated to a higher mortality rate. It is interesting to remark that the predictions of the number of deceased in Germany in Fig 6 and the USA in Fig 7 presented a larger mismatch both as compared to the other countries as well as compared to the number of cases within Germany and the USA themselves. Just as social distancing, more careful hygiene and other such measures can reduce the transmissibility, it might be expected that the development of protocols for treatments using the knowledge developed by medical experts might reduce the death ratios beyond model predictions. In this case, the parameters related to the deceases might demand another phase for estimation. The relatively high values of ℓ and ℓ a indicate that the contagion rate is higher with hospitalized patients and asymptomatic individuals. The higher transmissibility in the hospitals was to be expected, whereas the higher contagion rate of asymptomatic individuals may be ascribed to them not taking the same precautions as symptomatic people to avoid spreading the disease. The value of β should not be analyzed alone, for it provides a better insight when combined with the values of ℓ and ℓ a . In all countries, it can be seen that β indeed decreased in the second phase. However, for some cases ℓ a remained constant. One conjecture for such results lies in the lack of data for estimating the parameters: the used database from ECDC does not include asymptomatic individuals. In some countries where testing on a larger scale took place, one could try to use such data to more accurately estimate the parameters associated with the asymptomatic class. However, this data is bound to be less trustworthy that those for infected symptomatic individuals and deceased, for which the data are collected daily and one can say that the reports are very close to the reality. On the other hand, the asymptomatic will remain an estimate as long as a representative part of the population is not tested. Moreover, this would have to be repeated at regular intervals. Such repeated large scale testing is impractical in reality, therefore the lack of data covering asymptomatic infected individuals with the same regularity and within tight confidence intervals as those for symptomatic and deceased. Reducing the values of the parameters β, ℓ a , and ℓ are the focus of the authorities in controlling the spread, therefore allowing them to change throughout the estimation is a means to address changes promoted by governmental action. This is a point where the proposed model and estimation are useful for prediction. The model enables not only prediction with the current estimates of the parameters, but also simulations with changes in these parameters. This permits decision makers to assess the impact of changes in terms of the rate of social contact avoidance that is necessary to enforce in a country as means to control the spread. Lately, many ways to measure the social contact reduction have been employed, such as using data from movements of cell phones. This paper proposed a SEIR model to describe the COVID-19 epidemics. Its parameters were estimated with a numerical optimization algorithm, based on data from the European Centre for Disease Prevention and Control. An analysis was presented for the six countries where the pandemic is widely spread: China, Italy, Spain, France, Germany, and the USA. A good match between theoretical and observed data was achieved and a forecast was presented. Since the model is data-driven, one drawback is that it cannot be used for countries where the epidemic is at a very early stage. Nevertheless, in the lack of local data, the pandemic behavior can still be estimated using parameters from another country. However, in this case, the uncertainty in the estimations would be higher. It should be pointed out that forecasting the future is always imprecise, and that predictions are better for the near future. The outcome of the epidemic might be significantly altered by changes in governmental policy, such as enforcing or releasing measures to reduce social contact, or by other factors such as overload of the health care systems. Therefore, the model parameters should be updated as soon as new data become available. Although this paper presented a three-week ahead forecast, the authors recommend to update such parameters at least on a weekly basis. Reducing the basic reproduction number R 0 below one is known to represent that the spread is under control. Our developed formula for R 0 shows a strong influence on the human-to-human transmission rate β, followed by the relative transmissibility of hospitalized patients ℓ and of the asymptomatic infected ℓ a . By evaluating the estimated values authorities can grasp which actions are more likely to yield more meaningful results. For example, considering that for a country the value of β has stalled, whereas ℓ a is still relatively high, measures to reduce the social contact of asymptomatic individuals appear as promising alternatives, instead of simply isolating the symptomatic individuals. The forecasts are useful for planning purposes. For instance, when authorities must decide whether to invest in augmenting the capacity of hospitals in the coming weeks, it is of paramount importance to have a precise forecast of the number of hospitalized individuals. Besides enabling that, our proposed model involves parameters that have straightforward meaning related to the spread of the disease. Therefore, not only a nominal case can be considered, but the parameters may be varied within reasonable bounds under the scrutiny of specialists to yield worst and best case predictions, enhancing the awareness level of authorities in the process of decision making. Future work includes defining a fixed target date and value for the maximal number of cumulative infected individuals and then optimize the parameters β, ℓ a , and ℓ so as to determine whether authorities should aim at more or less stringent social contact control measures, for instance. Another opportunity for future enhancement would be to allow for variations in δ H to model the overload of the hospitals. This, however, requires available data of the number of hospitalized individuals and available infrastructure. Severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) and coronavirus disease-2019 (COVID-19): The epidemic and the challenges Incubation Period and Other Epidemiological Characteristics of 2019 Novel Coronavirus Infections with Right Truncation: A Statistical Analysis of Publicly Available Case Data Transmission potential and severity of COVID-19 in South Korea Data-based analysis, modelling and forecasting of the COVID-19 outbreak Clinical Characteristics of 138 Hospitalized Patients with 2019 Novel Coronavirus-Infected Pneumonia in Pathological findings of COVID-19 associated with acute respiratory distress syndrome. The Lancet Respiratory Medicine Clinical characteristics of coronavirus disease 2019 in China World Health Organization Three Emerging Coronaviruses in Two Decades: The Story of SARS, MERS, and Now COVID-19 Coronavirus covid-19 has killed more people than SARS and MERS combined, despite lower case fatality rate Healthcare impact of COVID-19 epidemic in India: A stochastic mathematical model Modeling and control of the hepatitis B virus spreading using an epidemic model Analysis and forecast of COVID-19 spreading in China Transmission dynamics of the COVID-19 outbreak and effectiveness of government interventions: A data-driven analysis A conceptual model for the coronavirus disease 2019 (COVID-19) outbreak in Wuhan, China with individual reaction and governmental action. International Journal of Infectious Diseases Epidemic analysis of COVID-19 in China by dynamical modeling. arXiv. 2020; 1-18 A geometric analysis of the SIR, SIRS and SIRWS epidemiological models. arXiv. 2020; 1-29 Forecasting the novel coronavirus COVID-19 First two months of the 2019 Coronavirus Disease (COVID-19) epidemic in China: realtime surveillance and evaluation with a second derivative model Modeling the epidemic dynamics and control of COVID-19 outbreak in China The characteristics of Middle Eastern respiratory syndrome coronavirus transmission dynamics in South Korea. Osong public health and research perspectives On the definition and the computation of the basic reproduction ratio R 0 in models for infectious diseases in heterogeneous populations Reproduction numbers and sub-threshold endemic equilibria for compartmental models of disease transmission Sequential quadratic programming methods. Society for Industrial and Applied Mathematics European Centre for Disease Prevention and Control (ECDC) 152 new coronavirus cases, 254 additional deaths The authors acknowledge the European Centre for Disease Prevention and Control (ECDC) for making the COVID-19 data publicly available and for allowing its use for research purposes. Conceptualization: Henrique Mohallem Paiva, Rubens Junqueira Magalhães Afonso.