Full text
50,156 characters
· extracted from
preprint-html
· click to expand
Data-Driven Construction of Age-Structured Contact Networks | medRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P4HH5NV'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search Data-Driven Construction of Age-Structured Contact Networks View ORCID Profile Luke Murray Kearney , View ORCID Profile Emma L. Davis , View ORCID Profile Matt J. Keeling doi: https://doi.org/10.1101/2025.03.14.25323980 Luke Murray Kearney a MathSys Centre for Doctoral Training, Mathematics Institute, and School of Life Sciences, University of Warwick , Coventry, UK b Zeeman Institute for Systems Biology and Infectious Disease Epidemiology Research (SBIDER), University of Warwick , Coventry, UK Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Luke Murray Kearney For correspondence: luke.murray-kearney{at}warwick.ac.uk Emma L. Davis b Zeeman Institute for Systems Biology and Infectious Disease Epidemiology Research (SBIDER), University of Warwick , Coventry, UK c Statistics Department, University of Warwick , Coventry, UK Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Emma L. Davis Matt J. Keeling b Zeeman Institute for Systems Biology and Infectious Disease Epidemiology Research (SBIDER), University of Warwick , Coventry, UK d Mathematics Institute and School of Life Sciences, University of Warwick , Coventry, UK Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Matt J. Keeling Abstract Full Text Info/History Metrics Data/Code Preview PDF ABSTRACT Capturing the structure of a population and characterising contacts within the population are key to reliable projections of infectious disease. Two main elements of population structure – contact heterogeneity and age – have been repeatedly demonstrated to be key in infection dynamics, yet are rarely combined. Regarding individuals as nodes and contacts as edges within a network provides a powerful and intuitive method to fully realise this population structure. While there are a few key examples of contact networks being measured explicitly, in general we need to construct the appropriate networks from individual-level data. Here, using data from social contact surveys, we develop a generic and robust algorithm to generate an extrapolated network that preserves both age-structured mixing and heterogeneity in the number of contacts. We then use these networks to simulate the spread of infection through the population, constrained to have a given basic reproduction number ( R 0 ) and hence a given early growth rate. Given the over-dominant role that highly connected nodes (‘superspreaders’) would otherwise play in early dynamics, we scale transmission by the average duration of contacts, providing a better match to surveillance data for numbers of secondary cases. This network-based model shows that, for COVID-like parameters, including both heterogeneity and age-structure reduces both peak height and epidemic size compared to models that ignore heterogeneity. Our robust methodology therefore allows for the inclusion of the full wealth of data commonly collected by surveys but frequently overlooked to be incorporated into more realistic transmission models of infectious diseases. Introduction Mathematical modelling of infectious diseases has become an integral process in shaping public health response measures to epidemics and pandemic preparedness [ 1 , 2 , 3 , 4 ]. Historically, epidemiological models assumed that the population of interest is homogeneous, or ‘well-mixed’. Under this assumption, all infectious individuals have an equal rate of transmission to any susceptible individual in the population. While this is an over-simplification, it has provided a robust and surprisingly accurate method of predicting infection dynamics and guiding public health decisions [ 5 , 6 , 7 , 8 , 9 ]. In reality, transmission is frequently linked to proximity and social contacts, as exemplified by the commonly-used risk thresholds for COVID-19 transmission (being within 2m for 15 minutes) [ 10 ]. Based on pioneering work from the social sciences [ 11 ], there has been a growing interest in capturing patterns of human social contacts and the network that is implied [ 12 , 13 ] to inform infectious disease models. When the edges (or links) of a network represent routes for possible transmission, caused by sexual contacts, social interactions or proximity, then the network embeds much of the important epidemiological information. In particular, the heterogeneity in network contacts (referred to as network degree) is linked to the heterogeneities in secondary case distribution recorded for many infections [ 14 , 15 , 16 , 17 , 18 ]. Networks can also capture other structures such as assortative mixing which amplifies the role of superspreaders [ 19 , 20 ], clustering which enhances local transmission but reduces wider dissemination [ 21 , 22 ] and long-range contacts which interconnect entire populations promoting rapid spread of infections [ 23 , 24 , 25 ]. In general, complete data on population-level contact networks is infeasible to collect, although several attempts have been made. The use of electronic devices (wearable RFID sensors [ 26 , 27 ] or Bluetooth enabled smartphones [ 28 ]) provides an automated method of data capture, but only informs about connections within the participating population. Contact data gathered from contact tracing of infected individuals [ 29 , 10 ] can also generate a network, but often only describes the realised transmission routes and frequently misses unknown (random) contacts. Instead, much of the information we possess about social contacts follows the foundational NATSAL [ 30 , 31 ] and POLYMOD [ 32 ] surveys, with researchers focusing on contact data from individual respondents – ignoring how these contacts link within the wider population. Such surveys have been refined over time [ 33 , 34 ] and now provide a key component of epidemiological models; they have been collated into open source platforms like socialcontactdata.org, providing a standardized syntax for multiple survey data sets. In the majority of epidemiological modelling studies, the individual-level heterogeneity of contacts is ignored in favour of more general average patterns. Most commonly, the reported contacts have been used to determine age-structured mixing matrices, which provide information about the average level of contact between any two age groups [ 32 ]. While this has provided the foundation for many important epidemiological studies [ 35 , 36 ], it neglects the clearly observable heterogeneity in contacts. The importance of this heterogeneity has long been recognised for sexual contacts and sexually transmitted infections [ 37 , 38 ], and has been rediscovered for network-based transmission [ 39 ]. In this study, we formulate a novel method for the accurate reconstruction of age-structured networks from commonly collected survey data, that preserves both age-dependent mixing and contact heterogeneity. We demonstrate the power of this methodology on three data sets from the UK: the 2005/6 POLYMOD survey data [ 32 ]; and CoMix data [ 34 ] from two different time periods in 2020 representing immediately postlockdown (30 th of July to the 3 rd of September 2020, referred to as CoMix1) and re-opening of schools (4 th of September to the 26 th of October 2020, referred to as CoMix2). Our method takes individual-level contact data from surveys together with a categorical classification of the respondent and contact (here taken to be 9 distinct age groups, but gender, occupation or sexual identity would be equally feasible), resamples the data (assuming negative binomial or power-law degree distributions for the number of contacts) to generate a larger synthetic population, and finally connects individuals to form a network. This network (and associated epidemic simulations) is then compared to the stochastic block model [ 40 ] which preserves age-structure but not heterogeneity, a simpler version of our method which preserves heterogeneity but ignores age-structure, and classical homogeneous models which ignore both. We compare our realised network to the underlying survey data using a generalisation of the Wasserstein distance measure, known as the Earth Mover’s Distance [ 41 ], demonstrating that our method can construct networks that are closer to the data than existing methods. We then contrast epidemic simulations run on the three network formulations, using data from the three surveys, to consider the relationships between early growth, peak height of an epidemic and the final size of an outbreak. This highlights the profound impact of contact heterogeneity, even when the individual transmission rate is scaled to account for reductions in average contact duration with increasing number of contacts. We therefore conclude that existing age-structured models commonly ignore much of the information that survey data provide, potentially leading to erroneous epidemiological projections. Results Network Model We let 𝔾 denote a network of n nodes and associated connecting edges, defined by its creation method and the underlying data set (throughout we set n = 100, 000). Each node is classified into one of a finite number of groups – in this instance an age-group from 1 through 9, representing people of age {0-4, 5-11, 12-17, 18-29, 30-39, 40-49, 50-59, 60-69, 70+} years. We extrapolate G from the survey data through a fourstep methodology we refer to as the Heterogeneous Block Model (HBM). (1) We generate n nodes that match the classification of the underlying population, in our example the age-distribution of the UK. (2) For each node, based on its classification (age) we pick the degree k from a fitted distribution (negative binomial or double Pareto log-Normal), creating k unconnected stubs for that node. (3) For each of the k stubs we associate a classification (age) of who the stub should ideally connect to, again based on the survey data. (4) Bipartite and standard configuration models [ 42 , 43 ] are used to connect stubs to their targets, capturing age-structured mixing. If any stubs remain unconnected, the linking process restarts, allowing stubs to connect to nodes most similar to their target classification. The stochastic block model (SBM) [ 40 ] (with the “communities” in this approach defined by age classes) is used as a homogeneous comparator to our network model, capturing the between-age mixing without a heterogeneous degree distribution. ( Figure 2 shows examples of the underlying age-dependent mixing matrices for the SBM, the raw data and our approach, derived from three different data sets.) Network Accuracy It is important to understand how closely our network captures the contact data that is used in its formulation. A network reconstruction error score is calculated by finding the average error between each participant in the data set, d i against a counterpart in the model m j . (Given the model is an extrapolation of the data, we cannot necessarily find the “same” individual in both.) The Earth Mover’s Distance (EMD) metric [ 41 ] underpins this error score by utilizing optimal transport to quantify the difference between two ego-networks - by considering the number of errors in the ages, or the number of contacts that need to be added or subtracted for the two ego-networks to be equal (see Supplementary Material). We begin by taking a sample of ego-networks, m , of the same size and with the same age-distribution as the survey data. We create the matrix of errors E , where E i, j = EMD( d i , m j ) if the pair come from the same age group, otherwise E i, j = ∞. The problem of total network error is now reduced to an optimal bipartite matching problem between the data and sample, with cost matrix E . The final (minimal) error corresponds to the best one-to-one match between individuals in the model sample and the data. In Figure 3 , the error is calculated for 100 replicates of each network building model and data set, and amalgamated to the average error per individual. Increased degree heterogeneity (from the negative binomial and double Pareto log-Normal HBMs) reduces the reconstruction error in all cases, with the Stochastic Block Model performing significantly worse across all three data sets – with an error up to three times larger than our model. This gap is widest for the CoMix data-sets, whose survey format allowing for over 100 contacts in a day lead to a power-law distribution. In contrast, the POLYMOD study shows less heterogeneity and is more readily captured by a negative binomial distribution. The black dashed line represents the average error between pairs of networks reconstructed using the dPlN model. This quantifies the inherent error present when the network is built from a known dPlN distribution, akin to a minimum error when the underlying distribution is accurately captured. CoMix reconstructions are much closer to this minimum than POLYMOD ( Figure 3 ), again highlighting the differences in data caused by survey collection approach. The breakdown of errors in each age group Supplementary Material, Fig.S3 provides more information on where the difficulties in reconstruction lie and which age groups are better fit to these heterogeneous distributions. When schools are closed during lockdown in CoMix1 the disparity between the homogeneous and heterogeneous reconstructions are much smaller for age groups 5-11 and 12-17. This fact is also present in POLY-MOD’s 70+ age group where extra heterogeneity does not affect accuracy as strongly. Simulation Model With information on which models best represent our network data, now we focus on how this increased realism affects epidemic simulation on the networks. Outbreaks of an SIR-type model are simulated using a Sellke construction [ 44 ], an exact methodology where all random numbers are sampled initially, including infectious durations ( T i ∼ Exp( γ − 1 ); ) and susceptiblity thresholds ( Q i ∼ Exp(1)) for each individual. Given the time-varying force of infection: individual i becomes infected when the historical infection pressure surpasses the susceptibility threshold Q i . Here β is the infection rate parameter, A is the adjacency matrix of G (which informs about connections between individuals i and j ) and f (max( k i , k j )) is the transmission scaling of the link between i and j . We have 2 different regimes for f : in the first we assume that all contacts are equally transmissible ( f ≡ 1); in the second we assume that transmission is based on the average duration of a contact ( ). While we note that physicality, proximity and setting are all likely to influence transmission risk, we use the duration of contact as a parsimonious measure. The duration of a contact in CoMix is grouped into 5 discrete categories: less than 5 minutes, 5-14 minutes, 15-59 minutes, 1-4 hours and 4+ hours. To incorporate duration in constructed networks, the recorded average number of hours per contact is fitted to a function of the participant’s degree ( Figure 4 ) using the functional form: This choice of functional form (with E∈ [0, 1]) ensures that the total infectiousness of an individual increases with their number of contacts, k . In both regimes, index cases are chosen with probability proportional to the degree and potential duration scaling (𝕡 ( x i ∈ I (0)) ∝ k i f ( k i ). This degree-dependent introduction ensures that infection is initially distributed among individuals with the most contacts. This simple simulation heuristic is designed to give an understanding of the relationship between network accuracy and prediction efficacy of our networks. In epidemiological modelling, the commonly used quantity R 0 refers to the average number of cases arising from a single infected individual, in a completely susceptible population. This can be used to characterise the early spread of an outbreak and to predict the scale of the outbreak from early outbreak data [ 45 , 46 ]. The precise relationship between R 0 and the final size of an outbreak, is known to be strongly dependent on the heterogeneity of transmission patterns [ 47 , 48 ]. Nevertheless, R 0 remains the most commonly used metric to characterize early outbreaks. In our analysis the parameter β is used to achieve the desired value of R 0 , mirroring the standard fitting process adopted during the early stages of an outbreak. Precisely defining R 0 for a general network is a open problem, but as a proxy we use the average number of secondary cases infected by individuals in generation 1 (where generation 0 is the inital seeding of infection). In Figure 5 , the final size and peak height of four network simulation-types with the same R 0 are compared: (i) a network generated by the stochastic block model (SBM - blue); (ii) and (iii) a network generated by the double Pareto log-Normal (dPlN - green) with transmission constant across a connection (dark green) and with transmission scaled by the expected average duration (light green); and (iv) a double Pareto log-Normal network with duration scaled transmission that ignores age-structure (orange). (Note that given the lack of variability in the SBM, whether transmission is scaled or not has a negligable impact.) The final outbreak size results for the SBM network are closest to but slightly below the theoretical final size ( R ∞ ) first proposed by Kermack and McKendrick [ 49 ]. The other more heterogeneous networks, generated by the dPlN distributed HBM, lead to far smaller outbreaks. In particular, when all connections are assumed to be equally infectious (dPlN unscaled), the outbreaks are vanishingly small. This is because the early dynamics, which determine R 0 , are set by rare highly-connected individuals; therefore while infection initially spreads rapidly it is unable to percolate through the bulk of the population. For the POLY- MOD data, where very high numbers of contacts cannot be recorded, the four different simulations are far closer to each other, and even the unscaled dPlN network generates a significant outbreak. The peak height of the epidemic for the SBM is larger than the theoretical I max due to the extra heterogeneity provided by the underlying network structure as compared to a completely homogeneous ODE model [ 50 , 22 ]. Peak height for all other models lies below the theoretical prediction; the extra heterogeneity of these models which could increase peak height is outweighed by the substantially smaller final size of the epidemic, limiting how high the peak can be. Comparing CoMix1 when schools were closed, with CoMix 2 when schools had reopened, highlights our overarching message. When schools are open, the interaction between school-aged children dominates the mixing patterns ( Figure 2 ) and is the main contributor to determining R 0 ). Children mix intensely with each other, but weakly with the rest of the population. This disparity induces a strong early spread in schools, which quickly subsides in the sparsely connected exterior. Constraining R 0 in this regime reduces the final size by requiring a smaller β to produce comparable early growth rates while ∼ 85% of the population have not substantially increased their mixing. Finally, we consider the impact of keeping the heterogeneity of the dPlN network and retaining the duration of contact scaling, but removing the age-structure (orange points). These model projections are remarkably similar to those with full age-structure (light green points). We observe some differences for the CoMix2 data and low R 0 (1 < R 0 2), which we attribute to the role of assortative mixing between children in these networks. Some quantitative assessment of the degree heterogeneity can be derived from the distribution of secondary cases per infected individual - observations of this distribution are often described by a negative binomial distribution [ 15 , 51 ]. The negative binomial distribution is parameterised using the mean of the distribution ( R 0 ) and the dispersion parameter, α , which relates to the distribution variance: . As such, low values of α are associated with high heterogeneity and importance of superspreading events. The dispersion parameter is highly dependent on both the disease and population. Estimates of α frequently lie in the range 0.1-0.7 for COVID-19 [ 51 , 16 , 52 ], although it should be noted that these values come from fitting negative binomial distributions to relatively sparse and possibly incomplete data. Secondary case distributions taken from the early phase of our modelled outbreaks (with R 0 = 2) based on the CoMix 1 data are shown in Figure 6 . For each distribution we fit a negative binomial distribution using a least-squares method (dashed lines); comparing this to the reported range of α for COVID-19 provides a measure for each networks ability to recreate observed heterogeneity in transmission. The SBM network model (blue) generates a secondary case distribution with a shorter tail than observed (the bestfit negative binomial, α = 0.87), meaning that there are less super-spreading events than reported. Without scaling by the average duration, the dPlN network (dark green) overestimates the importance of highly connected individuals and hence under-estimates the dispersion parameter, α = 0.042. However, even this unrealistically small value of α in the negative binomial distribution cannot capture the overdispersed nature of the model results. The dampening effect of average duration scaling creates a secondary case distribution which lies between commonly reported dispersion parameters for COVID-19 (best fit α = 0.47). These results again highlight the importance of individual-level data to support robust models that can fully capture the impact of observed heterogeneities. Discussion Here we have created a general methodolgy (which we term the Heterogeneous Block Model: HBM) for the construction of age-structured contact networks from ego-centric network data ( Figure 1 ). This methodology extrapolates from the available sample size and connects individuals to preserve the observed age-mixing patterns. Our extrapolation process allows us to capture the power-law distribution of contacts [ 53 , 54 ]. Throughout, we compare our network with that derived from the Stochastic Block Model (SBM) [ 40 ] which ignores heterogeneity – leading to Poisson degree distributions – but retains age-structuring. Download figure Open in new tab Figure 1. Example participant ego-networks from CoMix [ 34 ], showing individual heterogeneity. (a) School student, male 12-17, in lockdown easing period (schools open). (b) School student, male 12-17, during lockdown (schools closed). (c) Nurse, Male 20-29. (d) Mathematician, Female 30-39. (e) General Manager, Female 50-59. The ‘work’ and ‘other’ square nodes represent 245 and 62 short and infrequent contacts. (f) Retired, Female 70+. The participant (ego) is the orange central hexagonal node, connected circles represent individual contacts, and squares represent group contacts with a common location, duration and frequency. Node size represents contact duration. Edge length represents the frequency of social interaction with shorter lengths corresponding to longer contacts. Colours represent social settings of encounters (green, home; blue, work; yellow, other). Download figure Open in new tab Figure 2. Contact matrices representing the mixing between age-groups and highlighting the heterogeneities in the data (grey), the stochastic block model (blue) and the double Pareto log-Normal model (green). For the mixing between each pair of age-groups, we sample 100 ego-networks (associated with a respondant of the correct age) and calculate the number of contacts to individuals in the other age-group. The results are then plotted as a 10 × 10 subgrid to highlight the variability - points are colour-coded on a logarithmic scale (from 0 to 100) due to the extreme heterogeneities that are present. We have considered three exemplar data sets that provide ego-centric network information from the UK: the groundbreaking POLYMOD study [ 32 ]; and two snapshots from the CoMix survey [ 34 ] taken during the COVID-19 pandemic. Our error metric – comparing ego-networks from the data with those from our synthetic network – highlights the need for a heterogeneous approach (compared to the SBM), and the power of using the double Pareto log-Normal (dPlN) distribution to capture the full distribution of contacts recorded in the CoMix data ( Figure 3 ). It should be noted that while these contact surveys are state-of-the-art in terms of quantifying human contacts, they are not necessarily a perfect reflection of epidemiologically important contacts. For example, they may suffer issues with recall-bias and estimating the age of contacts [ 55 , 56 ]. Also, such surveys commonly record data on face-to-face conversational contacts, and while this is a good proxy for epidemic risk for infections spread through close contact, it misses long-term co-location which could play a role in long range air-borne transmission. Download figure Open in new tab Figure 3. Mean EMD error value per individual using the network construction methods for each data set, with (small) error bars of three standard deviations. Each network creation method creates a 100,000 node network 100 times, a representative sample of equal size to the data set is then compared to the data using EMD, giving an average error per person. The horizontal dashed line represents the variance in reconstructions of the same data, by calculating the the EMD between two networks constructed using our model. Download figure Open in new tab Figure 4. For all respondents with a given number of contacts in the CoMix data sets, the average number of hours spent with each contact is plotted. Line of best fit added for the chosen functional form in Equation 1 . Download figure Open in new tab Figure 5. (Row 1) The mean final size of each outbreak against the R 0 of that simulation, for SBM, dPlN unscaled, dPlN scaled and dPlN scaled without age-structured mixing. 95% credible intervals are included for each model and the black line represents the theoretical final size of a deterministic ODE model. (Row 2) The peak height of the same simulations, with 95% credible intervals. Here the black line represents the theoretical value. Download figure Open in new tab Figure 6. Secondary case distributions with accompanying negative binomial fits for outbreaks simulated using the SBM model ( α = 0.87), dPlN model ( α = 0.043) and the dPlN scaled model ( α = 0.47) for CoMix1. The shaded COVID-19 area represents a negative binomial distribution with R 0 = 2 and α ∈ [0.1, 0.7] matching observations. We simulated epidemic outbreaks on our networks based on their realised early growth, as captured by R 0 , and show that epidemic outcomes are heavily influenced by network heterogeneity. When all contacts are treated equally, the behaviour of the more accurate dPlN network is dominated by rare highly-connected superspreaders, who increase R 0 without leading to substantially larger outbreaks. In reality, the risk of transmission is likely to be positively correlated with the duration of a contact, and the CoMix data clearly shows that average duration declines with the number of contacts. By assuming that transmission risk is proportional to the average contact duration associated with a given degree, our model is able to capture the heterogeneous secondary case distribution that has been observed for COVID-19 and other infectious diseases and is often characterised using a negative binomial [ 33 ]. A wealth of other factors are likely to influence the risk of transmission across a contact including the intimacy of contact and the setting in which it occurs [ 10 ], but such information is difficult to gather and therefore hard to robustly include in modelling approaches. The relationships between R 0 and epidemic size for the different models demonstrate how age-structure and degree heterogeneity shape an outbreak. We have shown that when considering the aggregate dynamics, age-structure plays a limited role (once simulations are matched to the same initial R 0 ). However, it is worth stressing that for many important infectious diseases (e.g. influenza or COVID-19) a population average is not a useful measure – especially when disease severity is strongly age-dependent [ 35 ], or when age-related interventions, such as school closures, require careful evaluation [ 57 ]. For the example of COVID-19, being able to more accurately predict epidemic size and peak for specific age groups could support more accurate assessment of key public health outcomes, such as peak hospitalisations. Degree heterogeneity has a striking effect, even when it is moderated by the average duration – which declines with increasing degree. The diversity between our results highlights how higher order network structures, not captured by R 0 (nor other early measures of epidemic growth) can profoundly impact the course of an outbreak. From a survey design perspective, our results demonstrate the need for robust survey designs that capture the full heterogeneous nature of social contacts [ 25 ]. In particular, there is a clear difference in contact distributions reported by the CoMix [ 34 ] and POLYMOD [ 32 ] surveys – caused by an artificial cap of 100 daily contacts imposed in the POLYMOD survey. This is in comparison to several individuals in CoMix reporting incredibly high numbers (>1,000) contacts in a single day. Further research is required to understand what behaviours generate these self-reported highly-connected individuals and characterise the infectious disease transmission risk in these scenarios. As with any modelling approach, we have made approximations to reality with associated limitations, including assuming a direct link between number of contacts and duration, and not accounting for how setting (e.g. home, work) may influence transmissibility. Our network construction method connects stubs with appropriate age-classes; with appropriate methods of building the sample population, and with greater computational expense, this approach could be extended to setting and duration. Such a network would inherently capture the duration associated with each connection (rather than applying averages) and would impart greater structure to the network. In addition, our formulation assumes that the ages of an individual’s contacts are chosen at random (based on the age contact matrices), but often this structure is highly aggregated; for example, teachers mix with far more children than the average – in addition, most of their work colleagues are also teachers who mix with more children, hinting at greater levels of structure. Our network building approach is unlikely to lead to clusters (triangle-forming contacts) within the network, yet we intuitively expect many clustered connections in household, work and leisure settings [ 33 ]. Including clustering in a data-driven way is extremely difficult, as it would require survey participants to estimate information about the contacts of their contacts [ 33 ]. A complete picture of human social interaction would also need to include the dynamic nature of contacts, but data on changing contact patterns over time is extremely rare [ 58 ]. Throughout, we have used COVID-like parameters as a motivating example, but have not included the rich epidemiology associated with this infection – such as age-dependent severity and infectivity – hence our results are representative of generic epidemiological dynamics rather than aiming to provide robust public health projections for COVID-19. We have provided a standardised approach for creating, testing and simulating infectious disease outbreaks on accurate categorically-structured networks, as well as potentially informing the design of future contact surveys. Our analysis was limited to a set of UK data sets comprising differing periods of social restrictions, but there are a large and growing number of contact survey data sets available for use, many of which use the same syntax. The methodology described here could be applied to any of these data sets, allowing for out-of-the-box application to any population of choice. Data Availability No data produced by study, all simulation results can be found on accompanying github. https://github.com/LukeMurrayKearney/Data-Driven-Networks-Code References 1. ↵ E Brooks-Pollock , L Danon , T Jombart , L Pellis , Modelling that shaped the early covid-19 pandemic response in the uk ( 2021 ). 2. ↵ S Funk , et al. , Short-term forecasts to inform the response to the covid-19 epidemic in the uk . MedRxiv pp. 2020 – 11 ( 2020 ). 3. ↵ M Biggerstaff , et al. , Results from the centers for disease control and prevention’s predict the 2013–2014 influenza season challenge . BMC infectious diseases 16 , 1 – 10 ( 2016 ). OpenUrl CrossRef PubMed 4. ↵ C Viboud , et al. , The rapidd ebola forecasting challenge: Synthesis and lessons learnt . Epidemics 22 , 13 – 21 ( 2018 ). OpenUrl CrossRef PubMed 5. ↵ MJ Keeling , P Rohani , Modeling infectious diseases in humans and animals ( 2008 ). 6. ↵ M Dashtbali , M Mirzaie , A compartmental model that predicts the effect of social distancing and vaccination on controlling covid-19 . Sci. Reports 11 , 8191 ( 2021 ) https://www.nature.com/articles/s41598-021-86873-0 . OpenUrl 7. ↵ J Molla , I Sekkak , AM Ortiz , I Moyles , B Nasri , Mathematical modeling of mpox: scoping review . One Heal . p. 100540 ( 2023 ) https://www.sciencedirect.com/science/article/pii/S2352771423000605 . 8. ↵ Z Zhan , et al. , Real-time forecasting of hand-foot-and-mouth disease outbreaks using the integrating compartment model and assimilation filtering . Sci. reports 9 , 2661 ( 2019 ) https://www.nature.com/articles/s41598-019-38930-y . OpenUrl 9. ↵ D Salem , RJ Smith , A mathematical model of ebola virus disease: using sensitivity analysis to determine effective intervention targets . in SummerSim . p. 3 ( 2016 ). 10. ↵ L Ferretti , et al. , Digital measurement of sars-cov-2 transmission risk from 7 million contacts . Nature 626 , 145 – 150 ( 2024 ). OpenUrl PubMed 11. ↵ AS Klovdahl , et al. , Social networks and infectious disease: The colorado springs study . Soc. science & medicine 38 , 79 – 88 ( 1994 ). OpenUrl 12. ↵ S Eubank , et al. , Modelling disease outbreaks in realistic urban social networks . Nature 429 , 180 – 184 ( 2004 ). OpenUrl CrossRef PubMed Web of Science 13. ↵ K Eames , S Bansal , S Frost , S Riley , Six challenges in measuring contact networks for use in modelling . Epidemics 10 , 72 – 77 ( 2015 ). OpenUrl CrossRef PubMed 14. ↵ AP Galvani , RM May , Dimensions of superspreading . Nature 438 , 293 – 295 ( 2005 ). OpenUrl CrossRef PubMed Web of Science 15. ↵ JO Lloyd-Smith , SJ Schreiber , PE Kopp , WM Getz , Superspreading and the effect of individual variation on disease emergence . Nature 438 , 355 – 359 ( 2005 ) https://www.nature.com/articles/nature04153 . OpenUrl CrossRef PubMed Web of Science 16. ↵ DC Adam , et al. , Clustering and superspreading potential of sars-cov-2 infections in hong kong . Nat. Medicine 26 , 1714 – 1719 ( 2020 ) https://www.nature.com/articles/s41591-020-1092-0 . OpenUrl PubMed 17. ↵ G De Serres , et al. , Largest measles epidemic in north america in a decade—quebec, canada, 2011: contribution of susceptibility, serendipity, and superspreading events . The J. infectious diseases 207 , 990 – 998 ( 2013 ) https://academic.oup.com/jid/article/207/6/990/898747 . OpenUrl 18. ↵ Z Shen , et al. , Superspreading sars events, beijing, 2003 . Emerg. infectious diseases 10 , 256 ( 2004 ) https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3322930/ . OpenUrl 19. ↵ GP Garnett , RM Anderson , Contact tracing and the estimation of sexual mixing patterns: the epidemiology of gonococcal infections . Sex. transmitted diseases pp. 181 – 191 ( 1993 ). 20. ↵ ME Newman , Assortative mixing in networks . Phys. review letters 89 , 208701 ( 2002 ). OpenUrl 21. ↵ MJ Keeling , The effects of local spatial structure on epidemiological invasions . Proc. Royal Soc. London. Ser. B: a Biol. Sci . 266 , 859 – 867 ( 1999 ). OpenUrl 22. ↵ EM Volz , JC Miller , A Galvani , L Ancel Meyers , Effects of heterogeneous and clustered contact patterns on infectious disease dynamics . PLoS computational biology 7 , e1002042 ( 2011 ). OpenUrl 23. ↵ DJ Watts , SH Strogatz , Collective dynamics of ‘small-world’networks . nature 393 , 440 – 442 ( 1998 ). OpenUrl CrossRef PubMed Web of Science 24. ↵ RM May , Network structure and the biology of populations . Trends Ecol. & Evol . 21 , 394 – 399 ( 2006 ). OpenUrl CrossRef PubMed Web of Science 25. ↵ L Danon , et al. , Networks and the epidemiology of infectious disease . Interdiscip. perspectives on infectious diseases 2011 , 284909 ( 2011 ). OpenUrl 26. ↵ M Salathé , et al. , A high-resolution human contact network for infectious disease transmission . Proc. national academy sciences 107 , 22020 – 22025 ( 2010 ). OpenUrl 27. ↵ MC Kiti , et al. , Quantifying social contacts in a household setting of rural kenya using wearable proximity sensors . EPJ data science 5 , 1 – 21 ( 2016 ). OpenUrl CrossRef 28. ↵ DJ Leith , S Farrell , Coronavirus contact tracing: Evaluating the potential of using bluetooth received signal strength for proximity detection ( 2020 ). 29. ↵ RA Kleinman , C Merkel , Digital contact tracing for covid-19 . Cmaj 192 , E653 – E656 ( 2020 ). OpenUrl FREE Full Text 30. ↵ AM Johnson , J Wadsworth , K Wellings , S Bradshaw , J Field , Sexual lifestyles and hiv risk . Nature 360 , 410 –– 412 ( 1992 ). OpenUrl CrossRef PubMed Web of Science 31. ↵ KR Mitchell , et al. , Sexual function in britain: findings from the third national survey of sexual attitudes and lifestyles (natsal-3) . The Lancet 382 , 1817 – 1829 ( 2013 ). OpenUrl 32. ↵ J Mossong , et al. , Social contacts and mixing patterns relevant to the spread of infectious diseases . PLoS medicine 5 , e74 ( 2008 ). OpenUrl 33. ↵ L Danon , TA House , JM Read , MJ Keeling , Social encounter networks: collective properties and disease transmission . J. The Royal Soc. Interface 9 , 2826 – 2833 ( 2012 ). OpenUrl 34. ↵ A Gimma , et al. , Changes in social contacts in england during the covid-19 pandemic between march 2020 and march 2021 as measured by the comix survey: A repeated cross-sectional study . PLoS medicine 19 , e1003907 ( 2022 ). OpenUrl CrossRef 35. ↵ NG Davies , et al. , Age-dependent effects in the transmission and control of covid-19 epidemics . Nat. medicine 26 , 1205 – 1211 ( 2020 ). OpenUrl CrossRef PubMed 36. ↵ T Bedford , et al. , Global circulation patterns of seasonal influenza viruses vary with antigenic drift . Nature 523 , 217 – 220 ( 2015 ). OpenUrl CrossRef PubMed 37. ↵ RM May , RM Anderson , Commentary: transmission dynamics of hiv infection . Nature 326 , 10 – 1038 ( 1987 ). OpenUrl 38. ↵ R Anderson , G Medley , R May , A Johnson , A preliminary study of the transmission dynamics of the human immunodeficiency virus (hiv), the causative agent of aids . Math. Medicine Biol. a J. IMA 3 , 229 – 263 ( 1986 ). OpenUrl 39. ↵ KT Eames , MJ Keeling , Modeling dynamic and network heterogeneities in the spread of sexually transmitted diseases . Proc. national academy sciences 99 , 13330 – 13335 ( 2002 ). OpenUrl 40. ↵ PW Holland , KB Laskey , S Leinhardt , Stochastic blockmodels: First steps . Soc. networks 5 , 109 – 137 ( 1983 ) https://www.sciencedirect.com/science/article/abs/pii/0378873383900217 . OpenUrl CrossRef Web of Science 41. ↵ Y Rubner , C Tomasi , LJ Guibas , A metric for distributions with applications to image databases in Sixth international conference on computer vision (IEEE Cat. No. 98CH36271) . ( IEEE ), pp. 59 – 66 ( 1998 ). 42. ↵ M Molloy , B Reed , A critical point for random graphs with a given degree sequence . Random structures & algorithms 6 , 161 – 180 ( 1995 ). OpenUrl CrossRef Web of Science 43. ↵ JL Guillaume , M Latapy , Bipartite graphs as models of complex networks . Phys. A: Stat. Mech. its Appl . 371 , 795 – 813 ( 2006 ). OpenUrl 44. ↵ T Sellke , On the asymptotic distribution of the size of a stochastic epidemic . J. Appl. Probab . 20 , 390 – 394 ( 1983 ). OpenUrl CrossRef Web of Science 45. ↵ P Van den Driessche , J Watmough , Reproduction numbers and sub-threshold endemic equilibria for compartmental models of disease transmission . Math. biosciences 180 , 29 – 48 ( 2002 ). OpenUrl 46. ↵ M De Jong , O Diekmann , JAP Heesterbeek , The computation of r0 for discrete-time epidemic models with dynamic heterogeneity . Math. biosciences 119 , 97 – 114 ( 1994 ). OpenUrl 47. ↵ L Hébert-Dufresne , BM Althouse , SV Scarpino , A Allard , Beyond r 0: heterogeneity in secondary infections and probabilistic epidemic forecasting . J. Royal Soc. Interface 17 , 20200393 ( 2020 ). OpenUrl 48. ↵ BD Elderd , G Dwyer , V Dukic , Population-level differences in disease transmission: A bayesian analysis of multiple smallpox epidemics . Epidemics 5 , 146 – 156 ( 2013 ). OpenUrl CrossRef PubMed 49. ↵ WO Kermack , AG McKendrick , A contribution to the mathematical theory of epidemics . Proc. royal society london. Ser. A, Containing papers a mathematical physical character 115 , 700 – 721 ( 1927 ). OpenUrl 50. ↵ M Barthélemy , A Barrat , R Pastor-Satorras , A Vespignani , Dynamical patterns of epidemic outbreaks in complex heterogeneous networks . J. theoretical biology 235 , 275 – 288 ( 2005 ). OpenUrl 51. ↵ A Endo , S Abbott , AJ Kucharski , S Funk ,, et al. , Estimating the overdispersion in covid-19 transmission using outbreak sizes outside china . Wellcome open research 5 ( 2020 ). 52. ↵ J Wang , et al. , Superspreading and heterogeneity in transmission of sars, mers, and covid-19: A systematic review . Comput. Struct. Biotechnol. J . 19 , 5039 – 5046 ( 2021 ). OpenUrl PubMed 53. ↵ LA Adamic , RM Lukose , AR Puniyani , BA Huberman , Search in power-law networks . Phys. review E 64 , 046135 ( 2001 ) https://journals.aps.org/pre/ abstract/10.1103/PhysRevE.64.046135. OpenUrl 54. ↵ G Csányi , B Szendrői , Structure of a large social network . Phys. Rev. E 69 , 036131 ( 2004 ). OpenUrl 55. ↵ TH McCormick , T Zheng ,, et al. , Adjusting for recall bias in “how many x’s do you know? ” surveys in Proceedings of the joint statistical meetings . ( 2007 ). 56. ↵ MC Voelkle , NC Ebner , U Lindenberger , M Riediger , Let me guess how old you are: effects of age, gender, and facial expression on perceptions of age . Psychol. aging 27 , 265 ( 2012 ). OpenUrl CrossRef PubMed Web of Science 57. ↵ M Andersen , Early evidence on social distancing in response to covid-19 in the united states . Available at SSRN 3569368 ( 2020 ). 58. ↵ G Béraud , et al. , The french connection: the first large population-based contact survey in france relevant for the spread of infectious diseases . PloS one 10 , e0133203 ( 2015 ). OpenUrl CrossRef PubMed View the discussion thread. Back to top Previous Next Posted March 17, 2025. Download PDF Data/Code Email Thank you for your interest in spreading the word about medRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Data-Driven Construction of Age-Structured Contact Networks Message Subject (Your Name) has forwarded a page to you from medRxiv Message Body (Your Name) thought you would like to see this page from the medRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Data-Driven Construction of Age-Structured Contact Networks Luke Murray Kearney , Emma L. Davis , Matt J. Keeling medRxiv 2025.03.14.25323980; doi: https://doi.org/10.1101/2025.03.14.25323980 Share This Article: Copy Citation Tools Data-Driven Construction of Age-Structured Contact Networks Luke Murray Kearney , Emma L. Davis , Matt J. Keeling medRxiv 2025.03.14.25323980; doi: https://doi.org/10.1101/2025.03.14.25323980 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Epidemiology Subject Areas All Articles Addiction Medicine (569) Allergy and Immunology (863) Anesthesia (300) Cardiovascular Medicine (4442) Dentistry and Oral Medicine (444) Dermatology (383) Emergency Medicine (609) Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1511) Epidemiology (15230) Forensic Medicine (30) Gastroenterology (1126) Genetic and Genomic Medicine (6610) Geriatric Medicine (668) Health Economics (998) Health Informatics (4542) Health Policy (1370) Health Systems and Quality Improvement (1613) Hematology (543) HIV/AIDS (1266) Infectious Diseases (except HIV/AIDS) (15923) Intensive Care and Critical Care Medicine (1103) Medical Education (623) Medical Ethics (147) Nephrology (668) Neurology (6607) Nursing (346) Nutrition (999) Obstetrics and Gynecology (1146) Occupational and Environmental Health (957) Oncology (3337) Ophthalmology (974) Orthopedics (369) Otolaryngology (420) Pain Medicine (436) Palliative Medicine (130) Pathology (664) Pediatrics (1693) Pharmacology and Therapeutics (692) Primary Care Research (712) Psychiatry and Clinical Psychology (5448) Public and Global Health (9238) Radiology and Imaging (2202) Rehabilitation Medicine and Physical Therapy (1370) Respiratory Medicine (1196) Rheumatology (596) Sexual and Reproductive Health (714) Sports Medicine (530) Surgery (712) Toxicology (99) Transplantation (289) Urology (265) (function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a01c96de6877e2c5',t:'MTc3OTc5NjUxMA=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.