Research article Special Issues

An implementation of a multilayer network model for the Covid-19 pandemic: A Costa Rica study

  • We present a numerical implementation for a multilayer network to model the transmission of Covid-19 or other diseases with a similar transmission mechanism. The model incorporates different contact types between individuals (household, social and sporadic networks) and includes an SEIR type model for the transmission of the virus. The algorithm described in this paper includes the main ideas of the model used to give public health authorities an additional tool for the decision-making process in Costa Rica by simulating extensive possible scenarios and projections. We include two simulations: a study of the effect of restrictions on the transmission of the virus and a Costa Rica case study that was shared with the Costa Rican health authorities.

    Citation: Juan G. Calvo, Fabio Sanchez, Luis A. Barboza, Yury E. García, Paola Vásquez. An implementation of a multilayer network model for the Covid-19 pandemic: A Costa Rica study[J]. Mathematical Biosciences and Engineering, 2023, 20(1): 534-551. doi: 10.3934/mbe.2023024

    Related Papers:

    [1] Pannathon Kreabkhontho, Watchara Teparos, Thitiya Theparod . Potential for eliminating COVID-19 in Thailand through third-dose vaccination: A modeling approach. Mathematical Biosciences and Engineering, 2024, 21(8): 6807-6828. doi: 10.3934/mbe.2024298
    [2] Tao Chen, Zhiming Li, Ge Zhang . Analysis of a COVID-19 model with media coverage and limited resources. Mathematical Biosciences and Engineering, 2024, 21(4): 5283-5307. doi: 10.3934/mbe.2024233
    [3] Fang Wang, Lianying Cao, Xiaoji Song . Mathematical modeling of mutated COVID-19 transmission with quarantine, isolation and vaccination. Mathematical Biosciences and Engineering, 2022, 19(8): 8035-8056. doi: 10.3934/mbe.2022376
    [4] Hamdy M. Youssef, Najat A. Alghamdi, Magdy A. Ezzat, Alaa A. El-Bary, Ahmed M. Shawky . A new dynamical modeling SEIR with global analysis applied to the real data of spreading COVID-19 in Saudi Arabia. Mathematical Biosciences and Engineering, 2020, 17(6): 7018-7044. doi: 10.3934/mbe.2020362
    [5] Jie Bai, Xiunan Wang, Jin Wang . An epidemic-economic model for COVID-19. Mathematical Biosciences and Engineering, 2022, 19(9): 9658-9696. doi: 10.3934/mbe.2022449
    [6] Yue Deng, Siming Xing, Meixia Zhu, Jinzhi Lei . Impact of insufficient detection in COVID-19 outbreaks. Mathematical Biosciences and Engineering, 2021, 18(6): 9727-9742. doi: 10.3934/mbe.2021476
    [7] Salma M. Al-Tuwairqi, Sara K. Al-Harbi . Modeling the effect of random diagnoses on the spread of COVID-19 in Saudi Arabia. Mathematical Biosciences and Engineering, 2022, 19(10): 9792-9824. doi: 10.3934/mbe.2022456
    [8] Avinash Shankaranarayanan, Hsiu-Chuan Wei . Mathematical modeling of SARS-nCoV-2 virus in Tamil Nadu, South India. Mathematical Biosciences and Engineering, 2022, 19(11): 11324-11344. doi: 10.3934/mbe.2022527
    [9] Rahat Zarin, Usa Wannasingha Humphries, Amir Khan, Aeshah A. Raezah . Computational modeling of fractional COVID-19 model by Haar wavelet collocation Methods with real data. Mathematical Biosciences and Engineering, 2023, 20(6): 11281-11312. doi: 10.3934/mbe.2023500
    [10] Ayako Suzuki, Hiroshi Nishiura . Transmission dynamics of varicella before, during and after the COVID-19 pandemic in Japan: a modelling study. Mathematical Biosciences and Engineering, 2022, 19(6): 5998-6012. doi: 10.3934/mbe.2022280
  • We present a numerical implementation for a multilayer network to model the transmission of Covid-19 or other diseases with a similar transmission mechanism. The model incorporates different contact types between individuals (household, social and sporadic networks) and includes an SEIR type model for the transmission of the virus. The algorithm described in this paper includes the main ideas of the model used to give public health authorities an additional tool for the decision-making process in Costa Rica by simulating extensive possible scenarios and projections. We include two simulations: a study of the effect of restrictions on the transmission of the virus and a Costa Rica case study that was shared with the Costa Rican health authorities.



    Throughout the Covid-19 pandemic, mathematical and statistical models have been implemented to understand disease transmission, forecast the spread of the disease, and plan for strategic sanitary measures to minimize the burden on the public health system [1,2,3,4,5,6]. Deterministic models have been widely used to model infectious diseases in the past [7,8,9]. However, due to human mobility, unpredictable human behavior, and other factors, adaptable models are better suited to evolve with the ever-changing behavior of the population during the pandemic as sanitary measures are implemented in a particular region of interest [10,11].

    Agent-based and network models have been extensively used to study the transmission of SARS-CoV-2 and to determine optimal and feasible measures to diminish the impact of the Covid-19 pandemic. For example, in [12,13], the authors estimate where, when, and how many transmission events happened in urban areas during the first and second waves of the pandemic for particular regions. Similarly, an agent-based model that describes age-specific risk factors for exposure and transmission is analyzed in [14], where they include different layers in their model. Moreover, [15] studies a stochastic, spatially structured individual-based simulation with other spaces (such as households, schools, workplaces, and the wider community) and age structure for an influenza pandemic. In general, agent-based and network models allow for a level of flexibility in which different scenarios can be formulated to provide valuable input to health authorities for the decision-making process; see, e.g., [12,13,16,17,18].

    Recent studies on Covid-19 with similar methodologies include [19,20], but their experiments are for networks with at most 110,000 nodes. In [20], authors used six layers and an SEIR model for Brazil and concluded that the increase of isolation is the best option to keep the situation under the healthcare system capacity by removing layers and reducing social contacts. In [19], authors tested several what-if scenarios on school openings during the vaccination campaigns in France, with a multilayer network similar to ours (schools instead of social contacts). Moreover, in [10] authors constructed a two-layer multiplex network for the coupled spread of disease and conflicting opinions to determine how negative/positive opinions affect the transmission. In [11], authors analyzed the risk of the Covid-19 importation to Mexico through the Air Transportation Network with a multilayer network approach.

    One of the main advantages of a network model is its flexibility when considering individual and social behavior, which allows us to mimic sanitary measures and evaluate possible impacts on the population. As the pandemic progresses, it is possible to mimic early or ongoing behavioral changes such as reductions in community interactions, mask use, mobility restrictions, network contacts, or lockdowns. Timely access to these types of tools contributes to a better reaction in case of emergencies. Moreover, we believe it is essential to share the experience in constructing such models for practical purposes and future studies.

    In this paper, we consider a multilayer temporal network (see [21,22]) capable of efficiently managing large populations. A probability of infection is independently computed daily for each individual according to its interactions, permitting a parallel implementation for real-life applications. We count daily interactions per individual and determine if the virus is transmitted depending on the attributes of each interaction.

    The model we present in this paper has been taken into consideration by health authorities in Costa Rica, with slight modifications related to the use of initial conditions for infected individuals and the parameters related to public health policies pertinent to the country. The complete model includes the entire population (approximately five million individuals) and the 81* counties of the country, and considers different scenarios with gradual re-openings, mobility restrictions, different percentages for mask use, and short and long-term projections of the disease. Results were delivered to the public health authorities as part of the decision-making process [23,24,25,26]. It also has been used to project the impact of Covid-19 variants and vaccination strategies; see [27].

    *There are 82 counties in the country. However, the 82nd was established in 2018, and no historical census data exists to model mobility.

    In this work, we provide insight into the development of multilayer network models with an easy-to-follow implementation that allows generalizing the transmission of infectious diseases. We also include a Matlab app with the algorithm implementation that can be found in [28], where several attributes and parameters can be modified, and the Matlab code.

    Consider a population that lives in a fixed number of counties. Mathematically, we consider a temporal three-layer network (a set of nodes that are connected by edges) where each node represents one individual; see [10,22]. We assume that all individuals are present in all layers and we couple layers by connecting nodes that correspond to the same individual; see the mathematical definition of a multiplex network in [29,Section 5.3]. Intra-layer edges correspond to edges within a layer, and it represents a possible interaction between two individuals. Each layer is an undirected, unweighted, simple graph, an on each layer, each node can have a different number of neighbors, which can change over time.

    Interactions are classified into three layers, which represent different types of contacts with particular characteristics that account for the virus transmission. These layers are: (1) a household network (people that live in the same house), (2) a social network (known contacts such as friends and colleagues), and (3) a sporadic network (strangers that you may encounter in short periods when you visit random locations). These layers are randomly generated for each simulation; layers 1 and 2 are fixed, and layer 3 can change for each time step since usually a node has no control over sporadic encounters.

    Mathematically, each layer (indexed by α{1,2,3}) is a graph Gα=(V,Eα), composed by the set of nodes V that represents the population (which is the same for each layer), and the set of intra-layer edges Eα that connects nodes within layer α. In this case, the full information about the multiplex network is encoded in three distinct adjacency matrices a[α]; see [29,Section 5.3.2].

    Each node on the graph includes several attributes. We classify them into two classes: (1) fixed attributes, such as the county, household members, age group, degree, and graph connectivity for layer 2 (social network), and (2) variable attributes, such as connectivity for layer 3 (sporadic network), epidemiological state, number of days at current epidemiological state, number of interactions with social contacts per day, mask use, and self-care behavior. The former are defined at the beginning of each simulation, and the latter can take different values every time step.

    For the first layer, it is assumed that we know the total number of households per county and the average number of individuals per household per county. We then group all the individuals into households. We assume a complete graph for each family and no edges between different families. It is possible to randomly assign an age group to each family member if data is available to include differences in interactions accordingly.

    In this implementation, we create all the households and assign their inhabitants by using a Poisson distribution with a mean equal to the average number of individuals per household per county. Each individual is labeled with an ID from 1 to N, where N is the size of the population. We create the cells IDtoCounty, IDtoFamily and IDtoAge that return the county, family and age group of a given ID, and the cells familyToIDs and countyToIDs that return the IDs for a given family or county, respectively. These cells allow us to access the information required to build the graph directly.

    The degree of each node in layer 2 (social network) is fixed for each simulation. Nevertheless, a subset of edges is selected on each time step because only a small number of daily contacts is expected to occur. As mentioned before, layer 3 (sporadic network) changes daily. In order to keep track of the transmission of the disease, we only need to include the edges between new exposed individuals E and their contacts.

    For the second and third layers, choosing the contacts of a node requires some assumptions. It is natural to expect different interactions depending on age, location, density, socioeconomic factors, and more. In our implementation, for every node, we need to: (1) define the degree of the node (number of contacts) per layer, given by a uniform distribution on an interval with endpoints equal to the minimum and maximum number of allowed contacts per county per layer, and (2) choose its contacts randomly from different counties based on a given connectivity distribution between counties.

    We choose layer 2 contacts for new nodes as follows. We first create a list of eligible nodes based on a connectivity distribution between counties. For instance, density, demographic information, or mobility data could be used for this purpose. For simplicity, we consider a binary matrix where its entry (m,n) is equal to 1 if an individual from county m can have contacts from county n, and 0 otherwise; see a toy example in Table 1. This means that the eligible list for a node includes all IDs from counties that have connectivity with the node's county.

    Table 1.  Connectivity matrix used in the first experiment. A non-zero entry in the position (j,k) indicates that individuals from county j can have contacts from county k.
    County 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
    1 1 0 0 1 0 1 0 1 0 0 0 0 1 0 0
    2 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1
    3 0 1 1 1 0 1 0 0 0 0 0 1 0 0 0
    4 1 1 1 1 1 0 0 1 1 0 0 1 0 0 0
    5 0 0 1 1 1 1 1 0 1 1 0 1 1 1 0
    6 0 1 0 0 1 1 0 1 0 1 1 1 0 0 0
    7 0 0 0 0 0 1 1 1 1 1 1 1 1 0 1
    8 1 0 0 1 1 1 1 1 1 1 1 1 1 1 0
    9 1 1 1 1 1 1 0 1 1 1 0 0 0 1 0
    10 1 0 1 0 0 0 0 0 0 1 1 0 0 0 0
    11 1 0 1 0 1 0 1 1 0 1 1 0 1 1 1
    12 0 1 0 0 1 1 0 0 1 1 1 1 0 0 1
    13 0 1 1 0 0 0 0 0 1 0 0 0 1 1 0
    14 0 0 0 0 0 1 1 0 1 0 1 1 0 1 1
    15 0 1 0 1 0 0 0 0 1 0 1 0 1 1 1

     | Show Table
    DownLoad: CSV

    We then randomly choose the predefined number of contacts for each node from the eligible list, according to its degree. Further restrictions can be added when defining the eligible list, such as age group, density, and distance between counties. Edges on layer 3 are updated daily similarly, excluding preassigned contacts in layers 1 and 2. We remark that different approaches can be considered for the connectivity between counties, such as probability distributions as in [30], the use of mobility networks from mobile phone data as in [31], or by defining activity potentials as introduced in [32].

    The propagation in our model is based on an SEIR type model with seven compartment states defined by the following epidemiological variables: susceptible (S), exposed (E), diagnosed or observed (O), undiagnosed or not observed (U), hospitalized (H), recovered (R), and dead (D) states; see Figure 1. We consider a discrete-time stochastic model, for which each individual belongs to one compartment, and can move to a feasible next state on a daily basis, according to probabilities that depend on interactions with infected contacts (for moving from S to E) or the number of days at a current state (for any other transition).

    Figure 1.  Model compartment states and transitions.

    A susceptible node i in layer α may become exposed if it contacts an observed or undiagnosed node on its network, depending on a probability of infection piα. Once exposed, it becomes observed or undiagnosed, which might require hospitalization (including intensive care units). Eventually, a node can recover or die. We assume that a fixed fraction of diagnosed cases does not isolate and that hospitalized individuals cannot infect susceptible nodes. Modifications with additional states and transitions are straightforward to include.

    For simplicity, we assume an initial graph given by all the exposed individuals at time zero and their contact networks. If data is available, we can include chains of transmission for a fixed time (depending on data) as an initial condition by creating edges among identified clusters (nodes belonging to a chain of transmission). Data includes anonymous patient ID, ID from an individual that infected him/her (if it was not an imported case), relationship (that we interpret as one of the three layers), county, age group, and date of diagnosis. This information is translated into the multilayer network, applying it to the model's randomly created families and social networks. Before community transmission in Costa Rica, the public health authorities were able to keep track of chains of transmission for approximately four months. This data allowed us to create accurate contact networks for the early stages of the pandemic.

    We model the transmission of the virus in the multilayer network by computing probabilities of infection piα for interactions between a susceptible node i and its infectious contacts. We consider their contacts via the different layers for a given initial set of exposed nodes; adjacent nodes of infectious nodes can become exposed. We then increase the network by including new exposed nodes and their contacts. In this way, we are considering a growing network that increases daily.

    If the probability that node j infects a susceptible node i at layer α at a given day is βij, then the probability of infection piα for node i at layer α is given by

    piα=1ji(1βij), (2.1)

    where j includes all the indices of nodes that can infect node i that particular day at layer α. Mathematically, following the notation introduced in [29,Section 13.2], we can write

    Si+jiEjpiαEi+jiEj,(on layer α)

    since we count daily interactions between a susceptible node i and its exposed contacts. Let Xiα(t){0,1} be a variable that denotes whether a susceptible node (i,α) is infected (1) or not (0). We can write then

    Xiα(t+1)={1Xiα(t)with probability piα,Xiα(t)with probability 1piα. (2.2)

    The value βij may depend on the layer, epidemiological state, social distancing, mask use, and self-care behavior, among other factors. Transmission of the virus can also include imported cases where infection occurs in an external location. Non-periodic events can also be considered (as massive events or the creation of clusters due to super spreading events) to study their impact and possible scenarios, where different probabilities βij can be defined for each particular case.

    Changes in social behavior are a tremendous challenge when modeling the transmission of infectious diseases. We have included the following ideas, allowing us to mimic the effect of different measures that were adopted in several countries:

    1. Bubble size: in periods of strict measures, such as lockdowns or mobility restrictions, we assume a reduction in the number of daily contacts for each individual in layers 2 and 3 (separately), which can depend on its county, emulating differences at least between rural and urban areas due to different population densities.

    2. Mask use, which was mandatory in Costa Rica on July 2020.

    3. Social distance between individuals, which depends on the interaction layer.

    In this paper, we consider two binary random variables useMask and selfCare that indicate whether or not an encounter between two nodes includes mask use and self-care, respectively. We then have different values for βij depending on the interaction between the two nodes and their attributes. We only need to compute piα for every susceptible node i that has infectious contacts. Once piα is determined, a uniformly distributed pseudo-random number ri(0,1) is generated. If ri<piα, node i is marked as an exposed individual at the current time step.

    Any other event between epidemiological compartments depends on a transition probability. Every node has a different probability of moving to a feasible next state (according to Figure 1) depending on the period of time at its current epidemiological state. If such an event should happen, we then store the new state and day; if not, the state remains unchanged. Similar expressions as (2.2) can be written, but for the sake of brevity we omit such equations.

    To explain how data is stored and read, we show a toy example of transition probabilities for the diagnosed class O in Table 2. For this example, a diagnosed individual O has a 40% probability of being hospitalized on day 1. Otherwise, it will remain in the same compartment on day 2. On day three, there are three possibilities: remain at O (50%), move to H (10%) or recover R (40%). Note that each row adds up to 1 (one state should always be chosen according to these probabilities), and eventually, all nodes that have been exposed should end up as R or D. This approach allows us to include variable stay periods in each class if data is available; average stay periods can be considered otherwise. Pseudocode for the modeling of Covid-19, as described previously, is presented in Pseudocode. 1.

    Table 2.  Toy example for the probability of transitions between states from the observed class O; omitted entries are zero. From compartment O, it is possible to move to states H or R as shown in Figure 1.
    time in O S E O U H R D
    1 0.6 0.4
    2 1.0
    3 0.5 0.1 0.4
    4 0.1 0.3 0.6
    5 1.0

     | Show Table
    DownLoad: CSV

    Pseudocode 1 Multilayer network model for Covid-19
    1: procedure networkModel
    2:   Read household information.
    3:   Define initial conditions.
    4:   for day = 1,2,3 do
    5:     for all new exposed nodes E do
    6:       for family of node E has not been created then
    7:         Read connections from household information (line 2).
    8:         Store contacts for E in layer 1 (family).
    9:       end if
    10:       if degree of node E is greater than its current social contacts then
    11:         Create list of eligible contacts.
    12:         Choose remaining nodes randomly for E in layer 2 (social contacts).
    13:         Store contacts for E in layer 2 (social contacts).
    14:       end if
    15:     end for
    16:     for all infectious nodes do
    17:       Create list of eligible contacts depending on bubble size.
    18:       Choose remaining nodes randomly for E in layer 3 (sporadic contacts).
    19:     end for
    20:     for all susceptible nodes S do
    21:       Compute probability of infection.
    22:       Determine if node S has been infected and mark it as new exposed.
    23:     end for
    24:     Determine transitions between epidemiological states.
    25:     Store results for current day.
    26:   end for
    27: end procedure

    We first present a simple experiment to explain how data is used and read in the model and to measure the effect of the variables useMask and selfCare. We consider a population of one million individuals distributed in 15 counties; its demographic distribution and the connectivity matrix are shown in the appendix. We consider initially E0 exposed nodes randomly chosen. Parameters used in these simulations appear in Table 3. We assume that 70% of the population wears a face mask, 35% respects self-care, and 60% of exposed nodes become diagnosed. Values for the probability of infection are shown in Table 3 for layer 2; probabilities are halved for layer 3. Finally, the transition probabilities between states are shown in the appendix. For this particular set of parameters and population, the average running time for a simulation with a serial code is about 40 minutes. We then impose restrictions on social behavior by increasing the percentage of individuals wearing a mask and decreasing the number of daily interactions over two months, starting on day 20, emulating the effect of mild regulations.

    Table 3.  (left) Network parameters in toy example and (right) probability of infection depending on the type of encounter between two nodes for layer 2. Values on layer 3 are halved.

     | Show Table
    DownLoad: CSV

    In this section, we present an application of the model for Costa Rica. As stated earlier, we include chains of transmission for a fixed time as an initial condition by creating edges among identified clusters according to data from the Ministry of Health. To give an insight into reported cases in Costa Rica, we illustrate how diagnosed (confirmed) cases evolved from March 8, 2020, to June 24, 2020; see Figure 2. For simplicity, we only show edges between reported cases and not their entire networks and include a random position for each node within its county.

    Figure 2.  Active cases (red dots) and recovered cases (black dots) for each county in Costa Rica for different dates, with connections between reported cases (edges), according to chains of transmission: (upper left) March 8, 2020, (upper right) March 14, 2020, (lower left) May 3, 2020, (lower right) June 24, 2020.

    Regarding the first layer, families are created first from data from the "National Household Survey" [33]. Layers two and three are constructed as described above. By this time, the degree of nodes in layer two was taken as a uniform distribution in the interval [5,20], and daily, a subset of contacts is considered, depending on the county of residence (greater values for the metropolitan area and lower values for rural zones). The degree of nodes in layer three was taken as a uniform value in the interval [0,20]; see, e.g., [20,34]. Connectivity between counties for Costa Rica is obtained from [33], where a matrix with the household and workplace is available.

    Most of the parameters for transition between states are essentially provided by the Costa Rica Social Security Fund, related to the average number of days in each state, percentages of individuals that require hospitalization or ICU, and mortality rates. On the other hand, we assume in this particular example that 10% of diagnosed individuals do not isolate (still have daily interactions with their contacts) and that there is a relation of 75%/25% for observed and undiagnosed cases in the population. The probability of infection for each encounter between nodes given in (2.1) is modified by considering a calibration parameter γ(0,1] such that

    piα=1ji(1βij)γ.

    For approximating γ, we considered a period where we calibrated the model by using a standard bisection method for finding an optimum value for γ, such that the square error between observed and predicted cases is minimum. The calibration period includes the real number of observed cases according to data provided by health authorities. The value of γ is then fixed for all simulations to obtain short-term projections of Covid-19 cases. An Approximate Bayesian computation was used to estimate the initial value of the transmission rate β for the beginning of the pandemic in Costa Rica considering an SEIR type model; see more details in [35]. We then compute βij=cijβ, where cij is a reduction parameter that depends on the use of mask and self care for each interaction; values for βij are as shown in Table 3.

    We have presented an implementation for a multilayer network to support public health authorities during the Covid-19 pandemic. Capturing the transmission dynamics of the SARS-CoV-2 virus is essential to provide information about disease projections and specific data-driven scenarios. We remark that in some cases, it may be important to consider the whole network, for example, if the probability of contact varies among susceptible individuals or in modeling vector-borne diseases where vectors play an essential role in the transmission.

    The model exhibits a flexible structure that allows us to include particular attributes for each node and contact network, describing the complexities of social behavior and the specific disease. In this article, the implementation of the general structure of the model is described, which can be used in other social and epidemic contexts.

    We first present results for 1,000 simulations in Figure 3 for a fictitious example, where we compared the effect of mild restrictions as described above. We observed a reduction in the peak of hospitalized individuals, essential to reduce the stress on health systems, and a reduction in the peak of observed cases. We also showed that uncertainty among simulations is insignificant, even though the model is not deterministic. This experiment gives insight into how different measures can be translated into effective ways to flatten the curve. Moreover, we observe that even though the final value of cumulative cases is slightly reduced by day 140, the relevance of these results is related to the fact that the peak on the hospitalized individuals curve is reduced, allowing to reduce the stress on the public health system. It is relevant that this kind of result relies on the availability of data to compute times in each compartment. The model is sensitive to the proportion of diagnosed/undiagnosed individuals, but the effect on hospitalizations is expected to be negligible since most undiagnosed individuals have no symptoms.

    Figure 3.  Percentage of cases with no measures (dashed line) and mild restrictions (solid line) for two months starting on day 20. We consider a reduction in the number of daily contacts and an increment in the use of masks with E0=10. The shaded region corresponds to values between the 5th and 95th percentiles of 1000 simulations: (upper left) simulated cumulative number of cases, (upper right) simulated observed individuals, (lower left) simulated hospitalized individuals, (lower right) simulated undiagnosed individuals.

    Regarding the case study of Costa Rica, in Figure 4, we present some numerical results (500 simulations) where we took five days for calibration (we created the network until June 18, 2020), optimized the value for γ according to observed cases between June 19 and June 24, and then projected results for two weeks, until July 7, 2020. We compared the projected cumulative number of cases and hospitalized individuals with real data after June 24, 2020. We observed how the model captures the expected growth in the cumulative cases in a short period and the tendency in the number of hospitalized individuals. We observed a small relative variation in all the simulations. We refer to [23,24,25,26,27] for further scenarios and results of this implementation. We remark that data before June 24, 2020, is exact for cumulative cases, and they are used to calibrate the probability of infection for the following days. Short-term projections are accurate because a five-day calibration window is used. Retrospectively, we observe that the simulated and real data are a good fit for observed and undiagnosed individuals. In the case of hospitalizations, we used average stay periods for hospitalized individuals according to data from the Ministry of Health. Moreover, including age groups has helped to improve results for hospitalizations, and in general terms, the behavior is captured, and our projections provide a worst-case scenario.

    Figure 4.  The number of cases for an experiment with initial conditions until June 19, 2020, and calibration until June 24, 2020. The vertical dashed line corresponds to June 24, 2020. Results are projected from June 24, 2020, until July 7, 2020. The shaded region corresponds to values between the 5th and 95th percentiles of 500 simulations. Dotted lines represent the actual number of reported cases in order to compare the performance of the model: (upper left) simulated cumulative number of cases, (upper right) simulated observed individuals, (lower left) simulated hospitalized individuals, (lower right) simulated undiagnosed individuals.

    Compared to recent studies on Covid-19 with similar methodologies such as [19,20], our temporal network accommodates larger populations. Furthermore, our results mimic some restricted collective behavior changes in the population and can include further details regarding sanitary measures.

    Implementing and executing these models can be challenging. The availability of information is closely related to the specificity of the question that needs to be answered. Information on the initial conditions for the model and parameter value estimates can be a limiting factor when data is unavailable, or its quality is not optimal. Efficient and fast algorithms are necessary due to the on-demand health scenarios that must be simulated frequently, and computational resources limit execution times.

    In a rapidly evolving epidemic such as Covid-19, the model must be calibrated frequently, as social behavior is constantly changing and, in many cases, unpredictable. The model discussed in this paper allows us to adapt and include frequent changes in variables that mimic social behavior. Additionally, the model can be generalized to have other factors, such as the effect of herd immunity and the role of vaccination, as countries take the necessary steps to get back to the new normal.

    Public health authorities were forced to make short-term decisions during a health emergency such as the one caused by the SARS-CoV-2 virus. Mathematical models help authorities systematize the virus transmission mechanisms and project the expected short- and medium-term behavior under some assumptions. In particular, a multilayer network model is a valuable tool as an input in the decision-making process for health authorities. It provides the flexibility to include social factors and an epidemiological structure, enabling a greater level of detail in the study of the disease. However, despite the model's flexibility, limitations mostly pertain to data availability and quality and the ability of health authorities to execute policies based on scientific evidence.

    The authors would like to thank support by the Research Center in Pure and Applied Mathematics and the Department of Mathematics at Universidad de Costa Rica.

    The authors declare there is no conflict of interest.

    Data for Example 1

    We present the fictitious demographic data and parameters used in the first experiment; see Tables 1, 3 and 4. Transition probabilities between epidemiological states used in the toy example depend on the age group; see Tables 2, 5, 6, 7, 8.

    Table 4.  Demographic distribution considered in the toy experiment. We present the number of households (HH), the average number of individuals per household (ANIHH) and age groups (AG) percentage distribution.
    County HH ANIHH AG1 AG2 AG3
    1 5719 3.50 31.0% 59.8% 9.2%
    2 6279 3.38 26.1% 64.9% 9.0%
    3 9448 3.50 29.8% 63.1% 7.1%
    4 89774 3.50 27.9% 63.1% 9.0%
    5 27014 3.50 31.3% 61.7% 7.0%
    6 4409 5.77 29.3% 62.3% 8.4%
    7 18151 3.50 28.5% 63.6% 7.9%
    8 8383 4.08 25.9% 62.3% 11.8%
    9 6894 3.50 33.6% 58.5% 7.9%
    10 13429 3.50 28.3% 62.8% 8.8%
    11 7560 3.50 25.1% 65.0% 9.9%
    12 15267 3.50 37.6% 56.2% 6.2%
    13 9339 3.50 33.4% 58.5% 8.1%
    14 13125 3.50 32.6% 59.8% 7.6%
    15 46892 3.50 26.5% 64.0% 9.5%

     | Show Table
    DownLoad: CSV
    Table 5.  Probabilities from E to O and U depending on the number of days at state E for a fictitious toy example; empty entries are zero.
    Days 1 2 3 4 5 6 7
    E 1.0 1.0 1.0 1.0 1.0 0.8
    O 0.1 0.6
    U 0.1 0.4

     | Show Table
    DownLoad: CSV
    Table 6.  Probabilities from U to R depending on the number of days at state U for a fictitious toy example; empty entries are zero.
    Days 1 12 13 14 15 16 17 18
    U 1.0 1.0 0.9 0.8 0.7 0.5 0.1
    R 0.1 0.2 0.3 0.5 0.9 1.0

     | Show Table
    DownLoad: CSV
    Table 7.  Probabilities from O to H and R depending on the number of days at state O for a fictitious toy example; empty entries are zero.
    Age group 1 Age group 2 Age group 3
    Days O H R O H R O H R
    1 1.000 1.000 1.000
    2 1.000 1.000 1.000
    3 1.000 1.000 1.000
    4 0.978 0.022 0.953 0.047 0.629 0.371
    5 1.000 1.000 1.000
    17 1.000 1.000 1.000
    18 1.000 1.000 1.000

     | Show Table
    DownLoad: CSV
    Table 8.  Probabilities from H to R and D depending on the number of days at state H for a fictitious toy example; empty entries are zero.
    Age group 1 Age group 2 Age group 3
    Days H R D H R D H R D
    1 1.00 1.00 1.00
    2 1.00 1.00 1.00
    3 1.00 1.00 1.00
    4 1.00 1.00 1.00
    5 1.00 1.00 1.00
    6 1.00 1.00 0.75 0.25
    7 1.00 1.00 0.75 0.25
    8 1.00 1.00 0.75 0.25
    9 1.00 1.00 1.00
    10 1.00 1.00 1.00
    11 1.00 0.96 0.04 1.00
    12 1.00 0.96 0.04 1.00
    13 1.00 0.96 0.04 1.00
    14 1.00 0.96 0.04 0.75 0.25

     | Show Table
    DownLoad: CSV


    [1] A. Adiga, D. Dubhashi, B. Lewis, M. Marathe, S. Venkatramanan, A. Vullikanti, Mathematical models for Covid-19 pandemic: A comparative analysis, J. Indian Inst. Sci., 100 (2020), 793–807. https://doi.org/10.1007/s41745-020-00200-6 doi: 10.1007/s41745-020-00200-6
    [2] Center for Disease Control, Covid-19 forecasts: deaths | CDC, 2021. Available from: https://www.cdc.gov/coronavirus/2019-ncov/covid-data/forecasting-us.html (accessed on 02/17/2021).
    [3] Centre for the Mathematical Modelling of Infectious Diseases, 2021. Available from: https://www.lshtm.ac.uk/research/centres/centre-mathematical-modelling-infectious-diseases (accessed on 02/17/2021).
    [4] A. J. Kucharski, T. W. Russell, C. Diamond, Y. Liu, J. Edmunds, S. Funk, et al, Early dynamics of transmission and control of Covid-19: A mathematical modelling study, Lancet Infect. Dis., 20 (2020), 553–558. https://doi.org/10.1016/S1473-3099(20)30144-4 doi: 10.1016/S1473-3099(20)30144-4
    [5] L. Star, S. M. Moghadas, The role of mathematical modelling in public health planning and decision making, Purple Paper, National Collaborative Center for Infectious Diseases, 2010.
    [6] O. Torrealba-Rodriguez, R. A. Conde-Gutiérrez, A. L. Hernández-Javier, Modeling and prediction of Covid-19 in Mexico applying mathematical and computational models, Chaos Solit. Fractals, 138 (2020). https://doi.org/10.1016/j.chaos.2020.109946 doi: 10.1016/j.chaos.2020.109946
    [7] M. Choisy, J.-F. Guégan, P. Rohani, Mathematical modeling of infectious diseases dynamics, in Encyclopedia of Infectious Diseases: Modern Methodologies, 379 (2007). https://doi.org/10.1002/9780470114209.ch22
    [8] K. Dietz, D. Schenzle, Mathematical models for infectious disease statistics, in A Celebration of Statistics (eds. A. C. Atkinson and S. E. Fienberg), Springer, New York (1985), 167–204. https://doi.org/10.1007/978-1-4613-8560-8_8
    [9] H. W. Hethcote, The mathematics of infectious diseases, SIAM Rev., 42 (2000), 599–653. https://doi.org/10.1137/S0036144500371907 doi: 10.1137/S0036144500371907
    [10] K. Peng, Z. Lu, V. Lin, M. R. Lindstrom, C. Parkinson, C. Wang, et al, A multilayer network model of the coevolution of the spread of a disease and competing opinions, Math. Models Methods Appl. Sci., 31 (2021), 2455–2494. https://doi.org/10.1142/S0218202521500536 doi: 10.1142/S0218202521500536
    [11] A. Y. Yamamoto-Elizalde, E. Hernández-Lemus, G. de Anda-Jáuregui, Diffusion processes in multilayer transportation networks: the flight of the coronavirus, Rev. Mex. Fís., 66 (2020), 516–524. https://doi.org/10.31349/revmexfis.66.516 doi: 10.31349/revmexfis.66.516
    [12] A. Aleta, D. Martín-Corral, M. A. Bakker, A. Pastore y Piontti, M. Ajelli, M. Litvinova, et al, Quantifying the importance and location of SARS-CoV-2 transmission events in large metropolitan areas, Proc. Natl. Acad. Sci. USA, 119 (2022). https://doi.org/10.1073/pnas.2112182119 doi: 10.1073/pnas.2112182119
    [13] A. Aleta, D. Martín-Corral, A. Pastore y Piontti, M. Ajelli, M. Litvinova, M. Chinazzi, et al, Modelling the impact of testing, contact tracing and household quarantine on second waves of Covid-19, Nat. Hum. Behav., 4(2020), 964–971. https://doi.org/10.1038/s41562-020-0931-9 doi: 10.1038/s41562-020-0931-9
    [14] J. A. Moreno-López, B. Arregui-García, P. Bentkowski, L. Bioglio, F. Pinotti, P. -Y. Boëlle, et al, Anatomy of digital contact tracing: role of age, transmission setting, adoption, and case detection, Sci. Adv., 7 (2021). https://doi.org/10.1126/sciadv.abd8750 doi: 10.1126/sciadv.abd8750
    [15] N. M. Ferguson, D. A. T. Cummings, C. Fraser, J. C. Cajka, P. C. Cooley, D. S. Burke, Strategies for mitigating an influenza pandemic, Nature, 442 (2006), 448–452. https://doi.org/10.1038/nature04795 doi: 10.1038/nature04795
    [16] J. A. Firth, J. Hellewell, P. Klepac, S. Kissler, M. Jit, K. E. Atkins, et al, Using a real-world network to model localized Covid-19 control strategies, Nat. Med., 26 (2020), 1616–1622. https://doi.org/10.1038/s41591-020-1036-8 doi: 10.1038/s41591-020-1036-8
    [17] A. Karaivanov, A social network model of Covid-19, PLoS One, 15 (2020). https://doi.org/10.1371/journal.pone.0240878 doi: 10.1371/journal.pone.0240878
    [18] P. Maheshwari, R. Albert, Network model and analysis of the spread of Covid-19 with social distancing, Appl. Netw. Sci., 5 (2020). https://doi.org/10.1007/s41109-020-00344-5 doi: 10.1007/s41109-020-00344-5
    [19] C. Bongiorno, L. Zino, A multi-layer network model to assess school opening policies during a vaccination campaign: A case study on Covid-19 in France, Appl. Netw. Sci., 7 (2022). https://doi.org/10.1007/s41109-022-00449-z doi: 10.1007/s41109-022-00449-z
    [20] L. F. S. Scabini, L. C. Ribas, M. B. Neiva, A. G. B. Junior, A. J. F. Farfán, O. M. Bruno, Social interaction layers in complex networks for the dynamical epidemic modeling of Covid-19 in Brazil, Phys. A Stat. Mech. Appl., 564 (2021). https://doi.org/10.1016/j.physa.2020.125498 doi: 10.1016/j.physa.2020.125498
    [21] M. De Domenico, C. Granell, M. A. Porter, A. Arenas, The physics of spreading processes in multilayer networks, Nat. Phys., 12 (2016), 901–906. https://doi.org/10.1038/nphys3865 doi: 10.1038/nphys3865
    [22] M. Kivelä, A. Arenas, M. Barthelemy, J. P. Gleeson, Y. Moreno, M. A. Porter, Multilayer networks, J. Complex Netw., 2 (2014), 203–271. https://doi.org/10.1093/comnet/cnu016 doi: 10.1093/comnet/cnu016
    [23] Pan American Health Organization (PAHO/WHO), Costa Rica: Pandemia Covid-19. Informe estratégico mensual No3. 2020. Available from: https://www.paho.org/es/documentos/costa-rica-pandemia-covid-19-informe-estrategico-mensual-no-3 (accessed on 03/09/2021).
    [24] Pan American Health Organization (PAHO/WHO), Costa Rica: Pandemia Covid-19. Informe estratégico mensual No4. 2020. Available from: https://www.paho.org/es/documentos/costa-rica-pandemia-covid-19-informe-estrategico-mensual-no-4 (accessed on 03/09/2021).
    [25] Pan American Health Organization (PAHO/WHO), Costa Rica: Pandemia Covid-19. Informe estratégico mensual No5. 2020. Available from: https://www.paho.org/es/documentos/costa-rica-pandemia-covid-19-informe-estrategico-mensual-no-5 (accessed on 03/09/2021).
    [26] Pan American Health Organization (PAHO/WHO), Costa Rica: Pandemia Covid-19. Informe estratégico mensual No6. 2020. Available from: https://www.paho.org/es/documentos/costa-rica-pandemia-covid-19-informe-estrategico-mensual-no-6 (accessed on 03/09/2021).
    [27] Y. E. García, G. Mery, P. Vásquez, J. G. Calvo, L. A. Barboza, T. Rivas, et al, Projecting the impact of Covid-19 variants and vaccination strategies in disease transmission using a multilayer network model in Costa Rica, Sci. Rep., 12 (2022). https://doi.org/10.1038/s41598-022-06236-1 doi: 10.1038/s41598-022-06236-1
    [28] EpiMEC, Covid-19 app, 2021. Available from: www.github.com/epimec.
    [29] G. Bianconi, Multilayer networks: structure and function, Oxford University Press, 2018. https://doi.org/10.1093/oso/9780198753919.001.0001 doi: 10.1093/oso/9780198753919.001.0001
    [30] L. Alessandretti, U. Aslak, S. Lehmann, The scales of human mobility, Nature, 587 (2020), 402–407. https://doi.org/10.1038/s41586-020-2909-1 doi: 10.1038/s41586-020-2909-1
    [31] S. Chang, E. Pierson, P. W. Koh, J. Gerardin, B. Redbird, D. Grusky, et al, Mobility network models of Covid-19 explain inequities and inform reopening, Nature, 589 (2021), 82–87. https://doi.org/10.1038/s41586-020-2923-3 doi: 10.1038/s41586-020-2923-3
    [32] N. Perra, B. Gonçalves, R. Pastor-Satorras, A. Vespignani, Activity driven modeling of time varying networks, Sci. Rep., 2 (2012). https://doi.org/10.1038/srep00469 doi: 10.1038/srep00469
    [33] Instituto Nacional de Estadística y Censos, Población | INEC, 2011. Available from: https://www.inec.cr/poblacion (accessed on 02/17/2021).
    [34] J. Mossong, N. Hens, M. Jit, P. Beutels, K. Auranen, R. Mikolajczyk, et al, Social contacts and mixing patterns relevant to the spread of infectious diseases, PLoS Med., 5 (2008). https://doi.org/10.1371/journal.pmed.0050074 doi: 10.1371/journal.pmed.0050074
    [35] F. Sanchez, L. A. Barboza, P. Vásquez, Parameter estimates of the 2016–2017 Zika outbreak in Costa Rica: an approximate Bayesian computation (ABC) approach, Math. Biosci. Eng., 16 (2019) 2738–2755. https://doi.org/10.3934/mbe.2019136 doi: 10.3934/mbe.2019136
  • Reader Comments
  • © 2023 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(2355) PDF downloads(120) Cited by(0)

Figures and Tables

Figures(4)  /  Tables(8)

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog