key: cord-0521951-13qt4eoy authors: Alberti, Tommaso; Faranda, Davide title: On the uncertainty of real-time predictions of epidemic growths: a COVID-19 case study for China and Italy date: 2020-04-20 journal: nan DOI: nan sha: 3fe441d86522a1868f681e618f6fddcb19329712 doc_id: 521951 cord_uid: 13qt4eoy While COVID-19 is rapidly propagating around the globe, the need for providing real-time forecasts of the epidemics pushes fits of dynamical and statistical models to available data beyond their capabilities. Here we focus on statistical predictions of COVID-19 infections performed by fitting asymptotic distributions to actual data. By taking as a case-study the epidemic evolution of total COVID-19 infections in Chinese provinces and Italian regions, we find that predictions are characterized by large uncertainties at the early stages of the epidemic growth. Those uncertainties significantly reduce after the epidemics peak is reached. Differences in the uncertainty of the forecasts at a regional level can be used to highlight the delay in the spread of the virus. Our results warn that long term extrapolation of epidemics counts must be handled with extreme care as they crucially depend not only on the quality of data, but also on the stage of the epidemics, due to the intrinsically non-linear nature of the underlying dynamics. These results suggest that real-time epidemiological projections should include wide uncertainty ranges and urge for the needs of compiling high-quality datasets of infections counts, including asymptomatic patients. The COVID-19, a disease caused by the SARS-CoV-2 virus, was firstly reported in the Hubei province on 31 December 2019 when the WHO China Country Office was informed of cases of pneumonia unknown etiology detected in Wuhan City [1, 2, 3] . On 7 January 2020 the Chinese authorities identified this virus as a zoonotic virus belonging to the family of coronavirus [4, 5, 6] . Its diffusion rapidly spread over all Chinese provinces and nearest countries (Thailand, Japan, Korea) [7] . On 23 January, although still unknown the initial source of the epidemic, the evidence that 2019-nCoV spreads from human-to-human and also across generations of cases quickly increases [8, 9] . On 30 January, the World Health Organization (WHO) declared the outbreak to be a public health emergency of international concern [10] , believing that it is still possible to interrupt the virus spread by putting in place strong measures for early detecting, isolating, and treating cases, for tracing back all contacts, and for promoting social distancing measures [10, 11, 12] . The main driver of transmission is still an open question [13, 14] , and preliminary estimates of the median incubation period are 5-6 days (ranging between 2 and 14 days) [15] . On 21 February a cluster of cases was detected in Italy (Lombardia), then on 23 February 11 municipalities in northern Italy were identified as the two main Italian clusters and placed under quarantine [16] , on 9 March the quarantine has been expanded to all of Italy [17] , on 11 March all commercial activity except for supermarkets and pharmacies were prohibited [18] , and on 22 March all non-essential businesses and industries were closed [19] and additional restrictions to movement of people were introduced [20, 21] . Meanwhile, the quarantined Chinese regions observed a fast decrease in the number of cases in Hubei and a moderate decrease in other affected regions, at the same time the virus internationally spread, and on 11 March the WHO declared COVID-19 a pandemic [22, 23] . To date, there are more than 1 million confirmed cases over the globe, more than 60000 deaths, and the most affected areas are the European region and the United States. While three months were needed to reach the first 100000 confirmed cases, only 23 days were sufficient to multiply by eight the counts, a typical signature of the exponential spreading of viruses. The reason for such high infectivity are currently being explored in clinical studies and numerical simulations [24] . Due to the fast spread of the virus and the severity of symptoms, restrictive confinement measures have been imposed in many countries. They were based on asymptotic extrapolation of infection counts obtained on the basis of compartmental epidemic models as the Susceptible-Exposed-Infected-Recovered (SEIR) model and their variants [25] or on agent-based models [26] . Unfortunately, predictions made using these models are extremely sensitive to the underlying parameters and the quality of their extrapolation is deeply affected from both the lack of high-quality datasets as well as from the intrinsic sensitivity of the dynamics to initial conditions in the growing phase [27] . Moreover, in order to provide reliable estimates of asymptotic infection counts, a knowledge of asymptomatic populations is needed. These data are currently almost unavailable and affected by great uncertainties. Another possibility is to extrapolate the number of infections by means of fitting asymptotic distributions to actual data. Using these phenomenological statistical approach, we compare the behavior of epidemic evolution across China and Italy. The assumption beyond those fits is that typical curves of total infections in SEIR models display a sigmoid shape [28] . Sigmoid functions such as the logistic or Gompertz can therefore be used to fit actual data. When data are collected with the same protocols, e.g., in China and Italy, where tests are performed only to symptomatic patients, the statistical fitting can therefore provide an extrapolation of how many symptomatic cases should be recorded, although it will not inform about the real percentage of infected population [29] . We found that predictions are characterized by large uncertainties at the early stages of the epidemic growth, significantly reducing when a mature stage or a peak of infections are reached. This is observed both in China and in Italy, although some differences are observed across the Italian territory, possibly related with the time delayed diffusion of epidemic into the different Italian regions. Finally, we also estimate infection increments for each Italian region, with being the uncertainty significantly reduced for Northern and Central regions, while a larger one is found for Southern regions. These results can be helpful for each epidemic diffusion, thus highlighting that the confinement measures are fundamental and more effective in the early stages of the epidemic evolution (the first 7 days), thus producing a different spread across provinces/regions as these measures are considered. Data for the Chinese provinces are obtained from the data repository for the 2019 Novel Coronavirus Visual Dashboard operated by the Johns Hop-kins University Center for Systems Science and Engineering (JHU CSSE), freely available at https://github.com/CSSEGISandData/COVID-19. Data for the Italian regions are instead derived from the repository freely available at https://github.com/pcm-dpc/COVID-19 where data are collected from the Italian Protezione Civile from 24 February 2020. Data used here were last downloaded on 02 April, thus covering the period 24 February -02 April, as shown in Fig. 2 . It is evident that although the increments of infections started about 1 month after the Chinese epidemic Italy has fast reached and exceeded the Chinese peak values of ∼80000 infections. Moreover, it is also apparent that epidemic diffusion in China reached its peak within ∼20 days from the first restriction operated to the Hubei region on 23 January. Conversely, the Italian restrictions seem to become more efficient only when the Italian government adopted a lock-down confinement on 9 March [17] . A data-driven way to extrapolate future phases of an epidemic growth [30, 31, 32] is to use a generalized logistic distribution for fitting the total cumulative number of infections as [33, 34, 35] being α, β, and γ the parameters of the model. They can be fitted, e.g., using Nonlinear least-squares solver, with the Levenberg-Marquardt algorithm and the bisquare weight methods to minimize a weighted sum of squares. Here we use a MATLAB function to perform the fits. As recently pointed out in [27] in the early stages of the epidemics, the smoothness of COVID-19 cumulative infections data could lead to very uncertain predictions although with very good R 2 . To avoid this, here we focus only on Chinese and Italian data, that, to date, represent a mature stage of the epidemics. This implies, as we will show, that the significance of the logistic fit can be assigned with greater confidence [27] . We remark however, that when confinement measures are applied, the basic reproduction number R 0 , which regulates the growth of infections, is reduced [36] . We are therefore in presence not of a single logistic distribution, but of a mixture of distributions with control parameters changing in time as different phases of epidemic diffusion are reached. Confinement measures can reduce R 0 from the exponential-like behavior of an uncontrolled growing phase, to a smoother logistic growth phase. Our goal here is to use the a-priori knowledge of the introduction of confinement measurements to investigate the perfomrance of statistical prediction of infection counts for different epidemic phases. Thus, we perform logistic fits as in Eq. (1) in the following time intervals: • the first 30 days of epidemic growth, as reported in Figs. 3-4 by black lines, thus to consider how restrictions measure globally affect the diffusion; • the first 7 days, roughly corresponding to the time interval during which first restriction measures are adopted both in China and Italy, although not still completely efficient (red lines in Figs In this way we can investigate both the efficiency of restriction measures in containing epidemic growth as well as the stability of prediction models based on logistic distribution fitting procedures. Moreover, to assess the significance of fits we assume that the last point of the fitting range could be affected by a ±30% error. This allows us to provide a simple way to estimate confidence intervals for our fits [27] . Finally, the Kolmogorov-Smirnov (K-S) test [37, 38, 39] is also used to obtain a test decision for the null hypothesis that the observed data are from the same logistic distribution as derived from the logistic fits under the different time intervals. This allows to test the efficiency in delivering reliable forecasts at different stages of the epidemic growth. The test is based on evaluating the maximum distance between the empirical distribution functions coming from two different samples x 1,n and x 2,m , being n and m the length of samples. By defining the Kolmogorov-Smirnov statistic as where F 1,n (x) and F 2,m (x) are the empirical distribution functions of the two samples, respectively, the null hypothesis is rejected at the confidence level α if When m = n a general relation can be found for D n (α) as The value of c(α) for the most common levels of α are reported in Table 1 . Table 1 : The value of c(α) for the most common levels of α. The closer the observed statistics D n,obs is to 0 the more likely it is that the two samples were drawn from the same distribution with being D n,obs < D n (α). The use of the K-S test has two main advantages: i) the distribution of the K-S test statistic itself does not depend on the underlying cumulative distribution function being tested, and ii) it is an exact test [40, 41, 42, 43] . Moreover, it is specifically designed for testing if data come from a normal, a log-normal, a Weibull, an exponential, or a logistic distribution [41, 44] . Thus, it is particularly suitable for our investigations, being also a nonparametric and robust technique since it is not based on strong distributional assumptions [41, 44, 45, 43] . Fig. 3 shows logistic fits for different phases of epidemic across Chinese provinces, together with upper and lower confidence bounds, obtained as outlined in the previous section. Early stage of epidemic propagation is characterized by a larger confidence interval (red lines in Fig. 3) , thus highlighting the difficulty in making early reliable predictions of epidemic growth, with an exponential-like behavior. The confidence interval becomes narrower as the growth rate reduces, as for the case of the provinces of Bejing and Yunnan being less affected from COVID-19 infections with respect to the Hubei, the latter mostly contributing to the overall epidemic growth in China. The logistic fit becomes more stable, being characterized by a narrower estimates of confidence intervals, when the first two weeks are considered (blue lines in Fig. 3) , possibly related to the initial efficiency of restriction measures. This could be also due to both the limited number of points of the fitting range as well as to the particular phase of the epidemic growth. However, by comparing the confidence intervals of logistic fits performed using the first week (22/01 -29/01, red lines in Fig. 3 ) and the second week (30/01 -05/02, green lines in Fig. 3 ) it is possible to note that the stability increases for this second interval for all Chinese provinces, thus suggesting that estimates are significantly dependent on the particular epidemic phase considered. Indeed, the stability significantly increases when the logistic fit is performed on time intervals that do not include the first week of the epidemic growth (green and magenta lines in Fig. 3) , suggesting that credible predictions could be assigned with a large confidence by means of a logistic fit if the beginning of the outbreak is not considered. However, the narrowest estimates of significance levels is obtained when the first 30 days are considered, thus also including the beginning of the outbreak, possibly suggesting that fits become more and more stable if data are collected at a mature stage of the epidemic growth. This is clearly visible for all Chinese provinces, apart for the slight discrepancy observed for the Bejing province where some returned cases from outside China were observed from 20 March. Finally, we assess the statistical discrepancy of the logistic fits from the observed data by performing the Kolmogorov-Smirnov (K-S) test those results for the 95% confidence level are reported in Table 2 . It can be noted that the statistical results obtained through the K-S test suggest that the fits performed by considering the time intervals from 22 January to 21 February as well as from 05 February to 21 February are sta- Table 2 : Results of the Kolmogorov-Smirnov test for the 95% confidence level for the Chinese provinces. The decision to reject the null hypothesis is based on comparing the observed statistics D n,obs with the theoretical value D n,th = 0.2329 obtained for the significance level α = 0.05 as in Eq. 4. If D n,obs < D n,th then the samples come from the same logistic distribution and corresponding values are reported in bold. tistically significant for reproducing the behavior of the observed number of infections at the 95% significance level. This seems to support the that reliable predictions can be assessed only when a mature stage of the epidemic growth is approached/reached, while low-significant predictions can be released at the early stages of the epidemic diffusion. Fig. 4 shows logistic fits for different phases of epidemic across Italian regions, together with the upper and lower confidence lines. As for Chinese provinces the early stage of epidemic diffusion is characterized by a larger confidence interval (red lines in Fig. 4) , again suggesting that reliable predictions of epidemic growth are particularly difficult in its early stages. Indeed, an exponential-like behavior is found for both the Italian territory and Lombardia, the latter being the first Italian region characterized by COVID-19 infections. As for China, confidence intervals become narrower as the growth rate reduces (see for example Marche or Puglia with respect to Lombardia), with the logistic fits also becoming more stable when the initial stages of the outbreak are removed (green and magenta lines in Fig. 4) . Unlike for Chinese regions, Italian regions present a wide range of different epidemic behaviors, that we investigate separately in the following. As discussed above the initial phase is characterized by larger uncertainties and by an exponential-like behavior (red lines in Fig. 4 ), thus suggesting a clear difficulty in making predictions of the growth in its early stage. When the first two weeks (e.g., 24/02 -08/03) are considered (blue lines in Fig. 4 ) a larger uncertainty is found, especially for the upper-bound confidence level. This underline the difficulty in making reliable estimates of its evolution. Similarly, the logistic fits performed between 01 March and 08 March (green lines in Fig. 4) suggest that the first two weeks were particularly critical in Lombardia, while logistic fits become more stable when removing the beginning of the outbreak, leading to more reliable estimates of the epidemic growth (magenta lines in Fig. 4) . Finally, significance levels become narrower when the first 30 days are considered (e.g., 24/02 -23/03), thus also including the beginning of the outbreak, possibly again suggesting that including data from the mature stage of the epidemic growth could allow to obtain more stable fits. We remark that, no matter the approach followed, logistic fits struggle to predict the number of infections of the successive days. This failure of statistical real-time forecasts of the epidemics could be related to all those factors that can change the instantaneous value of R 0 , e.g., extended violations of the restriction measures, changes in testing protocols or delay in data reporting, changes in the virus characteristics. It is worthwhile to note that the above features are found for all Northern regions firstly affected from COVID-19 diffusion (not shown here). The epidemic growth throughout Marche, as well as throughout other Central regions (not shown), is different from Northern regions. Indeed, the first 7 days (e.g., 24/02 -01/03, red lines in Fig. 4) were not characterized by an exponential increase of infections, as the diffusion of the virus was pretty slow: logistic fits are therefore meaningless in this context. The exponential phase started in the second week, as we can see by fitting the first two week of the infection counts (e.g., 24/02 -08/03, blue lines in Fig. 4 ) or just the second week (e.g., from 01 March to 08 March, green lines in Fig. 4) . During this week, the number of infections significantly increases (272 confirmed cases) enabling better fits of data to logistic distributions. This suggests a time delayed propagation between Northern and Central regions. Indeed, the logistic fits become more stable, with narrower estimates of confidence intervals, when the time interval from 08 March to 23 March (magenta lines in Fig. 4 ) or the first 30 days (e.g., 24/02 -23/03, black lines in Fig. 4) are taken into account, suggesting that credible predictions could be assigned with a large confidence when a mature stage of the epidemic growth is approached. However, as for Norther regions the logistic fits struggle to predict the number of infections of the successive days (i.e., after the first 30 days). A completely different scenario is found for Puglia and Southern regions (not shown). Logistic fits cannot be performed during during the first two weeks (e.g., from 24 February to 08 March), as the infection counts was not yet exponential. By considering the time interval between 08 and 23 March (magenta lines in Fig. 4 ) and the first 30 days (e.g., 24/02 -23/03, black lines in Fig. 4 ) an increase in the confidence of logistic fits is found, although they struggle to predict the number of infections of the successive days (i.e., after the first 30 days). This is possibly due to the time delayed propagation of epidemic throughout Southern regions for which a mature stage is, to date, not yet reached. To support this hypothesis and to assess the statistical discrepancy of the logistic fits from the observed data we perform the Kolmogorov-Smirnov (K-S) test those results for the 95% confidence level are reported in Table 3 . Table 3 : Results of the Kolmogorov-Smirnov test for the 95% confidence level for the Italian regions. The decision to reject the null hypothesis is based on comparing the observed statistics D n,obs with the theoretical value D n,th = 0.3037 obtained for the significance level α = 0.05 as in Eq. 4. If D n,obs < D n,th then the samples come from the same logistic distribution and corresponding values are reported in bold. It is interesting to note that, although lower values of D n,obs are observed when a more mature stage of the epidemic growth is considered in the fitting range, as for example for time intervals from 24 February to 23 March as well as from 08 to 23 March, the observed values D n,obs are all above the statistical threshold of D n,th = 0.3037. This suggests that a mature stage is, to the date of 23 March, not yet reached, although Northern and Central regions are characterized by lower values than the Southern ones, thus possibly related to the time delayed propagation of epidemic throughout Southern regions. As discussed in Section 5 all performed logistic fits struggle to predict the number of infections of the successive days (i.e., after the first 30 days), thus we performed and compare logistic fits in three time intervals: (i) the first 30 days (e.g., from 24 February to 23 March), (ii) the first 37 days (e.g., from 24 February to 30 March), and (iii) the overall period from 24 February to 02 April. The results of the Kolmogorov-Smirnov test for the 95% confidence level are reported in Table 4 , while the behavior of logistic fits are shown in Fig. 5 . Table 4 : Results of the Kolmogorov-Smirnov test for the 95% confidence level for the Italian regions. The decision to reject the null hypothesis is based on comparing the observed statistics D n,obs with the theoretical value D n,th = 0.3037 obtained for the significance level α = 0.05. If D n,obs < D n,th then the samples come from the same logistic distribution. It is interesting to note that all regions and Italy are characterized by lower values of D n,obs , below the theoretical value D n,th = 0.3037, when including the next 7 days (e.g., by considering the period between 24 February and 30 March) to the logistic fits and when considering the whole time range (e.g., 24/02 -02/04). Lombardia presents lower values of the K-S statistics D n,obs than those for Marche and Puglia, together with a narrower confidence interval when including the successive days, not observed for both Marche and Puglia. Particularly for Puglia the confidence interval remains practically unchanged, thus suggesting that logistic fits are not still stable, possibly due to the fact that Southern regions have not yet reached a mature stage of the epidemic growth. This difference in terms of stability of logistic fits as well as on confidence of reliable estimates can be clearly seen by looking at the behavior of estimated daily increments. Days of peak significantly depends on the fitting range for Puglia, while the estimation of this quantity is more stable for Lombardia and Marche, as shown in Fig. 6 . Indeed a wider discrepancy is found between daily increments and estimates for logistic fits performed during the three intervals, obviously affecting both the peak time estimation and its value. By comparing our estimates and data collected from the daily report of the Italian Protezione Civile (https://github.com/pcm-dpc/COVID- 19) we found that the discrepancy significantly increases when moving from Northern to Southern regions, where it can also reach an error which is comparable with the predicted value. This could be the reflection of at least two different factors: i) the epidemic growth is in a more mature phase in the Northern and Central regions with respect to the Southern ones, where it began with a time delay ranging from 3 to 14 days, and ii) the higher ratio between the observed cases and the number of tests carried out for Southern regions with respect to the rest of Italy (see https://github.com/pcm-dpc/COVID-19). These two factors could affect the performance of the logistic fits for the Southern regions of Italy, being characterized by wider uncertainties with respect to the rest of Italy. Thus, our results suggest that estimates of the ending of epidemic growth are affected by the statistical uncertainties, by the delayed propagation of infections through the different regions, and by the effective respect of the guidelines in terms of confinement measures. In this paper we investigated the behavior of predictions of COVID-19 infections on the particular phase of its growth and propagation in a specific country, as well as, on the effectiveness of social distancing and confinement measures. By analyzing the epidemic evolution in China and Italy we find that predictions are characterized by large uncertainties at the early stages of the epidemic growth, significantly reducing when the epidemics peak is past, independently on how this is reached. While infection counts for different Chinese provinces show a synchronised behavior, counts for Italian regions point to different epidemic phases. While the epidemic peak has been likely reached in the Northern and Central regions, COVID-19 infections are still in a growing phase for Southern regions, with a delay ranging from 3 to 14 days. By assessing the performance of logistic fits we assess that a wider uncertainty is found during the first week of epidemic propagation. Uncertainty is reduced when data from the very beginning of the breakout are removed from the datasets. Moreover, the estimated infection increments are extremely sensitive to the epidemic growth stage and to the last points considered to perform statistical extrapolations. Higher significance levels are reached for the more mature stages of the epidemic growth. Our results aim at providing some guidelines for real-time epidemics forecasts which should be applicable to other viruses and outbreaks. Real-time forecasts of the epidemics are, to date, a societal need more than a scientific field. They are crucial to plan the duration of confinement measures and to define the needs for health-care facilities. The aim of this letter was to show that those extrapolations crucially depend not only on the quality of data, but also on the stage of the epidemics, due to the intrinsically non-linear nature of the underlying dynamics. This prevents from performing successful long-term extrapolations of the infection counts with statistical models. On the other hand, dynamical models such as those based on compartments or agent dynamics, need to be initialized with quality data, faithfully representing the infected populations including asymptomatic patients [27] . It is therefore crucial to pursue national health systems to provide the most transparent and extended datasets as possible and obtain high quality datasets to initialize those models. We remind that only dynamical models can provide a coherent representation and evolution of the epidemics, as they are effectively based on the conservation of the total number of individuals. Coronavirus epidemic snarls science worldwide Clinical features of patients infected with 2019 novel coronavirus in Clinical characteristics of coronavirus disease 2019 in china Pneumonia of unknown cause -china Early transmission dynamics in wuhan, china, of novel coronavirusinfected pneumonia Defining the epidemiology of covid-19 studies needed A novel coronavirus from patients with pneumonia in china Clinical Characteristics of 138 Hospitalized Patients With Importation and human-to-human transmission of a novel coronavirus in vietnam Coronavirus disease 2019 (covid-19) situation report-10 Transmission of 2019-ncov infection from an asymptomatic contact in germany The Incubation Period of Coronavirus Disease 2019 (COVID-19) From Publicly Reported Confirmed Cases: Estimation and Application Disposizioni attuative del decreto-legge 23 febbraio 2020, n. 6, recante misure urgenti in materia di contenimento e gestione dell'emergenza epidemiologica da covid-19 Ulteriori disposizioni attuative del decretolegge 23 febbraio 2020, n. 6, recante misure urgenti in materia di contenimento e gestione dell'emergenza epidemiologica da covid-19, applicabili sull'intero territorio nazionale Ulteriori disposizioni attuative del decretolegge 23 febbraio 2020, n. 6, recante misure urgenti in materia di contenimento e gestione dell'emergenza epidemiologica da covid-19, applicabili sull'intero territorio nazionale Ulteriori disposizioni attuative del decretolegge 23 febbraio 2020, n. 6, recante misure urgenti in materia di contenimento e gestione dell'emergenza epidemiologica da covid-19, applicabili sull'intero territorio nazionale Facing covid-19 in italy ethics, logistics, and therapeutics on the epidemics front line The effect of travel restrictions on the spread of the 2019 novel coronavirus (covid-19) outbreak Covid-19 navigating the uncharted Coronavirus disease 2019 (covid-19) situation report-51 Is the Rigidity of SARS-CoV-2 Spike Receptor-Binding Motif the Hallmark for Its Enhanced Infectivity and Pathogenesis? Compartmental models in epidemiology Modelling transmission and control of the covid-19 pandemic in australia Asymptotic estimates of sars-cov-2 infection counts and their sensitivity to stochastic perturbation A comparison of direct adjustment and regression adjustment of epidemiologic measures Estimation of the final size of the covid-19 epidemic Analysis of the permanence of an SIR epidemic model with logistic process and distributed time delay Epidemiological study of novel coronavirus (COVID-19) Estimating epidemic exponential growth rate and basic reproduction number On the Nature of the Function Expressive of the Law of Human Mortality, and on a New Mode of Determining the Value of Life Contingencies Fitting dynamic models to epidemic outbreaks with quantified uncertainty: A primer for parameter uncertainty, identifiability, and forecasts Comparative analysis of phenomenological growth models applied to epidemic outbreaks Covid-19 r0: Magic number or conundrum? Sulla determinazione empirica di una legge di distribuzione, Giornale dell Table for estimating the goodness of fit of empirical distributions Edf statistics for goodness of fit and some comparisons A test of goodness of fit Evaluating kolmogorov's distribution Nonparametric simultaneous tests for location and scale testing: A comparison of several methods Distribution table for the deviation between two sample cumulatives A comparison of methods for estimating the random effects distribution of a linear mixed model Estimation of daily infections and their peak time during three different time intervals of epidemic across Italian regions, together with the confidence lines