key: cord-0615833-o8k66pes authors: Block, Per; Hoffman, Marion; Raabe, Isabel J.; Dowd, Jennifer Beam; Rahal, Charles; Kashyap, Ridhi; Mills, Melinda C. title: Social network-based distancing strategies to flatten the COVID 19 curve in a post-lockdown world date: 2020-04-15 journal: nan DOI: nan sha: 3324f2015b89803fa67a6ee320989fcf848a6345 doc_id: 615833 cord_uid: o8k66pes The COVID-19 pandemic highlights the importance of effective non-pharmaceutical public health interventions. While social distancing and isolation has been introduced widely, more moderate contact reduction policies could become desirable owing to adverse social, psychological, and economic consequences of a complete or near-complete lockdown. Adopting a novel social network approach, we evaluate the effectiveness of three targeted distancing strategies designed to 'keep the curve flat' and aid compliance in a post-lockdown world. We simulate stochastic infection curves that incorporate core elements from infection models, ideal-type social network models, and statistical relational event models. Our models demonstrate that while social distancing measures clearly do flatten the curve, strategic reduction of contact can strongly increase their efficiency, introducing the possibility of allowing some social contact while keeping risks low. Limiting interaction to a few repeated contacts emerges as the most effective strategy. Maintaining similarity across contacts and the strengthening of communities via triadic strategies are also highly effective. This approach provides empirical evidence which adds nuanced policy advice for effective social distancing that can mitigate adverse consequences of social isolation. The non-pharmaceutical intervention of 'social distancing' represents a central policy in the battle to reduce the spread of COVID-19. The policy attempts to slow the speed of disease transmission by maintaining a physical distance between people and reducing social interactions (1) . The aim is to slow the growth rate of infections and avoid overburdening health-care systems, a strategy now widely known as 'flattening the curve' (2) . Social distancing measures include bans on public events, the closure of schools, universities and nonessential workplaces, the limiting public transportation, travel and movement restrictions, and public information campaigns urging citizens to voluntarily alter their private social interactions. The majority of existing empirical studies on mitigating influenza pandemics focus on the effectiveness of different individual measures, such as travel restrictions, school closures or vaccines (3, 4) . Few have considered interventions and the structure of social networks concurrently. When social networks are examined, it is generally in relation to vaccination strategies (5), contact tracing, or analysing the spread of the virus through social networks (6, 7) . Here we outline key behavioural strategies for selective contact reduction that every individual and organisation can adopt in order to maximise the benefits of limiting contact and social distancing. Applying insights from social network research and statistical network models, we demonstrate how the rate and extent of the spread of the virus differs by individuals' specific choices and organisational routines to change local contact network configurations. We introduce and assess the impact of three distinct strategies: interrupting geographically and socio-demographically distant contacts, decreasing ties that bridge social clusters, and creating 'micro-communities' by repeatedly interacting with the same partners. Since the timing of the development of a vaccine is uncertain, it is vital to develop effective non-pharmaceutical interventions that can be sustained in the medium to long term. Although current guidelines in many countries recommend or even mandate by law severe restrictions regarding social interaction at some point, some contact may be unavoidable, such as the provision of care. Furthermore, as time passes, issues related to the social, psychological, and economic costin addition to compliance fatigueare likely to emerge, which requires the consideration and evaluation of different approaches to the practice of social distancing over the long-term. Once the first peak of the epidemic has passed and strict restrictions can be eased, such longer-term strategies are likely to be needed to avoid a resurgence of an unhindered second wave of infection. Our approach recognises the cost ofand potential compliance fatigue withcomplete isolation (8) . Fully quarantining non-infected, psychologically vulnerable individuals over prolonged periods can have severe mental health consequences, and the strain of isolation can foster a rise in stress, negative emotions and domestic violence. Due to these costs, compliance with recommendations to strategically reduce contact is likely to be higher than compliance with complete isolation. Targeted recommendations for the strategic alteration of social contacts can mitigate psychological and physical harm as well as going a long way to contain of COVID-19 and, thus, keep the curve flat in the longer run. Scientific evidence on the effectiveness of non-pharmaceutical public health interventions has often relied on 'expert recommendations' rather than a strong scientific evidence base (8, 9) . The most common and efficient interventions are the promotion of hand hygiene and respiratory etiquette (10) . Evidence regarding the effectiveness of masks and personal protective equipment for the general public is mixed (11) . Another common strategythe isolation of infected individuals within healthcare facilitiesis infeasible over the course of widespread epidemics such as COVID-19, leading to the necessary adoption of social isolation and distancing measures. During previous outbreaks (e.g. SARS-CoV), social distancing measures such as workplace closures, limitation on public gatherings, and travel restrictions were implemented. The cancelling of public gatherings and long-distance travel restrictions appears to decrease rates of transmission and morbidity (11) . There is mixed evidence of the effectiveness of school closures on respiratory infections, possibly because of timing of school closures in the outbreak, or its effect only on school-aged children (12) . There has been considerably less research on the effectiveness of types of social distancing measures beyond the interventions discussed above. Social separation for a long period may have adverse effects, such as loneliness and mental health, but also disrupts economic life (workplace), faith (religious worship), and family (visits of those in care, funeral attendance). Existing research has demonstrated that interventions are only effective and feasible when the public deems them acceptable (11) . For this reason, we adopt a novel approach that assesses the effectiveness of adaptions that rely on less confinement. Flattening the (infection) curve represents a decrease in the number of infected individuals at the height of the epidemic and distributing the incidence of cases over a longer time span (2) . This is largely achieved by reducing the reproduction number (R), which is how many individuals are infected by each carrier. Reducing the reproduction number decreases the growth rate of infected cases. Social distancing policies are therefore implicitly designed with the objective of limiting the amount of social contact between individuals. By introducing a social network approach, we propose that a decrease in the reproduction number can simultaneously be achieved by managing the network structure of interpersonal contact. From a social network perspective, the infection curve is closely related to the concept of network distance (or path lengths) (13) , which indicates the number of network steps needed to connect two nodes. Popularised examples of network distance include the 'six degrees of separation' phenomenon (14) , which claims that any two people are connected through at most five acquaintances, the closely related 'six degrees of Kevin Bacon' which applies the concept to co-appearance in movies, and the infamous Erdös number: the number of "hops" needed to connect the author of a paper with the prolific late mathematician Paul Erdős. The relation between infection curves and network distance can be illustrated with a simple network infection model as shown in Figure 1 . Panels A and C depict two networks with different path lengths, each with one hypothetically infected COVID-19 seed node (purple square). At each time step, the disease spreads from infected nodes to every node to which they are connected; thus, in the first step the disease spreads from the seed node to its direct neighbours. In the second step, it spreads to their neighbours, who are at network distance 2 from the seed node, and so forth. Over time, the virus moves along network ties until all nodes are infected. The example shows that the network distance of a node from the infection source (indicated by node colour in Fig. 1 , A and C) is identical to the number of time-steps until the virus reaches it. Thus, the distribution of distances to the source directly maps onto the curve of new infections (Fig. 1, B and D). In our example, both networks have the same number of nodes (individuals) and edges (interactions); however, the network depicted in panel C has a much flatter infection curve than the network in panel A, even though eventually all nodes are infected in either case. This is because the latter network has longer path lengths than the former oneor in other words, more network distance between the individuals (nodes) due to a different structure of interaction, despite the same absolute contact prevalence. Thus, when adopting a network perspective, flattening the curve is equivalent to increasing the network path from an infected individual to all others, which can be achieved by restructuring contact (next to the generally proposed reduction of contact). Consequently, one aim of social distancing should be increasing the average network distance between individuals by smartly manipulating the structure of interactions. The aim of this study is to provide insight on how to keep the COVID-19 curve flat while allowing some social interaction. Our illustration shows a viable path towards achieving our goal: we must devise interaction strategies that make real-life networks look more like network C, and less like network A. Following official social distancing advice, the most critical strategy to increase infection path lengths is to minimise social contact whenever possible. When enough social contact is interrupted, the network distance between healthy individuals and those with COVID-19 will become very long on average, regardless of which connections in particular are severed. However, as we demonstrate in this section, similar increases in path length can be obtained by strategically reducing contacts. Understanding which types of strategies are more efficient in increasing path lengths and flattening the curve can inform guidance to shift from short-term (complete lockdown) to long-term management of COVID-19 contagion processes. The contact reduction strategies we propose are based on insights regarding how items flow through networks, such as diseases, memes, information, or ideas (15, 16, 17, 18) . Such spread is generally hampered when networks consist of densely connected groups with few connections in-between, such as among individuals who live in isolated villages scattered over sparsely inhabited rural areas (19) . In contrast, contacts that bridge large distances are related to short paths and rapid spread, For example, when commuters travel between these isolated villages, network distances decrease substantially (15, 19) . Using this knowledge, we can avoid rapid contagion by encouraging social distancing strategies that increase clustering (such as staying within a village) and reduce network short-cuts (such as not commuting between villages) to reap the largest benefit of reducing social contact while keeping the limiting disease spread to a minimum. We propose three strategies that are all aimed at increasing network clustering and eliminating short-cuts. While a more realistic example of the proposed strategies is simulated in the next section, we outline the underlying principles of the model in Figure 2 . Panel A depicts a network in which densely connected communities are bridged by random, long-range ties; this type of network is commonly known as a small world network (19) . It is widely used in simulations, as it represents core features of real-world contact networks, in particular social clustering combined with short network distances, which makes it particularly useful for our illustration (15) . Panels A to D illustrate the successive, targeted contact reduction strategies, while the bar-graph depicts the distribution of distances of all individuals from one of the two highlighted infection sources. To implement the first strategy, individuals need to pay attention to characteristics of their contact partners. Individuals tend to have contact with others which share common attributes, such as the neighbourhood they live in (geographical), the companies they work at (organisational), or that are of similar age (demographic) (20, 21, 22) . This is called 'homophily' and is a ubiquitous and well-established feature of social networks. The node colour in Figure 1 can represent any of these characteristics, such as neighbourhood of residence. Because we are mostly connected to similar others, contact with dissimilar individuals tends to bridge to more distant communities. Restricting one's contact to those most similar helps limit potential network bridges that are known to substantially reduce network path lengths. Panel B in Figure 1 shows the resulting network structure after this strategy of tie reduction has been implemented. The associated bar-graph illustrates that a substantial number of nodes are at a larger distance from the infection source following this network intervention. As indicated in the figure, this strategy promises success in case the characteristic takes on a variety of values for different individuals that promotes forming small communities. A simple split such as for example, along gender or ethnic lines does not promise measurable success, but will instead increase negative consequences of distancing measures. This strategy is supported by epidemiological modelling which suggests that co-residence and mixing of individuals from different ages strongly increased the spread of infectious disease, such as COVID-19, in some countries (23) . Providing a concrete example of a behavioural recommendation for a post-lockdown world, if people only interact with others that live within 3 blocks (increase geographic similarity by constraining the area radius of gyration), more than 30 transmission events would be necessary for a disease to travel 100 blocks. Workplaces where many individuals need to come together can similarly implement routines to limit contact between groups that live in the same geographically distinct areas or come from different age-groups. The more similar a potential contact is, the closer he/she lives, and the more organisations that are shared (e.g., working in the same team; children in the same classroom), then the lower the comparative risk to keeping this contact. For the second strategy, individuals must consider with whom their contact partners usually interact. A common feature of contact networks is 'triadic closure', referring to the fact that contact partners of an individual tend to be connected themselves (21, 24, 25) . Tie embedding in triads is a particularly useful topology for containing epidemic outbreaks. Consider a closed triad of individuals i, j, and h. When i infects j and h, the connection between j and h does not contribute to further disease spread: this contact is redundant (26) . When comparing networks with an identical number of connections, networks with more redundant ties tend to have longer path lengths. Accordingly, when removing contact to others, one should prioritize removing those ties that are not embedded in triads, since these ties generally decrease path lengths more. In practice, this means that contact with people who are not also connected to one's usual social contacts should be curtailed. Panel C in Figure 1 illustrates the resulting structure if ties that are not part of closed triads or 4-cycles are removed. In the ideal-type example presented, this intervention not only further reduces the network distance of many nodes from the infection sources, but also creates isolated communities or 'pods' that cannot be infected by the virus. For the third strategy, individuals need to pay attention to their latest realised interactions and restrict their interactions these same people. This strategy reduces the number of contact partners rather than number of interactions, which is particularly important when contact is necessary for psychological well-being. This strategy of limiting contact to very few others with repeated interactions can be in the spirit of a social contract with others to create microcommunities to only interact within the same group delineated by common agreement. While this requires coordination between interaction partners to only meet with the same designated others, the resulting micro-communities are very difficult for a virus to enter from the outside, orimportantlyif the infection is contracted by one contact, for the virus to spread further. Another implication of this strategy with respect to repeat interaction partners includes having social contacts that overlap across more than one contact group. For example, meeting colleagues outside of work for socializing will have less of an impact on the spread of the virus relative to a separate group of friends, since a potential infection path already exists. Or having tight and consistent networks of medical or community-based carers for those vulnerable to COVID-19 (elderly, pre-existing conditions) limits the transmission chain. Organisations can equally leverage this strategy in structuring work-routines by streamlining work-flows so that individuals rely on repeat contact to few others rather than workers dispersing throughout an organisation. Panel D in Figure 2 illustrates the resulting network structure. Strategy 2 and 3 are similar in that they build on pre-existing network structures. However, their difference lies in determinants of individual interaction. Strategy 2 relies on a stable and established network structure of durable relations: who are my 'friends' (contact partners) and which pairs of my friends also know each other? Strategy 3 relies on preceding meetings in the immediate pastwhom did I meet last? In this sense strategy 2 is easier to implement, since the rules regarding whom to meet do not change over the short term, while strategy 3 requires coordination of action. To this point, the strategies were illustrated on an intuitive but highly stylized model of epidemic spread. We demonstrate how our three contact strategies impact on infection curves using more formal stochastic infection models that incorporate core elements from infection models, ideal-type network models and statistical relational event models. The baseline (null) model represents how infection would spread in the case of no social distancing at all. First, as in classical disease modelling, individuals (actors) in our simulation can be in three states: susceptible, infected, and removed (recovered and no longer susceptible to infection, or deceased). Most actors begin in the susceptible state, while q random actors are in the infected state (assumed as one per thousand in our simulations). This can represent, for example, the post-lockdown scenario in which only few cases of COVID-19 remain in the population; however, variation of q might also be used to determine the levels at which quarantine could end and we can enter a post-lockdown world. During the simulation, susceptible actors can transition to the infected state by having contact with infected others (contact partners will be called alters from here on). A designated time after becoming infected, actors move to the removed state. Second, as in many previous modelling efforts regarding dynamics of epidemics such as influenza, we do not assume homogeneous contact probabilities between all pairs of actors in an affected population but impose a network structure that limits contact opportunities between actors (27, 28, 29) . This network represents the usual contact people had in a pre-COVID-19 world. The networks we generate stochastically for our model follow fairly standard ideal-type network generating approaches. Representing place of residence, actors are assumed to have a fixed geographic location, represented by coordinates in a two-dimensional space. They are members of groups, such as households, institutions or workplaces, and have individual attributes, such as age, education, or income. Network ties are generated so that actors have some connections to geographically close alters, some ties to members of the same groups (representing e.g., co-workers), some ties to alters with similar attributes (e.g., similar age), and, finally, some ties to random alters in the population (e.g., haphazardly acquired friends not captured by the previous variables). The exact algorithms which define the networks are described in the Methods section. The importance of different tie formation mechanisms, the total number of network ties of actors, the size of the population and so forth are varied in different simulation scenarios to ensure that results are independent of arbitrary assumptions about specific network features within the modelling framework. Descriptive statistics of the different scenarios employed in the simulations are presented in Table 1 and parameters to generate these are presented in Table S1 in the Appendix. The generated networks represent the structure of alters that an actor can possibly interact with. They represent the members of their so-called 'social circles' (20, 21, 30) with whom they interact with in normal, pre-COVID life (including family, friends, schoolmates or co-workers). As the third component of the model, actors in the network interact at discrete times with alters with which they have a network connection, or in other words, they meet somebody from within their social circle or usual social contacts. This represents the actual contact people have in their lives. In case either interaction partner is infected but the other one is not, the disease is transmitted from the infected actor to the susceptible one during these interaction events. However, in contrast to other modelling approaches, we do not assume that actors interact with random alters in their personal network but, rather, that they are purposeful actors who can make strategic choices with whom to interact. These strategic choices are at the core of our advice for policy interventions for individuals in attempts to increase the efficiency of social distancing. In our model, all choices are stochastic; strategies increase the likelihood of interacting with specific alters but are not deterministic. The exact formulation of with whom to interact follows a multinomial logit model to choose among the possible interaction partners as given by the network structure. This type of model has previously been used in network evolution models (31) and relational event models (32, 33) , as outlined in the Methods section. As discussed above, our simulations explore three interaction strategies. First, in our 'birds of a feather' homophily strategy, actors choose to interact predominantly with others that are similar to themselves based on a specified attribute used at the network generation stage. This could represent for instance interaction only with those within their age group or neighbourhood. Second, actors can adopt our 'strengthen community' or triadic strategy and chose to mostly interact with alters that have common connections in the underlying network, for example as common among family members. Third, adopting our 'repeated contact' strategy, actors can base their interaction choices on whom they have interacted with in their previous contacts, both as sender and receiver of an interaction. This might be, for instance, repeated care exchanges by the same individuals for a vulnerable or elderly neighbour or interactions between the same (two) households. In each case, a separate statistical parameter in the multinomial model determines the probabilities of interaction partners based on the: (i) similarity of alters, (ii) number of common contacts the actor and the alter have; and, (iii) repeat interaction with one of the last j contact partners (see Methods). These three strategies are compared to a baseline case that mirrors the simple reduction of contact in which individuals have the same amount of interactions but choose randomly among their network contacts (a naïve contact reduction strategy) and a null model that represents contact patterns without any social distancing. To make the comparison of interaction strategies independent of the arbitrary size of statistical parameters, we need to find a common metric that means parameter sizes are comparable in the extent to which they influence strategy decisions. To achieve this, we empirically calibrate parameters so that the average entropy in the probability distribution that represents the likelihood of different interaction choices is identical for all strategies (see Methods) (34) . We present the average outcome of one scenario of our simulation study in Figure 3 . Table 2 . In lieu of an effective vaccine for COVID-19, governments need to implement effective nonpharmaceutical policies to 'flatten the curve' in order to save lives and protect health systems from becoming overloaded. Social and physical distancing have been suggested as one of the most prominent public health interventions against COVID-19. While a complete or nearcomplete lockdown has been adopted in many countries in order to reduce the first peak of hospital admissions, some form of contact reduction is likely to be necessary in the longer run, possibly until a vaccine is widely available. Adopting a social network approach, we model and test the effectiveness of three simulated strategies that can limit COVID-19 spread as a longer-term, post-lockdown strategy, while allowing to some extent social and economic life to converge towards pre-COVID levels. The proposed strategies are: (1) increasing similarity in contact partners (birds of a feather strategy), (2) strengthening community structure via triadic interaction; and, (3) repetition of contacts in relatively closed social networks. This study provides governments and policymakers with much sought-after scientific evidence regarding the nuanced effects of different social distancing measures beyond the blanket terminology that has been introduced until now. Since public adherence is essential in what may be months of social distancing measures, this study provides more concrete and tailored advice to the public to empower them with more knowledge in order to design their own personal distancing strategies to generate safe social networks in the medium to long term, both in the private sphere, schools and the workplace. We anticipate that this social network approach offers considerable new insights. By enabling individuals to differentiate between 'high-impact' and 'low-impact' contactsand thus to strategically adjust their behaviour higher levels of compliance could be the result. Instead of asking individuals to completely self-isolate alone, the emphasis on similar, community-based, and repetitive contact measures could make the persistent implementation of these measures more palatable. These more nuanced measures will lighten the psychological burden on those who are likely to suffer the most from social isolation, such as individuals with depression or anxiety or those in difficult living arrangements. At the same time, these measures might assist organisations in structuring contact in economic life so that more businesses can remain operational to some degree by streamlining and restructuring intra-organisational contact, or re-opening schools, whilst not necessarily increasing susceptibility to Covid-19 or other future pandemics, A number of concrete behavioural guidelines for different contexts can be deduced from these strategies. For hospital and other workers, it means keeping the composition of shifts constant over prolonged amounts of time (i.e., repeating contact) and, where possible, distribute people into shifts based on, for example, residential proximity (i.e., homophily). In other organisations, mandating different starting and end-times of workdays and break times by organisational unit can keep contact in small groups and reduce it between them. For schools it means maintaining the similar composition of classrooms, distribution of children within their grades to residential proximity and varying break times. The strategies outlined above can also be applied to private situations in which contact is essential. For example, when providing private care to elderly relatives or neighbours, our models suggest that it is important that the same person provides this care, rather than different relatives or individuals taking turns. The person who provides such care should be the one with fewest bridging ties to other groups and the one who lives geographically closest to minimise transmission risk for all involved and the wider population. Similarly, repeated social meetings of individuals of similar ages that live alone carry a comparatively low risk. However, when in a household of five, each person engages in social meeting with their own sets of friends, many short cuts are being formed that are potentially connected to a very high risk of spreading the disease. Similarly, groups of children playing in the streets potentially create infection paths between many, otherwise unconnected families. In conclusion, we show that simple behavioural rules can go a long way in 'keeping the curve flat'. Once the most stringent lockdown measures can be eased, policymakers that give guidance might supplement their appeal to minimize contact with the request to make smart and personalized choices in which contacts are contrived, functional and recreational. By following these simple strategies of homophilous interactions, strengthening communities and repeated contact with the same individuals, governments will be able to more effectively describe the impact of social distancing and the public more likely to feel they have the control and understand their logic and follow them. The stylised binary networks that represent interaction opportunities of individuals are generated as the sum of four sub-processes, representing a tie generated in any sub-process that will be transferred to the overall network. Jointly, the sub-processes create networks that have realistic values of local clustering, path-lengths, and homophily. All ties in the network are defined as undirected. The number of actors in the network is denoted by . The second sub-process represents tie formation in organisational foci, e.g. workplaces (36) . First, each actor is randomly assigned to a group so that all groups have on average members. Second, each actor forms ties at random to other members within the same groups with a probability of . For example, when = 10 and = 0.5, a tie from each actor to every alter in the same group is formed with a probability of 50%. Third, unilateral ties are symmetrised as above. The third sub-process represents tie-formation based on homophily, for example similarity in age or income (22) . First, each actor is assigned an individual attribute between 0 and 100 with uniform probability (the scale of cancels later in the model). Second, for each actor, the normalised similarity , to all alters is calculated, which is the absolute difference between and for actor , divided by 100 (the range of the variable). Third, each actor draws the number of contacts it forms in this subprocess ℎ , from a uniform distribution between ℎ , and ℎ , . Fourth, each actor creates ℎ , ties to alters in the networks with a probability that is proportional to ( ) , where regulates the extent to which individuals prefer more similar others. Across all reported simulations, we set = 2. Fifth, unilateral ties are symmetrised as above. The fourth sub-process represents haphazard ties that are not captured by any of the above processes. Here simply ties per actor are created with respect to randomly chosen alters. Let the binary network represent the underlying social ties between individuals, labelled from 1 to . Each node is characterised by an attribute such as its age. Our model aims to reproduce the process of individuals interacting with some of their social connections. These interactions occur in a sequence, using mechanics similar to the standard Dynamic Actor-Oriented Model (33) which was designed for relational events. More specifically, our model builds upon the following assumptions: 1. At each step of the process, one individual is picked at random and initiates an interaction with a probability , representing the percentage of contacts thy maintain. 2. An actor initiating an interaction can only pick one interaction partner. Only neighbours in the underlying network can be chosen. The decision to interact is unilateral and depends on characteristics of the two persons. 4. All individuals fully recover from the disease at a fixed rate. Once they recover, they can no longer be infected. Let be the set of neighbours of a given individual in the network . We define for each step of the process, ( , ) as the number of prior interactions between and a neighbour , within the last interactions of . In our simulations, the number was arbitrarily set to 2 but could be further adjusted. The probability for to pick is defined as a multinomial choice probability (37) , following the logic of the DyNAM (33) and previous stochastic network models (31) . The intuition behind this distribution is that each potential partner in is assigned an objective function These probabilities can be loosely interpreted in terms of log-odd ratios, similarly to logit models. Given two neighbours 1 and 2 for which the statistic increases of one unit (i.e., ( , 2 ) = ( , 1 ) + 1), the following log ratio simplifies to: For example, if we use = and = log(2), the probability of picking one neighbour present in the last contacts of is twice as high as picking another neighbour who is not. The simulation of the model steps for different parametrizations were implemented in R and are available in the Supplementary Material. The strategy of picking a neighbour at random corresponds to the model without any statistic , reducing the probability distribution to a uniform one. For the three other strategies, the parameters ℎ ℎ , , and are adjusted to keep the models comparable. To this end, we use the measure of explained variation for dynamic network models devised by Snijders (34) . This measure builds upon the Shannon entropy and can be applied to our model to assess the degree of certainty in the choices individuals make. For a given individual at a step , this measure is defined as: ( , | , ) = 1 + ∑ ( → | , ) log 2 ( ( → | , )) ∈ log 2 (| |) . Intuitively, this measure equals 0 in the case of the random strategy where the probability of picking any is neighbour identical. It increases whenever some outcomes are favoured over others, and equals 1 if one outcome has all of the probability mass. Since the model assumes all individuals are equally likely to initiate interactions, we can average this measure over all actors. Moreover, in the case of the repetition strategy, the measure is time dependent. In that case, we use its expected value over the whole process. We finally use the following aggregated measure in order to evaluate the certainty of outcomes of a specific strategy: For this article, we first fix the parameter at a value of 2.5, and calculate an estimated using a standard optimisation algorithm. The R code associated to these calculations can be found in the Supplementary Material. Table S1 R-script "functions_SN_covid_spread.R" R-script "script_net1000.R" Scenario n <-nrow(network) if(is.null(triads)) triads <-sparseMatrix(i=1:n,j=1:n) if(is.null(homophilies)) homophilies <-sparseMatrix(i=1:n,j=1:n) # 1 calculate probabilities beforehand, possibly start keeping track of last contacts probas_fixed <-calculate_fixed_probas(network, triads, homophilies, param_triad, param_homophily) probas <-probas_fixed / matrix(rep(rowSums(probas_fixed),n),nrow=n,ncol=n) if(param_repetition != 0 && is.null(lastcontacts)) lastcontacts <-vector(mode = "list", length = n) if(is.null(burnin)) burnin <-0 contacts <-list() infections <-list() step <-1 all_infected <-FALSE infected <-rep(-1,n) infected[starting_nodes] <-0 cpt_burnin <-0 Targeted social distancing design for pandemic influenza Flattening the Cornavirus Curve Strategies for mitigating an influenza pandemic Mitigation strategies for pandemic influenza in the United States Evaluation of strategies to mitigate contagion spread using social network characteristics Early epidemiological analysis of the coronavirus disease 2019 outbreak based on crowdsourced data: a population-level observational study Characteristics of and Important Lessons From the Coronavirus Disease 2019 (COVID-19) Outbreak in China Next Flu Pandemic: What to Do Until the Vaccine Arrives? Science (80) Nonpharmaceutical Interventions for Pandemic Influenza The effectiveness of hand hygiene procedures in reducing the risks of infections in home and community settings including handwashing and alcohol-based hand sanitizers Non-pharmaceutical public health interventions for pandemic influenza: an evaluation of the evidence base School closures and influenza: systematic review of epidemiological studies Social network analysis : methods and applications The small world problem Collective dynamics of 'small-world' networks Networks as the pipes and prisms of the market The spread of behavior in an online social network experiment Dynamics, and the Small-World Phenomenon The focused organization of social ties Dynamics of Dyads in Social Networks: Assortative, Relational, and Proximity Mechanisms Birds of a Feather: Homophily in Social Networks Systematic selection between age and household structure for models aimed at emerging epidemic predictions The Strength of Weak Ties Birds of a feather, or friend of a friend? Using exponential random graph models to investigate adolescent social networks Structural Holes: The Social Structure of Competition Spread of epidemic disease on networks Modeling targeted layered containment of an influenza pandemic in the United States A high-resolution human contact network for infectious disease transmission Network evolution and social situations The Statistical Evaluation of Social Network Dynamics A Relational Event Framework for Social Action Interactions, Actors, and Time: Dynamic Network Actor Models for Relational Events Explained Variation in Dynamic Network Models Social circles: A simple structure for agent-based social network models Complex dynamics of synergistic coinfections on realistically clustered networks Conditional Logit Analysis of Qualitative Choice Behavior all authors reviewed and edited manuscript. The authors declare no competing interests. All functions and an example script are attached as Supplementary Material to this article. if(is.null(triads)) triads <-sparseMatrix(i=1:n,j=1:n) if(is.null(homophilies)) homophilies <-sparseMatrix(i=1:n,j=1:n) probas_fixed <-calculate_fixed_probas(network, triads, homophilies, param_triad, param_homophily) probas <-probas_fixed / matrix(rep(rowSums(probas_fixed),n),nrow=n,ncol=n) # initiate the last contacts lastcontacts <-vector(mode = "list", length = n) for(i in 1:newterms[is.na(newterms)] <-0 ps <-ps * exp(param_repetition*newterms) probas[i,neighbors] <-as.vector(ps / sum(ps)) } # simulate some steps and store all probas # 3-Calculate the entropy of the model with repetition strategy params_R <-c(0,0,2.5,2) # params: 1: triad, 2: homophily, 3: repetition, 4: window repetition num_simulations <-50000 thining <-500 burnin <-5000 entropies_base <-calculate_entropy_timedependent(network, triads, homophilies, param_triad = 0, param_homophily = 0, param_repetition = 2.5, window_repetition = 2, num_simulations = num_simulations, thining = thining, burnin = burnin, seed = 1) entropy_base <-mean(entropies_base$entropies) lastcontacts_base <-entropies_base$lastcontacts # 4-Estimate parameters for the models with homophily and triadic strategies pT <-optim(1, optim_entropy_T, network=network, triads=triads, homophilies=homophilies, entropy_base=entropy_base, lower=0, upper=40, method="L-BFGS-B") params_T <-c(pT$par,0,0,0) pH <-optim(1, optim_entropy_H, network=network, triads=triads, homophilies=homophilies, entropy_base=entropy_base, lower=0, upper=40, method="L-BFGS-B") params_H <-c(0,pH$par,0,0) # 5-Simulate random models and the three strategies in parallel percentage_keepcontact <-0.5 window_recovery <-5 starting_nodes <-c(1,2) seed <-1234 burnin <-0 res_random <-simulate(network, triads, homophilies, percentage_keepcontact, c(0,0,0,0), window_recovery, starting_nodes, burnin = NULL, lastcontacts = NULL, seed) res_T <-simulate(network, triads, homophilies, percentage_keepcontact, params_T, window_recovery, starting_nodes, burnin = NULL, lastcontacts = NULL, seed) res_H <-simulate(network, triads, homophilies, percentage_keepcontact, params_H, window_recovery, starting_nodes, burnin = NULL, lastcontacts = NULL, seed) res_R <-simulate(network, triads, homophilies, percentage_keepcontact, params_R, window_recovery, starting_nodes, burnin = burnin, lastcontacts = lastcontacts_base, seed) # n infected sum(res_random$infected == -2) sum(res_R$infected == -2) # infection curve plot(x = 1:res_random$number_steps_max, y = res_random$infections, type = "l") plot(x = 1:res_R$number_steps_max, y = unlist(res_R$infections), type = "l")