Skip to main content

Evaluation of the potential incidence of COVID-19 and effectiveness of containment measures in Spain: a data-driven approach

Abstract

Background

We are currently experiencing an unprecedented challenge, managing and containing an outbreak of a new coronavirus disease known as COVID-19. While China—where the outbreak started—seems to have been able to contain the growth of the epidemic, different outbreaks are nowadays present in multiple countries. Nonetheless, authorities have taken action and implemented containment measures, even if not everything is known.

Methods

To facilitate this task, we have studied the effect of different containment strategies that can be put into effect. Our work referred initially to the situation in Spain as of February 28, 2020, where a few dozens of cases had been detected, but has been updated to match the current situation as of 13 April. We implemented an SEIR metapopulation model that allows tracing explicitly the spatial spread of the disease through data-driven stochastic simulations.

Results

Our results are in line with the most recent recommendations from the World Health Organization, namely, that the best strategy is the early detection and isolation of individuals with symptoms, followed by interventions and public recommendations aimed at reducing the transmissibility of the disease, which, although might not be sufficient for disease eradication, would produce as a second order effect a delay of several days in the raise of the number of infected cases.

Conclusions

Many quantitative aspects of the natural history of the disease are still unknown, such as the amount of possible asymptomatic spreading or the role of age in both the susceptibility and mortality of the disease. However, preparedness plans and mitigation interventions should be ready for quick and efficacious deployment globally. The scenarios evaluated here through data-driven simulations indicate that measures aimed at reducing individuals’ flow are much less effective than others intended for early case identification and isolation. Therefore, resources should be directed towards detecting as many and as fast as possible the new cases and isolate them.

Peer Review reports

Background

The first report by the Chinese authorities of the COVID-19 outbreak appeared in December 31, 2019. Ever since then, the World Health Organization (WHO) and national public health authorities have been tracing and reporting on the evolution of the outbreak. As initially feared, and despite containment measures adopted in China, with a big city like Wuhan being quarantined for weeks, the disease spread beyond mainland China. As of February 29, 2020, there were 85,403 cases worldwide, of which 79,394 corresponded to China [1]. As of April 13, 2020, there are 1,773,084 cases worldwide, of which 166,019 are in Spain [2]. Three months into the outbreak, much is still unknown about the natural history of the disease and the pathogen. Important from the modeling perspective, for instance, it has been claimed that a large number of cases might have gone undetected by routinely screening passengers, due to the special characteristics of this disease [3]. Admittedly, several studies predict that only between 10 and 20% of the cases have been detected and reported [47].

As with any other novel disease, governments, public health services, and the scientific community have been working towards stopping the spreading of COVID-19 as soon as possible and with the lowest possible impact on the population [5, 810]. From a scientific point of view, there are two courses of action that can be followed. On the one hand, new vaccines and pharmaceutical interventions need to be developed. This usually requires months of work. Therefore, on the other hand, it is important to study the large-scale spatial spreading of the disease through mathematical and computational modeling, which allows evaluating “in silico” what-if scenarios and potential containment measures to stop or delay the disease. This modeling effort is key, as it can contribute to maximize the effectiveness of any protection measures and gain time to develop new drugs or a vaccine to protect the population. Here, we follow the modeling path and analyze, through a data-driven stochastic SEIR metapopulation model, the temporal and spatial transmission of the COVID-19 disease in Spain as well as the expected impact of possible and customary containment measures.

Our model allows to implement and quantify the impact of several conventional strategies in Spain. These policies are mostly aimed at reducing the mobility of individuals, but we also include other plausible settings like a reduction in the time for case detection and isolation. Our findings agree with previous results in the literature that have reported that a reduction as large as 90% in traffic flow has a limited effect on the spreading of the disease. Important enough and at variance with such studies, the data-driven nature of this study and the available dataset allowed us to disentangle the impact of each transportation mode in several scenarios of mobility reduction in Spain. We found that while shutting down completely any transportation means does not lead to a significant reduction in the incidence of the disease, in some contexts, the arrival of the peak of the disease is delayed by several days, which could eventually be advantageous. Altogether, we provide evidences supporting the adoption of a mixed strategy that combines some mobility restrictions with, mainly, the early identification of infectious individuals and their isolation. These conclusions agree with the recommendations by the WHO [11]. We also highlight that although this study has been made with data from Spain, our findings can also be valid for any other country given the ubiquity of mobility patterns worldwide.

Since this article was first submitted in early March, we have learned more about the characteristics of the COVID-19, yet much is still unknown. Despite this, the overall results of this article still hold, since it was deliberately focused on qualitative behaviors rather than precise quantitative predictions. In fact, as of 13 April, it is still unknown the actual reach of the outbreak in Spain. Some estimates indicate that the actual fraction of infected individuals is 20 to 200 times larger than the number of detected cases [12]. As such, any study based on fitting the exact values reported by the authorities would be inherently flawed, even more if we take into account that the actual delay between symptoms’ onset to official registration of the case is 14 days (added to the long period between infection and symptom onset, this implies that current figures are due to infections that took place more than 20 days ago). There are several other issues with the current data provided by the authorities, which we explain in more detail in the supplementary material (Additional file 1: section 4). As a consequence, it is currently not possible to use these figures to fit simple models and produce precise quantitative predictions. In order to do so, not only we need to collect much more information but also a great deal of forensic data analysis will have to be performed to curate the data—something beyond the scope of this early assessment. Nevertheless, there are some characteristics of this outbreak that can be already analyzed, even with this simplified modeling framework, and we have included some comments related to such observations.

Methods

Stochastic SEIR metapopulation models are routinely used to study the temporal and spatial transmission of diseases like the COVID-19 [13]. Here, we make use of such class of models and implement a data-driven version that allows obtaining realistic estimates for the spatial incidence of the disease as well as its temporal dynamics. More specifically, in terms of time, we feed the model with the available data as of February 28, 2020. Spatially, we consider that each province (there are 52 in Spain, see Additional file 1: section 2) [14, 15] is represented by a subpopulation. Furthermore, metapopulation models are composed by two types of dynamics: the disease dynamics governed by the chosen compartmental model, SEIR in our case, and the mobility of the individuals across the subpopulations that make up the whole metapopulation system. The latter ingredient, the mobility, connects the subpopulations and allows the disease to spread from one subpopulation to another. In what follows, we describe these two components of our model.

Mobility dynamics

To model the mobility of individuals, we use a data-driven approach. Data-driven modeling, at variance with more theoretically inspired methods, has the advantage of allowing the direct implementation and evaluation of realistic containment measures, thus producing scalable and actionable what-if scenarios. To this end, we have obtained the inter-province mobility flows provided by the Ministry of Development of Spain (see Additional file 1: section 1) [16, 17]. Therefore, the minimal spatial unit in our system is a province. Using the information from the mobility matrices that report the origin and destination (OD) of individual movements, at each time step, we sample the number of individuals on the move from each province and distribute them across the country according to the information contained in these OD matrices. Important enough, this dataset not only includes the total number of individuals going from province to province, but it also distinguishes the main transportation means used by the individuals, see Fig. 1. This will allow us to gauge the effect of travel restrictions on different transportation modes.

Fig. 1
figure 1

Mobility dynamics in Spain. We use a dataset that includes all possible transportation means, from airplanes to cars. a, b The international fluxes to Spain. c A breakdown of inter-province flows in Spain by transportation mode. The size of the nodes is proportional to the number of individuals leaving the province. Similarly, the width of the links is proportional to the number of individuals using that route. Note that for multimodal travels, the associated mode is the one that corresponds to the largest part of the trip, which explains why there are links from the islands to provinces without ports in the matrix corresponding to maritime trips

Furthermore, given that the epidemic started abroad, it is important to determine in which province the disease is more likely to be seeded first. As of 1 March, given the global spread and incidence of the epidemic, we take into account that the three countries with more cases are China, South Korea, and Italy and consider that the most plausible route for an infectious individual to reach Spain is by plane. Thus, we collected the number of passengers coming from each country to each Spanish airport in 2019 from the Spanish air navigation manager AENA [15]. Then, we assigned each Spanish airport to its corresponding province and ranked them according to their total number of operations with each country, see Fig. 2. It is worth noticing that the information provided by AENA is already aggregated by country. Thus, this ranking cannot take into account which airports are mostly connected to locations where the outbreak is currently concentrated—e.g., north of Italy. Nevertheless, the ranking constitutes a valid proxy, and a good starting point, to seed the disease.

Fig. 2
figure 2

International connections. The number of operations (both passengers and cargo) in 2019 from any airport in China, South Korea, and Italy to each Spanish airport. Only Madrid and Barcelona have direct passenger connections to China and South Korea, whereas Zaragoza only has freight connections to such locations. The destination provinces are ranked according to the likelihood of receiving an infected individual from each country, assuming the order is proportional to the total number of operations

Disease dynamics

The dynamics of the disease is governed by an SEIR compartmental model. In this model, individuals are classified according to their health status: susceptible (S) if they are susceptible to catch the disease, exposed (E) if they have been infected but cannot infect other individuals yet, infectious (I) once the latency period is over and the individuals can infect others, and removed (R) when they are either recovered or deceased. Within each province, the transition between compartments results from the following rules, iterated at each time step, corresponding to 1 day:

  • Susceptible individuals in province i are infected with probability \(P_{i}(S\rightarrow I) = 1 - (1-R_{0}/(T_{I}N_{i}))^{I_{i}}\), where R0 is the reproduction number, TI is the mean infectious time, Ni stands for the number of individuals in region i, and Ii accounts for the number of infectious individuals in such region.

  • Exposed individuals become infectious at a rate inversely proportional to the mean latent period, TE.

  • Infectious individuals become removed at a rate inversely proportional to the mean infectious period, TI.

In what follows, we parameterize the model according to the latest estimates as of 1 March for the disease parameters [5, 18], namely, R0=2.5, and a generation time Tg=TE+TI=7.5 days resulting from considering TE=5.2 days and TI=2.3 days (in the supplementary material, we report that similar results are obtained for other values of Tg, as well as if we allow for pre-symptomatic transmission and higher values of R0, inline with the most recent estimates as of 13 April, Additional file 1: figures S5-S13). Note that we have not explicitly distinguished between pre-symptomatic, asymptomatic, or symptomatic individuals, being all of them under the category of infectious individuals. Asymptomatic spreading is still under scrutiny. Although there is increasingly more evidence of this transmission route, it is still unknown their relative infectiousness or the amount of actual asymptomatic or mild-symptomatic individuals in the population, with different studies estimating that from 20 to 50% of the infected individuals are asymptomatic [1924]. It is important to note that it is possible to test positive but develop symptoms several days afterwards, implying that those individuals were pre-symptomatic rather than asymptomatic [22, 25]. Nevertheless, for this early assessment, the inclusion of this type of spreaders would not modify substantially the dynamics under study since we focus on analyzing the most basic strategies to contain or mitigate the outbreak. In any case, once more data is gathered, both about the dynamics related to these subjects and the actual reach of the current outbreak, these new states should be included into these models to properly understand the whole situation.

Results and discussion

Quantifying the spatial and temporal evolution of the disease incidence

One of the main characteristics of the COVID-19 disease is its long latency times. As of 1 March, the average incubation period has been reported to be 5.2 days [18]. Thus, before proceeding with evaluating the impact of the disease, we first compare the metapopulation model employed here with a classical SIR metapopulation framework. To do so, we use the random-walk effective distance:

$$ d_{i(j)}^{\text{RW}}(\delta) = -\ln\left[\left(e^{\delta} I(j|j) - P(j|j)\right)^{-1} p(j)\right]\,, $$
(1)

where P(j|j) is the normalized flow matrix without row and column j, p(j) is the j column of P with element j removed, and δ is a dimensionless parameter that depends on the infection, recovery, and mobility rates [26]. This quantity, defined for SIR metapopulation models, gives us the expected time that it would take for the disease to reach each subpopulation of the system, also known as the hitting time. In Fig. 3, we compare the hitting time obtained from stochastic simulations of the SEIR metapopulation model with the theoretical distances derived for the simplified SIR model. We can see that the correlation is nearly perfect, implying that the spreading itself is quite similar in both models. However, we find that the hitting times in the SEIR implementation are at least three times larger than the theoretical ones for the SIR scenario (on its turn, stochastic simulations of the SIR model agree very well with the theoretical expectations for the model, see the Additional file 1: Fig. S4). Thus, the addition of the latent state produces a substantial delay on the spreading of the epidemic. This is in line with the fact that the epidemic is thought to have started in mid-November or early December; however, a noticeable number of cases was only reported by early January.

Fig. 3
figure 3

Hitting time in SIR and SEIR models. Comparison between the hitting time obtained after 103 simulations of the SEIR model in our metapopulation scheme, with 1 or 10 seeds initially placed in the province of Barcelona, and the theoretical distance in an SIR metapopulation model

Figure 4a shows the expected hitting time for each region (the 52 provinces of Spain are divided in 17 regions, see Additional file 1: section 2) when a disease starts in Madrid with 1 infected individual. As before, the hitting times might seem long, but this is due to the long latent periods of the disease, which is in agreement with the evolution of reported cases in mainland China. We also note that Spanish major cities are expected to be affected by the outbreak in no more than 40 days, although this number is reduced if pre-symptomatic infections are taken into account (see Additional file 1: Fig. S7). In either case, the qualitative behavior is the same since it is a consequence of the underlying data-driven flow dynamics. For instance, the disease would arrive sooner to the Canary Islands, which are situated over 1700 km away from Madrid, than to Ceuta or Melilla, which are only over 500 km away from Madrid, due to the higher amount of traffic between those regions.

Fig. 4
figure 4

Temporal spreading of the epidemic. In a, we show the hitting time obtained when one seed is introduced in Madrid. In b, we compare the number of days needed to reach 50 infectious individuals since that number is reached in Madrid. The simulations are seeded with 5 individuals in Madrid, 1 in La Rioja, and 1 in Álava (País Vasco)

To confirm the validity of the model and the data used, in Fig. 4b, we show the expected number of days that it would take for each region to reach 50 infected individuals, compared to the day in which the said number is reached in Madrid. Various clarifications are in order. First, during the month of February, several imported cases from Italy were found, and isolated, all around Spain (see the chronology of the outbreak in Additional file 1: section 3) [2755] As such, it is too soon to determine the exact number of seeds—and their location. This is out of the scope of this paper. Nevertheless, we have considered a simple approach. We introduced just one single infected individual in Madrid, which has been the hardest-hit region during the outbreak. This leads to a correlation between the time needed to reach 50 infectious individuals in each region and in Madrid of 0.79 (see Additional file 1: Fig. S5). The correlation can be enhanced if we introduce some extra information. For instance, during the first days of March, a large cluster of over 60 cases, shared between the provinces of La Rioja and Álava, was detected and linked to a funeral that took place on 24 February, which was attended by a couple who had recently been to Italy. To take into account this event, we introduce two additional seeds, one in each province, at the beginning of the simulation, which rises the correlation to 0.90 (see Additional file 1: Fig. S5). Furthermore, if we increase the number of initial seeds in Madrid to 5 (to account for the fact that the disease might have arrived there several days before 24 February), the correlation goes up to 0.93, as shown in Fig. 4b. Although different seed choices lead to different results, it is clear that the qualitative behavior of the model holds and is able to reproduce the observed early evolution of the outbreak properly. Furthermore, even though the results in Fig. 4b only match qualitatively the observations, the agreement is much closer if we allow for pre-symptomatic infections (see Additional file 1: Fig. S6), signaling that this type of infections might have been crucial in the early development of the outbreak.

Complementarily to Fig. 4, we present in Fig. 5 further results on the temporal and spatial evolution of the disease dynamics. Here, we have computed, through stochastic simulations of the model, the cumulative median number of infected individuals within each region assuming that the disease propagates from Madrid (top row) or Barcelona (bottom row) by initially 1 infectious individual. The results align with the theoretical predictions and highlight the close relationship between the two biggest cities of Spain (Barcelona and Madrid), even though they are relatively far geographically (around 620 km through the shortest path by car). Furthermore, this figure also signals that one of the reasons why the disease might have had such a heavy outcome in Spain is because it started in Madrid. Indeed, under the same conditions, the spatial spread of the disease would have been much lower if it had started in Barcelona by the time the containment measures were put in place by the government. Finally, it is worth remarking two things. First, pre-symptomatic spreading would accelerate the dynamics, although the qualitative geographical distribution of cases should not be affected (see Additional file 1: Fig. S7). Additionally, we also stress the many unknowns that cannot be taken into account yet, such as inflow of infected subjects from abroad. However, as we show next, this data-driven modeling approach allows evaluating the effect of customary containment measures.

Fig. 5
figure 5

Spatial spreading of the epidemic. Estimated cumulative number of infected individuals within each region when the disease starts with 1 infected individual in Madrid (top row) or in Barcelona (bottom row). The reported values are the median over 103 simulations

Containment of the epidemic

Our data-driven model is particularly useful to get insights into mobility-mediated transmission dynamics and to evaluate possible countermeasures. Next, we explore diverse containment measures that could be implemented aiming at stopping the large-scale spreading of the disease. First, we analyze the effect of imposing mobility restrictions by limiting traffic flow in the country. We consider six different scenarios that correspond to each transportation mode being shutdown plus another one in which a total reduction of 90% of the overall traffic is imposed. However drastic these measures appear to be, actually, the lockdown declared on 14 March reduced the overall traffic between provinces between 80 and 90% [56]. Nonetheless, as we show below, these measures alone are useless when it comes to completely stop the disease from propagating. Indeed, a significant reduction in the estimated incidence is only obtained when other actions are implemented.

In Fig. 6a, it is observed that the previous measures have no effect on the final size of the epidemic. On the other hand, if we look at the time for the peak of the epidemic to arrive, Fig. 6b, we see some minor effects. In particular, although shutting down most modes of transportation has practically no effect, if all private cars were removed (i.e., they remain confined in their corresponding province), the peak of the epidemic would be delayed by about 7 days. The most effective of the above scenarios of mobility restriction corresponds to a 90% reduction of the overall traffic, when the peak would be delayed over 20 days. This is in agreement with previous studies that have shown that the only sizable effect of travel restrictions is to delay the peak of the epidemic. For instance, it has been claimed that the travel restrictions in Wuhan only delayed the peak of the epidemic by 3 days [5].

Fig. 6
figure 6

Strategies to mitigate the impact of the disease. a, b The impact of mobility reduction. cf The effect of different measures aimed at reducing the spreading of the epidemic when they are applied since the beginning of the outbreak and after 100 or 1000 cases are detected in the whole country. a The fraction of individuals who where affected by the disease by the end of the epidemic. b The time from the arrival of the first infected individual to the country until the peak of the epidemic, i.e., the day with the maximum number of infected individuals. In c, we evaluate the size of the epidemic if individuals are hospitalized or isolated after a given number of days from the onset of disease symptoms. In d, we show the effect of only hospitalizing or isolating a certain fraction of individuals after they experience the first symptoms. In e, f, we show the size of the epidemic and the time for the disease to peak when transmission is reduced. Note that reducing the transmissibility always delays the spreading, except in situations where the disease dies out, for which the peak occurs earlier. In all cases, the spreading starts with 10 infected individuals in Barcelona

Another possibility, instead of limiting the mobility of the overall population, is to be extremely vigilant so as to make it possible to isolate all the cases that start to appear quickly enough. To check the impact of this policy, we have simulated a scenario in which the average number of days that an individual is able to go unnoticed and infect others is reduced from 2.3 to 2, 1.5, and 1 days. In Fig. 6c, we observe that this strategy is much more effective than traffic restrictions. In particular, if we were able to reduce the time since symptoms’ onset to isolation below 1.5 days, the epidemic would be greatly reduced. As a matter of fact, it has been reported [18] that this average number of days went down in China from 4.4 days at the beginning of the outbreak to 2.6 days, which is one of the reasons invoked to explain why the epidemic started to decline in mainland China. In our case, these numbers would be compatible with generation times of 10 or 12.5 days, or with the addition of pre-symptomatic spreading (see Additional file 1: Figs. S9 and S12). As of 13 April, the median time from symptom onset to hospitalization in Spain is 6 days (see Additional file 1: Fig. S2). As such, this measure alone will not currently be able to stop the spreading of the outbreak in Spain.

Furthermore, it is also reasonable to assume that this strategy is not easy to implement in full, either because some individuals could purportedly try to avoid isolation or due to the fact that many infected subjects have mild symptoms similar to a common flu and neither go to the doctor nor report their state. Therefore, we have simulated a slightly different scenario in which individuals are isolated the same day of their symptoms’ onset with a certain efficacy. That is, only a given percentage of the new cases are isolated, while the others are able to roam freely. This framework would also be compatible with having asymptomatic or pre-symptomatic individuals who are able to spread the disease. The equivalence with such hypothetical natural history of the disease in our model is such because we do not apply the prescribed percentage to the total number of infectious individuals, but only to those who have just become infectious; thus, those that escape will remain infectious as if they were asymptomatic until they recover. In Fig. 6d, we show the effect that different percentages of new isolated cases would have on the size of the outbreak. Being able to isolate all individuals, on average, in less than 1 day enables to effectively stop the disease. Yet, the results also show that even if all infectious are not isolated, the size of the outbreak can be greatly reduced.

Lastly, we analyzed the consequences of self-protection measures such as wearing masks, washing more frequently one’s hands, or avoiding crowded places. To mimic these contexts, we simply reduced the effectivity of the transmission by a certain fraction and study the final size of the epidemic, see Fig. 6e. The results show that a large reduction of at least 60% is needed to contain the disease. Interestingly, if we look at the time to the peak of the epidemic, represented in Fig. 6f, we observe that decreasing the transmission not only reduces the size of the outbreak but also delays the peak. Hence, even if this strategy might not be sufficient to completely stop the propagation of the disease in all cases, it could certainly help for preparedness and other clinical responses by delaying the spreading. The exception is when the reduction is very large (in the figure, beyond 60%) as in these cases the peak might occur earlier because the disease dies out.

Conclusions

It is apparent from all the results obtained for the different scenarios that we have considered that the most cost-effective strategy would be the isolation or quarantine of detected infectious cases, as long as the efficacy of such measure is over 50%. Important for the current debate about the natural history of the disease, this policy would also work if there is a fraction of asymptomatic but infectious individuals in the population. Our results also show that from a practical point of view, a combination of all the analyzed contexts can have second order benefits. As already stressed, containment measures should not only be directed towards a full cut-down of the number of infected cases. Their efficacy is also given by other factors, such as delaying, even if only by a few days, the spreading of the disease. Such delays are always good for preparedness and to have more time for clinical research that can lead to new pharmacological treatments or vaccines. For instance, even if traffic restrictions are not effective on their own, they facilitate the control of the population, and thus, it would be easier to detect infected individuals and treat them. Similarly, self-protection measures and other social-distancing practices delay the spreading of the disease, freeing resources that would allow for a better management of the epidemic, in turn leading to an increase of the efficacy of individual isolation. Closing public places would, in practice, reduce the transmission, which again will lower the total number of infections and thus make them more manageable for the health care system. This also highlights the importance of having a coordinated response system, since simply adopting central measures like imposing mobility restrictions and closing public places is not effective in the middle to long term.

This study also highlights the importance of introducing data-driven mobility patterns of the population. We show that under the same conditions, the spatial spreading of the disease would have been completely different if it had started in Barcelona rather than in Madrid, even if they are both the most important cities in Spain. Furthermore, this result also calls for the need of coordinated containment actions, both at the country and higher levels, to mitigate the spreading of the disease. Indeed, even though a full lockdown of the country would have had a minimal effect, from the spatial point of view, on the situation simulated in Fig. 5 when the disease is seeded in Madrid, the same strategy would have had a great effect if it had started in Barcelona. Yet, if only the province of Barcelona were to be isolated—something that might seem reasonable since in the rest of the provinces the prevalence is fairly low in this hypothetical situation and thus might have been unnoticed by the authorities—that would have not stopped the spreading at all, in line with our observations that mobility reductions on their own delay the peak of the epidemic but do not stop the outbreak.

Our model has several limitations, and some of them could actually be overcome in the near future. Perhaps, the most important one has to do with the inability of current large-scale epidemiological models to fully account for behavioral changes in the population when a disease is evolving. An interesting observation in this regard is that on 9 March, the region of Madrid announced the closure of all schools and universities, including some residence halls. As a consequence, hundreds of students went back to their home regions [38]. This might have accelerated the spreading of the disease since the symptoms in young individuals are quite mild and thus might have transmitted the disease unawerely. Even more, almost 30% of all university students in Madrid come from other Spanish regions [57]. The extent of this effect is for sure something worth exploring in the future and signals how this discipline—in relation with the introduction of behavioral changes—is still in its infancy. Furthermore, as it is the case for the spreading of COVID-19, the information—and more often than desired, misinformation—travels faster than the disease. This produces undesired effects such as a collapse in the emergency rooms at hospitals, a proliferation of information sources that do not provide sensible advices in all cases, anticipated economic loses, and, in general, uncoordinated responses. Therefore, it is a pressing challenge to develop more realistic ways to incorporate in models like the one employed here all these risk-averse responses and reactions. Another limitation of the current study includes the relatively low spatial resolution, which is essentially determined by the data availability. The results, however, indicate that the level of granularity used here is enough to capture mobility patterns and the effects of possible interventions. Finally, we have not considered the temporal and spatial variability of disease parameters, such as the one induced by seasonality (which current estimates signal that will have a small impact on the spreading of the disease due to the huge proportion of the population still susceptible [58]). We have also not included other potentially important characteristics of the host population such as the existence of super spreaders or the age structure, which seems to play a relevant role for this disease, at least in what concerns the case fatality rate. We plan to investigate on all these issues in the near future.

Availability of data and materials

The datasets used in this study have been made available at zenodo [59] and can also be downloaded from the original sources [14, 15, 17].

Abbreviations

AENA:

Aeropuertos Españoles y Navegación Aérea (Spanish Airports and Air Navigation)

OD matrix:

Origin-destination matrix

SEIR:

Susceptible-exposed-infectious-removed compartmental model

SIR:

Susceptible-infectious-removed compartmental model

WHO:

World Health Organization

References

  1. Coronavirus disease 2019 (COVID-19) Situation Report-40. Technical report: World Health Organization; 2020. https://www.who.int/docs/default-source/coronaviruse/situation-reports/20200229-sitrep-40-covid-19.pdf.

  2. Coronavirus disease 2019 (COVID-19) Situation Report-84. Technical report: World Health Organization; 2020. https://www.who.int/docs/default-source/coronaviruse/situation-reports/20200413-sitrep-84-covid-19.pdf.

  3. Gostic K, Gomez ACR, Mummah RO, Kucharski AJ, Lloyd-Smith JO. Estimated effectiveness of symptom and risk screening to prevent the spread of COVID-19. eLife. 2020. https://doi.org/10.7554/eLife.55570.

  4. Du Z, Wang L, Cauchemez S, Xu X, Wang X, Cowling BJ, Meyers LA. Risk for transportation of coronavirus disease from Wuhan to other cities in China - Volume 26, Number 5 May 2020 - Emerging Infectious Diseases journal - CDC. Emerg Infect Dis J. 2020. https://doi.org/10.3201/eid2605.200146.

    Article  Google Scholar 

  5. Chinazzi M, Davis JT, Ajelli M, Gioannini C, Litvinova M, Merler S, Pastore y.Piontti A, Mu K, Rossi L, Sun K, Viboud C, Xiong X, Yu H, Halloran ME, Longini IM, Vespignani A. The effect of travel restrictions on the spread of the 2019 novel coronavirus (COVID-19) outbreak. Science. 2020:9757. https://doi.org/10.1126/science.aba9757.

  6. Cao Z, Zhang Q, Lu X, Pfeiffer D, Wang L, Song H, Pei T, Jia Z, Zeng DD. Incorporating human movement data to improve epidemiological estimates for 2019-nCoV. medRxiv. 2020:2020–020720021071. https://doi.org/10.1101/2020.02.07.20021071.

  7. Zhou Y, Dong J. Statistical inference for coronavirus infected patients in Wuhan. medRxiv. 2020:2020–021020021774. https://doi.org/10.1101/2020.02.10.20021774.

  8. Zhu X, Zhang A, Xu S, Jia P, Tan X, Tian J, Wei T, Quan Z, Yu J. Spatially explicit modeling of 2019-nCoV epidemic trend based on mobile phone data in mainland China. medRxiv. 2020:2020–020920021360. https://doi.org/10.1101/2020.02.09.20021360.

  9. Li X, Zhao X, Sun Y. The lockdown of Hubei Province causing different transmission dynamics of the novel coronavirus (2019-nCoV) in Wuhan and Beijing. medRxiv. 2020:2020–020920021477. https://doi.org/10.1101/2020.02.09.20021477.

  10. Xiong H, Yan H. Simulating the infected population and spread trend of 2019-nCov under different policy by EIR model. medRxiv. 2020:2020–021020021519. https://doi.org/10.1101/2020.02.10.20021519.

  11. WHO-China Joint Mission on Coronavirus Disease 2019 (COVID-19). Technical report: World Health Organization; 2020. https://www.who.int/docs/default-source/coronaviruse/who-china-joint-mission-on-covid-19-final-report.pdf.

  12. Report 13: Estimating the number of infections and the impact of non-pharmaceutical interventions on COVID-19 in 11 European countries. Technical report: Imperial College; 2020. https://www.imperial.ac.uk/mrc-global-infectious-disease-analysis/covid-19/report-13-europe-npi-impact/.

  13. Aleta A, Hisi ANS, Meloni S, Poletto C, Colizza V, Moreno Y. Human mobility networks and persistence of rapidly mutating pathogens. R Soc Open Sci. 2017. https://doi.org/10.1098/rsos.160914.

    Article  Google Scholar 

  14. Spanish Statistical Office. https://www.ine.es/. Accessed Feb 2020.

  15. Spanish Air Navigation Manager, AENA. http://www.aena.es. Accessed Feb 2020.

  16. INE will track the mobile phones of all Spain for 8 days (El INE Seguirá la Pista de Los Móviles de Toda España Durante Ocho Días). https://elpais.com/economia/2019/10/28/actualidad/1572295148_688318.html. in Spanish, Accessed Feb 2020.

  17. Studying interprovince mobility of passengers using Big Data. Technical report: Ministry of Development of Spain; 2019. https://observatoriotransporte.mitma.gob.es/estudio-experimental.

  18. Zhang J, Litvinova M, Wang W, Wang Y, Deng X, Chen X, Li M, Zheng W, Yi L, Chen X, Wu Q, Liang Y, Wang X, Yang J, Sun K, Longini IM, Halloran ME, Wu P, Cowling BJ, Merler S, Viboud C, Vespignani A, Ajelli M, Yu H. Evolving epidemiology of novel coronavirus diseases 2019 and possible interruption of local transmission outside Hubei Province in China: a descriptive and modeling study. medRxiv. 2020:2020–022120026328. https://doi.org/10.1101/2020.02.21.20026328.

  19. Z H, C S, C X, et al.Clinical characteristics of 24 asymptomatic infections with COVID-19 screened among close contacts in Nanjing, China. Sci China Life Sci. 2020. https://doi.org/10.1007/s11427-020-1661-4.

    Article  CAS  Google Scholar 

  20. Wang Y, Liu Y, Liu L, Wang X, Luo N, Ling L. Clinical outcome of 55 asymptomatic cases at the time of hospital admission infected with SARS-Coronavirus-2 in Shenzhen. J Infect Dis. 2020. https://doi.org/10.1093/infdis/jiaa119.

    Article  CAS  Google Scholar 

  21. CDC director on models for the months to come: ’this virus is going to be with us’. https://www.npr.org/sections/health-shots/2020/03/31/824155179/cdc-director-on-models-for-the-months-to-come-this-virus-is-going-to-be-with-us. Accessed Apr 2020.

  22. Mizumoto K, Kagaya K, Zarebski A, Chowell G. Estimating the asymptomatic proportion of coronavirus disease 2019 (COVID-19) cases on board the Diamond Princess cruise ship, Yokohama, Japan, 2020. Eurosurveillance. 2020; 25(10):2000180. https://doi.org/10.2807/1560-7917.ES.2020.25.10.2000180.

    Article  Google Scholar 

  23. Song H, Xiao J, Qiu J, Yin J, Yang H, Shi R, Zhang W. A considerable proportion of individuals with asymptomatic SARS-CoV-2 infection in Tibetan population. medRxiv. 2020. https://doi.org/10.1101/2020.03.27.20043836.

  24. Iceland lab’s testing suggests 50% of coronavirus cases have no symptoms. https://edition.cnn.com/2020/04/01/europe/iceland-testing-coronavirus-intl/index.html. Accessed Apr 2020.

  25. A K, KM H, M A, et al.Asymptomatic and presymptomatic SARS-CoV-2 infections in residents of a long-term care skilled nursing facility - King County, Washington: Morb Mortal Wkly Rep 2020, MMWR; 2020, pp. 69–377381. https://doi.org/10.15585/mmwr.mm6913e1.

    Article  CAS  Google Scholar 

  26. Iannelli F, Koher A, Brockmann D, Hövel P, Sokolov IM. Effective distances for epidemics spreading on complex networks. Phys Rev E. 2017; 95:012313. https://doi.org/10.1103/PhysRevE.95.012313.

  27. The map of coronavirus in Spain (El Mapa del Coronavirus en España). https://www.rtve.es/noticias/20200417/mapa-del-coronavirus-espana/2004681.shtml. in Spanish, Accessed Apr 2020.

  28. Bulletins released by the Spanish Ministry of Health. https://www.isciii.es/QueHacemos/Servicios/VigilanciaSaludPublicaRENAVE/EnfermedadesTransmisibles/Paginas/InformesCOVID-19.aspxl. in Spanish, Accessed Apr 2020.

  29. Valencia registers the first death of a patient with coronarivus in Spain (Valencia Registra la Primera Muerte de Un Paciente Con Coronavirus en España). https://www.abc.es/espana/comunidad-valenciana/abci-hombre-habia-contagiado-coronavirus-murio-13-febrero-valencia-202003032010_noticia.html. in Spanish, Accessed Apr 2020.

  30. Chronology of the coronavirus epidemic in Spain in only one month and a half (Cronología de la Epidemia de Coronavirus en España en Tan Solo Mes Y Medio). https://elpais.com/sociedad/2020-03-09/cronologia-de-la-epidemia-de-coronavirus-en-espana-en-tan-solo-mes-y-medio.html. in Spanish, Accessed Apr 2020.

  31. The Camarón familiy: the funeral that ended in quarantine (La Familia del ’Camarón’: el Funeral Que Acabó en Cuarentena). https://www.larioja.com/la-rioja/funeral-acabo-cuarentena-20200310235850-ntvo.html. in Spanish, Accessed Apr 2020.

  32. The goverment did not stop counting the infected nor the deceases due to coronarivus between the 6th and 9th of March (El Gobierno No Paró de Contabilizar Los Afectados Ni Fallecidos Por Coronavirus Entre el 6 Y el 9 de Marzo). https://www.newtral.es/bulo-gobierno-cifras-afectados-fallecidos-coronavirus-8-marzo/20200327/. in Spanish, Accessed Apr 2020.

  33. La Rioja freezes educational activity, from kindergarden to university, for 15 days (La Rioja Paraliza la Actividad Educativa, de las Guarderías a la Universidad, Durante 15 Días). https://www.larioja.com/la-rioja/directo-consejo-gobierno-20200310105327-nt.html. in Spanish, Accessed Apr 2020.

  34. All schools and the university get closed due to covid-19 (Cierran Todos Los Colegios Y la Universidad de Vitoria Por el Covid-19). https://www.lavanguardia.com/local/paisvasco/20200309/474041388450/labastida-cierra-colegios-coronavirus.html. in Spanish, Accessed Apr 2020.

  35. Euskadi imposes the closure of all schools to stop the coronavirus (Euskadi Decreta el Cierre de Todos Sus Colegios Para Frenar el Coronavirus). https://www.elindependiente.com/politica/2020/03/12/euskadi-decreta-el-cierre-de-todos-sus-colegios-para-frenar-el-coronavirus/. in Spanish, Accessed Apr 2020.

  36. Official State Gazette (Boletín Oficial de Estado) of the 10th of March of 2020. https://www.boe.es/boe/dias/2020/03/10/. in Spanish, Accessed Apr 2020.

  37. WHO Director-General’s opening remarks at the media briefing on COVID-19 - 11 March 2020. https://www.who.int/dg/speeches/detail/who-director-general-s-opening-remarks-at-the-media-briefing-on-covid-19---11-march-2020. Accessed Apr 2020.

  38. Hundreds of university students leave Madrid due to the coronavirus (Cientos de Universitarios Abandonan Madrid Por el Coronavirus). https://elpais.com/espana/madrid/2020-03-11/exodo-universitario-de-madrid-al-resto-de-provincias.html. in Spanish, Accessed Apr 2020.

  39. The president says that the goverment will not skimp on efforts to reduce at most the social and economic consequences of the coronarivus (El Presidente Afirma Que el Gobierno No Escatimará Esfuerzos Para Reducir al Máximo las Consecuencias Sociales Y Económicas del Coronavirus). https://www.lamoncloa.gob.es/consejodeministros/resumenes/Paginas/2020/120320-consejo-extra.aspx. in Spanish, Accessed April 2020.

  40. 9.5 million students will be two weeks without lectures in Spain (9,5 Millones de Estudiantes Se Quedan Dos Semanas Sin Clase en España). https://elpais.com/sociedad/2020-03-12/suspendidas-las-clases-en-todos-los-centros-educativos-de-euskadi.html. in Spanish, Accessed Apr 2020.

  41. Pedro Sánchez announces the declaration of the state of alarm (Pedro Sánchez Anuncia la Declaración del Estado de Alarma). https://www.lamoncloa.gob.es/multimedia/videos/presidente/Paginas/2020/130320-sanchez-declaracio.aspx. in Spanish, Accessed Apr 2020.

  42. The goverment informs that it is the unique authority in Spain, limits movements and closes shops (El Gobierno Informa de Que Es la única Autoridad en Toda España, Limita Los Desplazamientos Y Cierra Comercios). https://elpais.com/espana/2020-03-14/el-gobierno-prohibe-todos-los-viajes-que-no-sean-de-fuerza-mayor.html. in Spanish, Accessed Apr 2020.

  43. Stock JH, Aspelund KM, Droste M, Walker CD. Estimates of the undetected rate among the SARS-CoV-2 infected using testing data from Iceland. medRxiv. 2020. https://doi.org/10.1101/2020.04.06.20055582.

  44. Li R, Pei S, Chen B, Song Y, Zhang T, Yang W, Shaman J. Substantial undocumented infection facilitates the rapid dissemination of novel coronavirus (SARS-CoV2). Science. 2020:3221. https://doi.org/10.1126/science.abb3221.

    Article  CAS  Google Scholar 

  45. More mess with the official figures: the data from each CCAA are not homogeneous (Más Lío Con las Cifras Oficiales: Los Datos de las CCAA No Son Homogéneos Entre Sí). https://www.elconfidencial.com/espana/2020-03-25/coronavirus-cifras-oficiales-comunidades-autonomas_2515836/. in Spanish, Accessed Apr 2020.

  46. Why the number of deceased in Catalunya reported by Moncloa and the govern do not mach? (Por Qué No Coincide el Dato de Muertes en Catalunya Que Dan Moncloa Y Govern?)https://www.elnacional.cat/es/politica/coronavirus-muertos-espana-catalunya_484239_102.html. in Spanish, Accessed Apr 2020.

  47. Madrid insists on changing the way of counting covid-19 cases (Madrid Insiste en Cambiar la Forma de Recuento del Covid-19). http://www.telemadrid.es/programas/telenoticias-1. Madrid-insisten-cambiar-recuento-Covid-19-2-2223397651--20200417025516.html. in Spanish, Accessed Apr 2020.

  48. The ministry of health does not include in the total numbers the 3,242 new deceased counted in catalunya even though they asked for the data (Sanidad No Incluye en el Recuento Global 3.242 Nuevos Muertos Contabilizados en Catalunya Pese a Que Pidió Esos Datos). https://www.lavanguardia.com/vida/20200416/48559726872/casos-recuento-fallecidos-sanidad-salut.html. in Spanish, Accessed Apr 2020.

  49. Mortality Monitoring System (MoMo) Bulletins. https://www.isciii.es/QueHacemos/Servicios/VigilanciaSaludPublicaRENAVE/EnfermedadesTransmisibles/MoMo/Paginas/Informes-MoMo-2020.aspx. in Spanish, Accessed Apr 2020.

  50. The 10,176 deads not counted that are yet to surface: the data of Spain by region (Los 10.176 Muertos No Contabilizados Que Quedan Por Aflorar: Los Datos de España Por Comunidades). https://www.elespanol.com/reportajes/20200417/muertos-no-contabilizados-quedan-aflorar-espana-comunidades/482953155_0.html. in Spanish, Accessed Apr 2020.

  51. The burials due to coronavirus in Castilla - La Mancha almost triple the official numbers (Los Enterramientos Por Coronavirus en Castilla-La Mancha Casi Triplican Los Datos Oficiales). https://www.elmundo.es/espana/2020/04/06/5e8b4e4021efa01e6e8b4591.html. in Spanish, Accessed Apr 2020.

  52. The supreme court of Castilla Y León commands the registry to count also the suspected deaths due to covid-19 (El TSJ de Castilla Y León Ordena a Los Registros Contabilizar También las Muertes Sospechosas Por Covid-19). https://www.elmundo.es/espana/2020/04/13/5e94925521efa06d148b460e.html. in Spanish, Accessed Apr 2020.

  53. The health ministry hides the number of tests performed in Spain (Sanidad Oculta el Número Total de Test Realizados en España). https://www.elmundo.es/ciencia-y-salud/salud/2020/04/16/5e976353fc6c8397308b45eb.html. in Spanish, Accessed Apr 2020.

  54. Coronavirus: Spain doubles its capacity and reaches 40,000 tests per day (Coronavirus: España Duplica Su Capacidad Y Llega a 40.000 Test al Día). https://www.redaccionmedica.com/secciones/sanidad-hoy/coronavirus-espana-duplica-su-capacidad-y-llega-a-40-000-test-al-dia-2240. in Spanish, Accessed Apr 2020.

  55. Official data portal of the Spanish Ministry of Health. https://covid19.isciii.es/. in Spanish, Accessed Apr 2020.

  56. Analysis of mobility in Spain during the alarm state (Análisis de la Movilidad en España Durante el Estado de Alarma). https://www.mitma.gob.es/ministerio/covid-19/evolucion-movilidad-big-data. Accessed Apr 2020.

  57. Education statistics in Spain. http://www.educacionyfp.gob.es. Accessed Apr 2020.

  58. Kissler SM, Tedijanto C, Goldstein E, Grad YH, Lipsitch M. Projecting the transmission dynamics of SARS-CoV-2 through the postpandemic period. Science. 2020:5793. https://doi.org/10.1126/science.abb5793.

    Article  Google Scholar 

  59. Data for evaluation of the potential incidence of COVID-19 and effectiveness of contention measures in spain: a data-driven approach. https://doi.org/10.5281/zenodo.3701751.

Download references

Acknowledgements

Not applicable

Funding

YM acknowledges partial support from the Government of Aragon, Spain, through grant E36-17R (FENOL) and by MINECO and FEDER funds (FIS2017-87519-P). AA and YM acknowledge support from Intesa Sanpaolo Innovation Center. The funders had no role in the study design, data collection and analysis, decision to publish, or preparation of the manuscript.

Author information

Authors and Affiliations

Authors

Contributions

AA and YM designed the study. AA performed the analysis. AA and YM interpreted the results and wrote the manuscript. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Alberto Aleta.

Ethics declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Additional file 1

Data sources and sensitivity analysis on the epidemic parameters. Supporting information of the manuscript Evaluation of the potential incidence of COVID-19 and effectiveness of containment measures in Spain: a data-driven approach.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Aleta, A., Moreno, Y. Evaluation of the potential incidence of COVID-19 and effectiveness of containment measures in Spain: a data-driven approach. BMC Med 18, 157 (2020). https://doi.org/10.1186/s12916-020-01619-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12916-020-01619-5

Keywords