key: cord-0838770-8ahil0wm authors: Nardelli, V.; Arbia, G.; Palladino, A.; Atzeni, L. G. title: Modelling COVID-19 evolution in Italy with an augmented SIRD model using open data date: 2021-04-20 journal: nan DOI: 10.1101/2021.04.14.21255500 sha: f014d8fce6d7682d81b06883811eaa8fb647412b doc_id: 838770 cord_uid: 8ahil0wm We propose an augmented version of the traditional SIRD epidemic model and we estimate its parameters using the SaRs-Cov-2 Italian open-data. The model parameters are estimated partly using numerical optimization and partly with ABC. Our estimation procedure provides a good fit to real data. The recent SARS-COV-2 epidemic is the first global pandemic in the big data era. Differently from other past epidemics, it developed even in technologically advanced countries and put the most innovative health systems in crisis. Moreover, this event brought to light different problems related to the quality of data and the related decision-making. Indeed, the public sector in most countries was not ready to collect, validate and distribute open data (Hua and Shaw, 2020) and the lack of statistical knowledge in the citizens and in most of the media led to the inability to clearly distinguish between "data" and "information" (Arbia and Nardelli, 2020) (Zarocostas, 2020) . A large number of researchers during the Covid pandemic have unsuccessfully required the access to anonymous individual data. Many active research groups, (among which e. g. Covstat (2020)) developed models to predict the trend of the epidemic using all available open data, trying to mitigate the problems due to the poor data quality and to implement and estimate the model's parameters together with its uncertainty. In the next section we will present our proposal. Historically, one of the first model used to predict the spread of the pandemic was the SIR model (Kermack and McKendrick, 1991 ) based on a system of ordinary differential equations that models 3 categories of population (Susceptible, Infected, Recovered). In any given moment of time t, I(t) and S(t) indicate respectively the number of infected people and the number of vulnerable people, while R(t) (removed) represents the total of those who develop immunity (recovered) or died. Obviously in any moment of time we have: t, S(t) + I(t) + R(t) = N with N the total population. The SIR model describes the variation of S(t), I(t), and R(t) and the transitions from one category to the other. The original model specification does not consider population mobility in response to possible lockdown measures nor the impact of the asymptomatic. In this paper we propose an adaptation of Khailaie et al. (2020) model which can be applied to model the spread of the epidemic in Italy using the available open-data diffused from Protezione Civile (Palladino et al., 2020) . Our model is based on 6 categories, namely: Susceptible (people that can still be affected by the virus): Infected (people that are currently infected); Hospitalized (people that need a medical treatment in hospital);ICU (people with severe symptoms that need to go to Intensive Care);Recovered (people that recovered from the illness) and Deaths. We will refer to this model with the acronym "SIHCRD". whose schematic representation is reported in Fig.1 . The model is characterized by six non-linear ordinary differential equations: . CC-BY 4.0 International license It is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. The copyright holder for this preprint this version posted April 20, 2021. ; https://doi.org/10.1101/2021.04.14.21255500 doi: medRxiv preprint where β (t) = β 0 · e −t/τ . The model is characterized by 8 free parameters. From the previous equations, we have S + I + H +C + D + R = constant. In what follows we • β is related to the spread of the infection. Larger values of β corresponds to a fast spread of the epidemic; • γ is related to the (inverse of) time necessary to move from the category "infected"to the category "recovered", without passing through hospital; • k 1 is the product between the fraction of infected people that need to go to hospital (roughly 5% in the Italian experience) times the inverse of the average time required to move from "infected"to "hospitalized"; • k 2 denotes the product between the fraction of hospitalized people that need to go to intensive care units (roughly 10% in Italy) times the inverse of the average time required to move from "hospitalized"to "intensive care units"; • k 3 denotes the product between the fraction of patients that die times the average time that they stay in ICU (Intensive Care Unit) before the death; • k 4 denotes the product between the fraction of people that do not go to ICUs (roughly 90%) times the inverse of the average time required to recover; • k 5 denotes the product between the fraction of people the do not die in ICUs (roughly 70% during the second pandemic wave in Italy) times the average time required to recover; • the parameter τ denotes the timescale of the decreasing of the parameter β When k 1 = 0 we go back to the original SIR model. The model contains some working hypotheses. The first is that people die only in ICUs. The second is that once a patients is recovered is removed from the susceptible, it it cannot be infected again . CC-BY 4.0 International license It is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. The copyright holder for this preprint this version posted April 20, 2021. ; https://doi.org/10.1101/2021.04.14.21255500 doi: medRxiv preprint (Wajnberg et al., 2020) . As in the original SIR model the basic reproduction number, usually called R 0 , can be obtained combining some of the previous parameters as follows: The evolution of R 0 through time, usually indicated as R t , is instead given by: The basic reproduction number gives important indications about the behavior of the epidemic. Indeed, when R t > 1 the epidemic is expanding, when R t = 1 the epidemic has reached the maximum, while for R t < 1 the epidemic is in the decreasing phase. In our study we fitted model (1) to the real Italian data during the second wave of the epidemic in the period October 1st and November 15th 2020. For the initial number of infected people we assumed the 6 million, estimated by Bassi et al. (2020) . All the others variables in Equation (1) are initialized according to the data available for the previous day. In the loss function, we assign the same weights of the errors (absolute percentage error) to hospitalized (H), patients in ICU (C) and deaths (D), while we don't use the number of infected people. This procedure allows us to make a more reliable estimate given the large uncertainties in evaluating the number of positive individuals and the irregularities in the transmission of data and in the testing procedures. A mixed approach was used to estimate the model parameters. For the parameters involving the transition between the categories of infected, the model was fitted through numerical optimization starting from the estimates published by the Istituto Superiore di Sanità (ISS) 1 and other studies such as Richardson et al. (2020) and Grasselli et al. (2020) . In particular, we used the optimizer algorithm Nelder-Mead (Gao and Han, 2012) implemented in SciPy (Virtanen et al., 2020) to tune 6 parameters of the model. In Table 1 , we report the result of this optimization. The remaining parameters (β and τ) were estimated through the Approximate Bayesian Computation -Sequential Monte Carlo (ABCSMC) (Toni and Stumpf, 2010) which allows to evaluate the uncertainty of the parameters considering the SIHCRD model as a black-box, starting from non-informative prior. In particular, the prior distribution was assumed to be Uniform between 0 and 1 for the β parameter and uniform varies between 0 and 600 for the τ parameter. Fig. 2 , shows the credible intervals of the estimations using PyABC (Klinger et al., 2018) with a population size of 400 and the stopping rule with minimum error set to 1.5%.In Table 2 , we report the estimation of the parameters from the posterior distribution. 1 https://www.epicentro.iss.it/coronavirus/sars-cov-2-decessi-italia . CC-BY 4.0 International license It is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. The copyright holder for this preprint this version posted April 20, 2021. ; https://doi.org/10.1101 https://doi.org/10. /2021 . CC-BY 4.0 International license It is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. The copyright holder for this preprint this version posted April 20, 2021. ; https://doi.org/10.1101/2021.04.14.21255500 doi: medRxiv preprint Details about the proposed model are published online 2 where the results are constantly updated. During the second wave, the average error of the fit never exceeded 10% despite the great irregularity in the official data. The results are in agreement with other models published during the second wave. The parameters' estimation with ABCSMC allows to model the uncertainty. An example of the fit of the hospitalized curve (H) iss reported in Figure 3 . In this paper we propose a mixed strategy to estimate the parameters of an augmented SIRD model combining numerical optimization and ABC procedures. In this way we can calculate credible intervals for the crucial epidemic parameters thus helping their interpretation and their use in the monitoring and surveillance of the pandemic diffusion. 2 https://dashboard.covstat.it/ . CC-BY 4.0 International license It is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review) The copyright holder for this preprint this version posted April 20, 2021. ; https://doi.org/10.1101/2021.04.14.21255500 doi: medRxiv preprint I dati non parlano da soli: l'epoca del Coronavirus smaschera l'inganno dell'algoritmo-onnipotente e rivaluta il metodo statistico Observed and estimated prevalence of covid-19 in italy: How to estimate the total cases from medical swabs data. Science of The Total Environment Implementing the nelder-mead simplex algorithm with adaptive parameters Baseline characteristics and outcomes of 1591 patients infected with sars-cov-2 admitted to icus of the lombardy region, italy Corona virus (covid-19)"infodemic" and emerging issues through a data lens: The case of china Contributions to the mathematical theory of epidemics-I Development of the reproduction number from coronavirus sars-cov-2 case data in germany and implications for political measures pyabc: distributed, likelihood-free inference Modelling the spread of covid19 in italy using a revised version of the sir model Presenting characteristics, comorbidities, and outcomes among 5700 patients hospitalized with covid-19 in the new york city area Simulation-based model selection for dynamical systems in systems and population biology Algorithms for Scientific Computing in Python Robust neutralizing antibodies to sars-cov-2 infection persist for months How to fight an infodemic