Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2019 Jan 30.
Published in final edited form as: Stat Med. 2017 Jul 25;37(2):218–235. doi: 10.1002/sim.7393

Inference on Network Statistics by Restricting to the Network Space: Applications to Sexual History Data

Ravi Goyal 1,*, Victor De Gruttola 2
PMCID: PMC6151357  NIHMSID: NIHMS885662  PMID: 28745004

Abstract

Analysis of sexual history data intended to describe sexual networks presents many challenges arising from the fact that most surveys collect information on only a very small fraction of the population of interest. In addition partners are rarely identified and responses are subject to reporting biases. Typically each network statistic of interest, such as mean number of sexual partners for males or females, is estimated independently of other network statistics. There is, however, a complex relationship among networks statistics; and knowledge of these relationships can aid in addressing concerns mentioned above. We develop a novel method that constrains a posterior predictive distribution of a collection of network statistics in order to leverage the relationships among network statistics in making inference about network properties of interest. The method ensures that inference on network properties is compatible with an actual network. Through extensive simulation studies, we also demonstrate that use of this method can improve estimates in settings where there is uncertainty that arises both from sampling and from systematic reporting bias compared to currently available approaches to estimation. To illustrate the method, we apply it to estimate network statistics using data from the Chicago Health and Social Life Survey.

Keywords: Sexual Networks, Network Sampling, Reporting Error, Bayesian, Egocentric Data, Constrained Distribution

1. Introduction

Sexual relationships play a fundamental role within a society by driving birth rates, influencing social stratification, and spreading sexually transmitted diseases. Therefore, the structure of a sexual network–the collection of sexual relationships within the population–has important public policy consequences, particularly regarding public health initiatives. For example, understanding the structure of sexual networks is useful in developing preventative strategies for sexually transmitted infection control programs as mathematical models have shown that the network structure has the potential to greatly influence the rate of propagation of a disease [1, 2, 3, 4] and the efficacy of interventions designed to mitigate the epidemic [5, 6]. However, characterizing such sexual networks is challenging because, in most settings, it is only feasible to collect data on the connections between sexual partners from surveys, in particular, egocentric study designs; these refer to studies wherein respondents provide information on their partners (including such information as education level, community of residence, and age), but the respondents’ partners are not surveyed. Egocentric survey designs have been implemented in many important studies on sexual behavior including National Health and Social Life Survey (NHSLS)[7], Chicago Health and Social Life Survey (CHSLS) [8], and Sex in Sweden [9]. An additional challenge in characterizing the network is dealing with reporting biases that commonly arise in self-reported data [10]. For example, even when questionnaires elicit only information on heterosexual relationships, many surveys show large discrepancies between female number of partners and their male counterparts; this phenomenon has been noted in diverse geographic settings including locations in the United States [7], Sweden [9], Zimbabwe [11, 12], Uganda [13, 11] and South Africa [11]. Even with these challenges, estimates derived from such sexual behavior surveys are often critical inputs to epidemic models such as those used to design HIV trials [6, 14, 15].

It is often useful to constrain an estimate to be consistent with the space of possible values associated with the quantities of interest; it not only helps to assure validity but also aids with interpretation. A common example is bounding an estimate of a probability between 0 and 1. For a simple network example, estimates for the total number of relationships reported by each gender in a closed heterosexual population can only have non-zero probability mass on integers between 0 and the maximum number of possible connections and on values where the two total numbers of partners (for males and females) are equal; the probability mass must be zero for all other real values. Investigators have employed various approaches to ensure valid estimates for network properties. In the modeling of heterosexual networks, often these approaches were used to handle discrepancies between the reporting of males and females. To simplify models or correct for reporting discrepancies, one common approach is to assume males and females have identical distribution of number of partners or identical proportions of males and females in risk groups associated with partnership change [16]. Another approach is to assign excess male reported partnerships to female sex workers [17]. Even when the total number of partnerships between males and females are consistent, there may be discrepancies in the reported characteristics of those relationships. For example, a study investigating sexual partnerships in Zimbabwe observed a disparity in the reported number of cohabiting and non-cohabiting partnerships between the genders and had to re-label some partnerships reported as co-habiting by females as non-cohabiting (and vice versa for males) to obtain consistent estimates to conduct simulations [12].

The proposed method ensures that the estimated posterior predictive distribution of network properties, such as the number of partners reported by males and females and mixing patterns by individual and partnership characteristics, will be zero for values that are not compatible with an actual network. The method has advantages over existing methods in that it allows investigators to avoid making potentially overly restrictive assumptions and makes use of all available data. For example, the proposed approach does not require disregarding reported values for one gender or assuming that the degree distributions of males and females are identical. Instead our method shrinks the resulting posterior predictive distribution towards network-compatible values; the amount of shrinkage depends on the amount of available information. Furthermore, the proposed method does not require explicit constraints on network properties to ensure validity; for many network properties, such constraints can be complex and infeasible to specify [18, 19, 20, 21]. Our method automatically applies the necessary constraints, which is accomplished by extending an existing network sampling method [22].

The method we present was used in the design and monitoring of a large randomized community controlled trial, the Botswana Combination Prevention Program (BCPP), which investigates whether implementation of a combination of prevention interventions reduces HIV incidence [6]. As limited and sometimes conflicting network data exist regarding sexual networks in Botswana, we were faced with the challenge of applying statistical methods that would generate estimates of network properties that were compatible with actual networks; this was necessary for the development of epidemic simulations that served as a basis for investigation of the plausible effect sizes of the proposed interventions as well as power to detect them (see discussion for additional details). As the HIV epidemic in Botswana appears to be driven by heterosexual relationships, we were interested in estimating properties of bipartite networks, networks where individuals are divided into two disjoint sets (e.g., male and females), and connections exist only between the sets.

As the modeling choices for the likelihood function of parameters representing network properties, denoted as θ, depend on both the setting [23] and the specific technique used for network data collection, we propose a method that allows flexible specification of the model by the investigator, and only constrains the posterior predictive distribution to have zero probability mass on non-network compatible values; this constraint arises from the assumption that the data summarize properties of a network. Therefore, the resulting posterior predictive distribution will have the desired property of zero probability mass on non-network compatible values without requiring additional restrictions on selecting a model. Equation 1 presents the general formula for the posterior predictive distribution, which is referred to as the unconstrained posterior predictive distribution (Pucon)–as it does not necessarily conform to the complex constraints of networks:

Pucon(Y˜|Y)∝∫θP(Y˜|θ,Y)×P(θ|Y)dθ, (1)

where Y is the data collected from a population, P(θ|Y) is the posterior distribution of θ, and P(Y˜|θ,Y) is the proabability model for the data. We propose to constrain the posterior predictive distribution in equation 1 by imposing that the values are network-compatible as shown below:

Pcon(Y˜|Y)∝∫θP(Y˜|θ,Y)×P(θ|Y)×I{Y˜∈ΩY˜}dθ, (2)

where ΩY˜ is the set of network compatible values for the network properties that comprise Y˜.

We develop two simulation studies to demonstrate the method’s ability to improve network property estimates by imposing the constraint described above on the network values. The first investigates scenarios where only sampling uncertainty exists; the second investigates settings where there is uncertainty due both to sampling and to systematic reporting bias associated with the respondent’s gender. As there is no standard approach to adjust for network property discrepancies, we assess our method by comparing a constrained posterior predictive distribution to its corresponding unconstrained distribution. This comparison demonstrates the value of restricting estimates to network-compatible values. Both simulation studies demonstrate significant improvement in network property estimates for the constrained posterior predictive distribution compared to the unconstrained distribution. We note that it would be easy to engineer a simulation study to produce major differences between our method that ensures valid network values and existing approaches that simply equate the male (or female) degree distribution to its complement or that disregard information entirely. For example, if the male and female degree distributions were very different, setting one equal to the other would obviously lead to bias.

We apply the proposed method to estimate network statistics, including male and female degree distributions and mixing by educational level, using data from the Chicago Health and Social Life Survey (CHSLS)–an egocentric survey containing a section on respondent’s sexual history including questions regarding their sexual partners. An individual’s level of education influences a range of outcomes, including health; examples include the observed association between education and cardiovascular disease in the US [24] and sexual transmitted infection (STI) risk in young South African women [25]. Though we focused on education level, the method can investigate the role of personal characteristics of interest on partner selection.

Section 2 introduces network terminology, an evaluation metric, and the network sampling method used to constrain the posterior predictive distribution. Section 3 investigates properties of the proposed method from simulation studies, while section 4 applies those methods to data from the Chicago Health and Social Life Survey. Section 5 discusses the advantages and limitations of the procedure and needs for further research. An R library, CCMnet, to use the proposed methods is available on R CRAN.

2. Methods

This section introduces network terminology used in this paper and provides details on the modeling of network properties and the metric used to compare the unconstrained posterior predictive distributions to the constrained posterior predictive distributions. It also describes the the network sampling method used to constrain the posterior predictive distribution.

2.1. Network Terminology

We represent a binary network, g = (V, U, E), as a binary adjacency matrix with dimensions equal to the sizes of the disjoint sets V and U. Therefore, g has dimensions |V| ×, |U|, where |Z| (and nZ) denote the size of set Z. Let {υ1,…,υ|V|} and {u1,…, u|U|} denote the individuals in sets V and U, respectively; throughout this paper, set V can be thought of consisting of males while set U consists of females. Let g[i, j] = 1 indicate that there is a relationship between male i ∈ {υ1,…,υ|V|} and female j ∈ {u1,…, u|U|}, while g[i, j] = 0 indicates that there is no relationship. Let η(i) be the individuals with connections to individual i, i.e., η(i) = {j: g[i, j] = 1} if i ∈ V and η(i) = {j: g[j, i] = 1} if i ∈ U.

We investigate two network properties: degree distribution and mixing patterns, though the proposed method can be applied to a broader set of properties (see appendix). The degree of individual i in set t, denoted as, dit(g), is the number of relationships the individual has with other individuals in the population; therefore dit(g)=∑jg[i,j] if t = V and dit(g)=Σjg[j,i] if t = U. Let dt(g)=(d1t(g),⋯,dntt(g)) represent the vector of degrees for nodes in set t, commonly referred to as a degree sequence. The degree distribution, denoted as Dt(g), is a vector representing the number of these degrees over all individuals in set t; the kth entry represents the number of individuals from set t having degree k, i.e., Dkt(g)=∑i=1ntI{dit(g)=k}. Let D[z]t(g) denote the degree distribution restricted to only type t individuals in the set z, i.e., D[z]kt(g)=∑i∈zI{dit(g)=k}.

We also consider mixing in networks, which is the tendency for vertices in networks to be connected to other individuals that are like (or unlike) them based on their particular characteristics; we consider only discrete characteristics. Let mit(g) represent the vector of discrete characteristics for individual i of type t in network g; this paper only considers a single characteristic, education; but the methods, formulas, and code in the CCMnet package apply to the more general setting of investigating multiple characteristics. Let mt(g)=(m1t(g),⋯,mntt(g)) be a vector containing the characteristics of all the individuals in set t. The characteristic distribution, denoted as Mt(g), is a vector representing the number of individuals with these characteristics over all individuals in set t; the kth entry represents the number of individuals from set t having characteristic k, i.e., Mkt(g)=∑i=1ntI{mit(g)=k}. Let M[z]t (g) denote the characteristic distribution restricted to only type t individuals in the set z. Let MM (g) be a matrix representing the mixing pattern of network g. MM (g) is a q × q symmetric matrix, where q is the number of distinct characteristic patterns of interest in the population. The entry M Mk,l (g) is the total number of relationships between any individual in set V with characteristic k and any individual in set U with characteristic l. For this paper, the homophily of network g is defined as the number of relationships (i, j) ∈ E for which the characteristic of individual i equals the characteristics of individual j, i.e., ∑(i,j)∈EI{miV(g)=mjU(g)}. Let {DV,1,…,DV,p} and {DU,1,…,DU,p} denote the degree distributions stratified by individual-level characteristics, e.g., DV,k=D[z]kV where z is the set of characteristic k males. For clarity, we boldface the text to denote a random variable when necessary.

2.2. Modeling of Network Properties

There exists a range of choices for modeling network properties that represent the degree distribution and mixing patterns; for example, the degree distribution can be modeled as a negative binomial, geometric or Poisson distribution [23]. These modeling choices are represented as P (θ|Y) and P(Y˜|θ,Y), in equations 1 and 2. As the proposed method places little restriction on modeling choice, therefore, the investigator may freely select the most appropriate model.

In the Introduction, we discuss necessary constraints on the degree distribution for bipartite networks; the inclusion of modeling mixing patterns adds further constraints. To illustrate, consider a subpopulation of individuals who report few partners; this condition requires that the estimates of mixing between this subpopulation and others be small. This additional constraint arises from the fact that individuals in such a subpopulation must have few partners from any subpopulation. The proposed method ensures that the constrained posterior predictive distribution has zero probability mass on non-network compatible values across all network properties regardless of the model choice.

2.3. Evaluation Metric

To investigate improvement in the estimate of Y˜, the posterior predictive expected squared error loss function from the constrained posterior predictive distribution, Pcon(Y˜|Y) (equation 2), is compared to the unconstrained distribution, Pucon(Y˜|Y) (equation 1); the formula for the posterior predictive expected squared error loss function is provided in equation 3:

ρ(π,a)=∫Y˜′L(Y˜′,a)dπ(Y˜′), (3)

where L(Y˜′,a) is the squared error loss function and π is a posterior predictive distribution of Y˜ (either Pucon(Y˜|Y) or Pcon(Y˜|Y) in this paper). To calculate ρ(π, a), we let a be the true value of the property for the network and L(Y˜,a) equal (Y˜−a)2. The posterior predictive expected squared error loss function quantifies the amount by which the estimate deviates from the actual value. Therefore, the posterior predictive expected squared error loss is a summary metric of this deviation across all values of Y˜ that is weighted by its posterior predictive distribution.

As Y˜ denotes a vector in the settings investigated in this paper, the values of the posterior predictive expected squared error loss functions associated with each component of Y˜ need to be combined. To quantify the posterior predictive expected squared error function for a vector Y˜, we average across all values comprising Y˜. For settings in which accuracy of estimation of some network properties is more important than that for others, the method to combine the components of Y˜ can be appropriately modified. As an example, simulation studies have demonstrated that properties associated with across-community mixing patterns were very important in designing cluster randomized trials for HIV prevention [6]. However, in combining the components one should carefully consider their ranges and variances and select an appropriate normalization method; for example, a small change in the number of individuals with a high number of partnerships can have a significantly larger impact on the network structure than similar changes to the number of individuals with low number of partnerships.

2.4. Network Sampling

As stated in the Introduction, sampling from the distribution shown in equation 2 is challenging because the network constraints can be complex. In order to sample from the constrained posterior predictive distribution, Pcon(Y˜|Y), we sample networks in such a way that the values of network properties associated with the sampled networks follow Pcon(Y˜|Y). To explain the network sampling method, we need to introduce additional notation. Let g denote the space of possible bipartite networks of size nV × nU. Define fY˜(g) to be the function that maps a network g to the values of network properties associated with Y˜. Let Cx={g:fY˜(g)=x,g∈g}. Finally, let Pg(G) be the probability mass function on network space g for a random variable G.

In order to sampe networks from g such that fY˜(G)~Pcon(Y˜|Y), we only need the following to hold:

∑g∈CxPg(G=g)=Pcon(Y˜=x|Y). (4)

We can satisfy equation 4 by defining Pg(G=g) to be the following,

Pg(G=g)=(1|CfY˜(g)|)Pcon(Y˜=fY˜(g)|Y), (5)

where |Cx| is the number of networks in Cx. As the constraint on the posterior predictive distribution, shown in equation 2, equivalently can be viewed as the following:

Pcon(Y˜|Y)∝{Pucon(Y˜|Y)ifY˜∈ΩY˜0else, (6)

defining,

Pg(G=g)∝(1|CfY˜(g)|)Pucon(Y˜=fY˜(g)|Y), (7)

would also satisfy equation 4. The probability distribution on g defined in equation 7 is the probability distribution underlying the network sampling model by Goyal et al. [22], which we refer to as the Congruence Class Model (CCM). As we are interested in heterosexual relationships, in the appendix, we extend the CCM to include bipartite networks; the original paper on CCM only sampled simple networks. Using this extension, we are able to sample networks from g such that fY˜(G)~Pcon(Y˜|Y) by sampling networks based on the probability distribution on g defined in equation 7.

3. Simulation Studies

To evaluate our method, we devise two types of simulation studies that investigate the improvement of the constrained posterior predictive distribution, equation 2, compared to the unconstrained distribution, equation 1. For each of the simulations, we generate networks with a population of 1000 individuals that includes 500 males and 500 females. The 1000 individuals are randomly assigned levels of education, (a) no high school diploma, (b) high school diploma or vocational degree or associate degree, and (c) bachelor’s degree or higher. In this paper, we often refer to these three educational levels as low, middle (shortened to mid in formulas), and high. For the simulation studies, we randomly assigned individuals to these three levels, 334 individuals to low, 334 individuals to middle, and 332 individuals to high. The relationships in the sexual network are generated under the exponential random graph model (ERGM) [26]–a common network model. Specifically, we generate a bipartite network based on network statistics for degree distribution and homophily. The statistics for the degree distribution used in the simulation studies are presented in Table 1, which are close to the observed distribution from the CHSLS study of the neighborhood in Chicago described in section 4. For the simulations, we vary the value of the homophily statistic to generate networks with low and high levels of homophily.

Table 1.

Degree distribution for simulation studies

Degree 0 1 2 3 Mean Degree
Both Genders 29 166 7 2 0.91

In our simulations, a fraction of males and females were sampled at random, but at different rates based on gender. Let sV and sU equal the number of individuals sampled from V and U, respectively; let Vs and Us be the sets of sampled individuals. Let Vsk(Usk) be the subset of sampled males (females) with characteristic k. For each sampled individual, their gender, degree, and education level were recorded as were the educational level of their partners. For a sampled individual i, let yi=(t,dit(g),mit(g),M[η(i)]lowt(g),M[η(i)]midt(g),M[η(i)]hight(g)) be the observed information. For these simulations, the degree(s) of individual i’s partner(s) is not observed as this information is often unreliable; however, the appendix and code in the CCMnet package allow for investigators to incorporate such data. Also, no identifying information was recorded about the partners; therefore, it is not possible to link two individuals as sexual partners. As discussed in the introduction, this type of design is common for collecting sexual history due to cost and privacy concerns and is the designed used in the BCPP and CHSLS studies. The first simulation uses information on degree and education; values provided by the sampled respondents are correctly reported. The second simulation uses information only on the degree, but systematic biases are generated in the reported number of partners depending on the respondent’s gender.

3.1. Simulation Study 1: Sampling Variability

In this first simulation study, we evaluate the method’s ability to estimate network properties in settings where there is uncertainty due to sampling a fraction of the population. To investigate the improvement of the constrained posterior predictive distribution, Pcon, compared to the unconstrained distribution, Pucon, in terms of their associated squared error loss, we first need to define our unconstrained posterior predictive distribution by specifying the network properties we are interested in modeling as well as the likelihood and prior distribution–all of which are specified by the investigator.

In this simulation study, our model consists of parameters associated with degree distributions, stratified by gender and education, i.e., {DV,low, DV,mid, DV,high, DU,low, DU,mid, and DU,high} as well as mixing patterns, i.e., MM (g). We represent our observed data, {yi: i ∈ Vs or i ∈ Us}, as nine vectors: the observed degree distribution of males of low education, middle education, and high education; the observed degree distribution of females of low education, middle education, and high education; and the observed number of edges to females of low, middle, and high education from males of low education, middle education, and high education. Therefore, the data used for modeling is the following:

Y=(D[Vslow],D[Vsmid],D[Vshidh],D[Uslow],D[Usmid],D[Ushidh],M[Vslow],M[Vsmid],M[Vshidh]);

The mixing pattern data, M[Vslow], M[Vsmid], and M[Vshigh], are the rows of the mixing pattern matrix MM(g). In this simulation study, there is no reporting error; this is investigated in the next simulation.

3.1.1. Model: Degree Distributions and Mixing Patterns.

We model each of the six degree distributions for a specific gender and educational level as multinomial distributions because they are more flexibile than other commonly used distributions, such as negative binomial, geometric, or Poisson distributions. In order to use the multinomial distribution for the degree distributions, a maximum degree, dmax, needs to be specified. In the neighborhood of interest in the CHSLS study (section 4), more than 98% of subjects reported two or fewer partners in the past year; therefore, our model for our simulation studies restrict the number of partners to be three or less, i.e., dmax = 3 (in section 4, we set dmax equal to the maximum observed degree in the neighborhood of interest, which is six). Let θdV,low be a vector of parameters associated with probability that a male in the lowest education category has 0, 1,…, dmax females partners. Let θdV,mid and θdV,high represent similar vectors of parameters for middle and highest education category for males, respectively. Similarly, let θdU,low, θdU,mid, and θdU,high be the parameter vectors associated with the probability that a female in the lowest, middle, or highest education category has 0, 1,…, dmax males partners. The following likelihood are proposed for modeling each male degree distribution: Similarly, we propose the following likelihood for modeling each female degree distribution:

D[Vsk]~Multinomial(|Vsk|,θdV,k). (8)

Similarly, we propose the following likelihood for modeling each female degree distribution:

D[Usk]~Multinomial(|Usk|,θdU,k). (9)

We also model M[Vslow], M[Vsmid], and M[Vshigh] as multinomial random variables, i.e., three different multinomial distributions represent the proportion of low, middle, and high educated male relationships with low, middle, and high educated females. Let θmlow, θmmid, and θmhigh be parameter vectors associated with the probability of a male having a relationships with a female for each educational level for low, middle, and high educational level males; therefore,

M[Vsk]~Multinomial(D[Vsk]⋅(0,⋯,dmax)T,θmk). (10)

For this simulation, we model the joint distribution of the nine components as a product distribution. The following likelihood is proposed for the observed data:

Likelihood:Y~∏k∈{low,mid,high}Multinomial(|Vsk|,θdV,k)×Multinomial(|Usk|,θdU,k)×Multinomial(D[Vsk]⋅(0,⋯,dmax)T,θmk). (11)

In order to include a more complex covariance structure between these nine multinomial models, we would need to make additional assumptions about the network generating process; the underlying theory does not preclude making such assumptions to develop a complex covariance structure. However, for clarity and to maintain the focus on the proposed methods, we used the product distribution. For the prior distribution, we use a product distribution of nine Dirichlet distributions. The following prior is proposed for observed data:

Prior:θM1~∏k∈{low,mid,high}Dirichlet(αdV,k0)×Dirichlet(αdV,k0)×Dirichlet(αmk0), (12)

where θM1=(θdV,low,⋯,θdU,high,θmlow,⋯,θmhigh). Let α0=(αdV,low0,⋯,αdU,high0,αmlow0,⋯,αmhigh0). Therefore, the unconstrained posterior predictive distribution, denoted as PuconM1(Y˜M1|Y), is the following:

PosteriorPredictive:Y˜|Y,α0~∏k∈{low,mid,high}DirMult(αdV,k)×DirMult(αdU,k)×DirMult(αmk) (13)

where αdV,k=αdV,k0+|Vsk|, αdU,k=αdU,k0+|Usk|, and αmk=αmk0+D[Vsk] for k ∈ {low, mid, high}. For the results presented in the next section, the prior distribution parameters are set to a vector of ones. The constrained posterior predictive distribution, denoted as PconM1(Y˜|Y), is computed by constraining equation 13 to network compatible values.

3.1.2. Results.

Six different settings were simulated to evaluate the proposed method; each setting was repeated 100 times. All the simulations in each setting were based on generating networks with 500 males and 500 females and assigning, at random, individuals to the three levels of education. The relationships were generated using the ERGM based on the degree distribution in Table 1 and a homophily parameter value, which was allowed to vary as described below. Each of the six simulations sampled sV and sU number of males and females, respectively, from the population. From the sampled individuals, the respondent’s gender, number of partners, and education level were recorded as well as the educational level of their partners. For simulations 1–3, sV = 100 (20% of the males) and sU = 148; while for simulations 4–6, sV =50 (10% of the males) and sU = 74. These choices for sV and sU maintain the ratio of males to females sampled identical to those of the Westside neighborhood data in the CHSLS, which is the specific neighborhood studied in our application described below. For pairs of simulations (1,4), (2,5), and (3,6) the homophily parameter was set at 100, 200, and 300, respectively.

Figure 1 shows the results of 100 replicates of the average posterior predictive expected squared error for Pucon and Pcon across all network properties that comprise Y for the six simulations. Figure 1 shows a clear reduction in squared error loss; the average reduction for simulations 1–3 and 4–6 are approximately 30.6% and 23.6%, respectively. The average posterior predictive expected squared error of Pucon or Pcon is approximately half as large for the settings where sV = 100 compare to sV = 50, but there does not appear a strong relationship between the error and amount of homophily.

Figure 1.

Figure 1.

Simulation Study 1: Sampling Variability. The average of posterior predictive expected squared error of Pucon and Pcon across all parameters that comprise Y for each of the 6 simulations.

Figures 2 and 3 show the posterior predictive expected squared error for each network property that comprises Y for both Pucon (red box plots) and Pcon (blue box plots). Figure 2 shows the first three simulations where 20% of the males were sampled, while figure 3 shows the last three simulations where 10% of the males were sampled. The rows are results for simulations where the homophily value was set to 100, 200, and 300, respectively. The box plots in the first column represent properties DU,low [denoted as L0–L3], DU,mid [denoted as M0–M3], and DU,high [denoted as H0–H3], while the box plots in the second column represent properties DV,low [denoted as L0–L3], DV,mid [denoted as M0–M3], and DV,high [denoted as H0–H3]; the mixing properties Mlow [denoted as LL-LH], Mmid [denoted as ML-MH], and Mhigh [denoted as HL-HH] are depicted in the third column. The figures demonstrate that improvement in estimation is driven mostly by improvement of the mixing properties (third column); there are more moderate improvements for the properties associated with the degree distributions (first and second column).

Figure 2.

Figure 2.

Simulation Study 1: Sampling Variability. The posterior predictive expected squared error loss function of Pucon (red box plots) and Pcon (blue box plots) for each of the parameters comprising θ. The results are for simulations 1–3, where 20% of the males were sampled. The rows are results for simulations where the homophily value was set to 100, 200, and 300, respectively. The box plots in the first column represent network properties DU,low [denoted as L0–L3], DU,mid [denoted as M0–M3], and DU,high [denoted as H0–H3], while the box plots in the second column represent properties DV,low [denoted as L0–L3], DV,mid [denoted as M0–M3], and DV,high [denoted as H0–H3]; the mixing properties Mlow [denoted as LL-LH], Mmid [denoted as ML-MH], and Mhigh [denoted as HL-HH] are depicted in the third column.

Figure 3.

Figure 3.

Simulation Study 1: Sampling Variability. The posterior predictive expected squared error loss function of Pucon (red box plots) and Pcon (blue box plots) for each of the parameters comprising θ. The results are for simulations 4–6, where 10% of the males were sampled. The rows are results for simulations where the homophily value was set to 100, 200, and 300, respectively. The box plots in the first column represent network properties DU,low [denoted as L0–L3], DU,mid [denoted as M0–M3], and DU,high [denoted as H0–H3], while the box plots in the second column represent properties DV,low [denoted as L0–L3], DV,mid [denoted as M0–M3], and DV,high [denoted as H0–H3]; the mixing properties Mlow [denoted as LL-LH], Mmid [denoted as ML-MH], and Mhigh [denoted as HL-HH] are depicted in the third column.

3.2. Simulation Study 2: Sampling Variability and Systematic Reporting Bias

In simulations conducted in this section, systematic reporting bias by gender is introduced. We use a tilde above the network properties to denote the observed value; the actual and reported values may not agree, for example, dit(g)˜ denotes the reported degree of respondent i. To induce reporting bias, the reported degrees of sampled individuals are either increased (for sampled males) or decreased (for sampled females) by a specified percentage, denoted as δm and δf for males and females, respectively. For example, if δm = 50% and δf = 25% then the number of partners reported by a male is, on average, 50% higher than his true number of partners, and the number of partners reported by a female is, on average, 25% lower than her true number. We specify a broad range for these values in the simulation study below. Specifically, for a sampled male i, the reported number of parters, diV(g)˜ is the following:

diV(g)˜=diV(g)+Bi, (14)

where

Bi~Binomial(1sV,δm×∑k∈VsdV(g)), (15)

and subject to the following:

∑k∈VsBk=δm×∑k∈VsdkV(g). (16)

For a sampled female j, the reported number of parters, d^U(g), is the following:

djU(g)˜=djU(g)−Cj, (17)

where

Cj~Bionomial(1sU,δf×∑k∈UsdkU(g)), (18)

and subject to the following:

∑k∈UsCk=δf×∑k∈UsdkU(g). (19)

The following models and results assume no knowledge about the mechanism that induces systematic biases, and only make use of the reported data, which consist of respondents’ genders and reported numbers of partners, i.e., the mechanisms causing reporting bias, including the values of δm and δf, are assumed unknown and not used in the estimation procedure.

3.2.1. Model: Degree Distribution.

For clarity of illustration, we investigate only the network property of degree distribution stratified by gender, but the previous simulation studies and appendix provide details on including additional network properties. The data we use for modeling are Y=(D[Vs]˜,D[Us]˜), i.e., reported degree distribution of males and females, respectively. As in the previous simulation study, we use a multinomial distribution to model the degree distributions. Let θdV be the parameter vector associated with probability that a male has 0, 1,…, dmax females partners; let θdU represent a parameter vector for females. The following likelihoods are proposed for the degree distributions:

D[Vs]~Multinomial(sV,θdV), (20)

and

D[Us]~Multinomial(sU,θdU). (21)

We model the joint distribution of the male and female degree distributions as a product distribution. The following likelihood is proposed for our data:

Likelihood:Y~∏t∈{U,V}Multinomial(st,θdt). (22)

For the prior distribution, we use a product distribution of two Dirichlet distributions. The following prior is proposed for our data:

Prior:θM2~∏t∈{U,V}Dirichlet(αdt0), (23)

where θM2=(θdV,θdU). Let α0=(αdV0,αdU0). Therefore, the unconstrained posterior predictive distribution, denoted as PuconM2(Y˜M2|Y), is the following:

PosteriorPredictive:Y˜M2|Y,α0~∏t∈{U,V}DirMult(αdt) (24)

where αdV=αdV0+D[Vs]˜ and αdU=αdU0+D[Us]˜. For the results presented, αdV0 and αdU0 are set to a vector of ones. For the constrained posterior predictive distribution, denoted as PconM2(Y˜M2|Y), we again constrain equation 24 to network compatible values.

3.2.2. Results.

In this simulation study, we evaluated the proposed method in the presence of both sampling uncertainty and systematic reporting bias by gender. As mentioned above, the mechanisms causing reporting bias, including the values of δm and δf, are assumed unknown and not used in the estimation procedure. Instead the proposed method shrinks the resulting posterior predictive distributions towards those that are network-compatible with the amount of shrinkage depending on the amount of available information. Once again, the simulations were based on networks with 500 males and 500 females. The relationships were generated using the ERGM based on the degree distribution in Table 1. For this simulation study s1 = s2 = 100, i.e., 100 males and females were sampled from the population. As with the previous stimulation study, we compare Pucon and Pcon in terms of their associated squared error.

The first plot in Figure 4 shows the average percent reduction in posterior predictive expected squared error for values of δm,δf ∈ {0, 2.5%, 5%, ⋯, 47.5%, 50%} when Pcon is compared to Pucon. For each pair of δm and δf, 40 simulations were conducted. The plot shows that as the proposed method decreases the expected squared error of Pcon compared to Pucon by 16–28%. For example, when there is no reporting bias, i.e., δm = 0% and δf = 0% (lower left corner of the first plot), there is approximately a 24.6% reduction in posterior predictive expected square error in Pcon compared to Pucon; this is similar to the improvement shown from the first simulation. The results of applying our method suggest that the larger the systematic bias, the larger the gain in accuracy. Increases in bias in both the constrained (second plot) and unconstrained (not shown) posterior predictive distribution are, however, associated with increases in the posterior predictive expected squared error.

Figure 4.

Figure 4.

Simulation Study 2: Sampling Variability and Systematic Reporting Bias. The first plot shows the reduction in posterior predictive expected squared error between the unconstrained and constrained distributions. The second plot shows the posterior predictive expected squared error loss for the constrained posterior predictive distribution.

4. Application

4.1. Chicago Health and Social Life Survey

We investigate the association between educational level and selection of heterosexual partners using the Chicago Health and Social Life Survey (CHSLS). The CHSLS contains responses from N = 2114 individuals across five survey data sets; one represents the entire city of Chicago along with adjacent suburban communities (N=890). The other four are sampled from ethnically and socially distinctive urban neighborhoods within Chicago that have been assigned the following pseudonyms: Shoreland (N=358), an area with high concentration of young single heterosexuals and gay male, middle to upper-middle-class; Erlinda (N=210), a mixed Hispanic, working-class neighborhood; Southtown (N=307), a neighborhood of mixed lower, working and middle-class African-American residents; and Westside (N=349), a predominately working-class Mexican immigrant and Mexican-American neighborhood–see Laumann et al. [8] for a detailed description of the study and neighborhoods.

Our focus is on the structure of the heterosexual network of the Westside neighborhood. The Westside community was chosen for analysis because the sexual network was the “most geographically circumscribed” of the surveyed neighborhoods [8] (pg. 81); therefore, we expect a greater percentage of relationships is to be contained within the Westside community compared to the other surveyed neighborhoods. Since the proposed method restricts the network statistics to those that are graphical, interpretability of results improves with the degree to which the network boundary contains both individuals in each relationship. The complete CHSLS data set contains information to identify the partner’s community of residence; therefore it is possible to exclude relationships not contained within a community and make the network assumption more pertinent. However those fields are not available in the publicly available data set. In order to ensure our results are easily reproducible by all researchers, we only use the publicly available data set and provide an R library, CCMnet.

We investigate only the sexual relationships present during a 12 month period–a common time frame used in sexual behavior studies. We consider only heterosexual relationships and exclude five individuals who claimed a same-sex relationship as one of their last two partnerships. As the vast majority of individuals claimed two or fewer partners in the past 12 months this would remove all or nearly all same-sex relationships. Tables 2 and 3 show the number of partners for Westside respondents stratified by education level for males and females, respectively; Table 4 shows the mixing pattern between males and females stratified by educational level for Westside respondents.

Table 2.

Westside Degree Distribution for Males by Education

Degree 0 1 2 3 4 5 6 Total
Education Level < High School 6 53 6 1 1 0 0 67
High School or Vocational or Associate 12 37 8 1 1 0 0 59
>= Bachelors 2 9 1 0 0 0 0 12
Total 20 99 15 2 2 0 0 138

Table 3.

Westside Degree Distribution for Females by Education

Degree 0 1 2 3 4 5 6 Total
Education Level < High School 16 105 3 0 0 0 0 124
High School or Vocational or Associate 12 54 2 1 0 0 0 69
>= Bachelors 1 7 2 0 0 0 1 11
Total 29 166 7 1 0 0 1 204

Table 4.

Westside Mixing Patterns by Education

Female
< High School High School or Vocational or Associate >= Bachelors
Male < High School 110.00 39.00 2.00
High School or Vocational or Associate 58.00 63.00 13.00
>= Bachelors 3.00 10.00 8.00

Due to the personal nature of sexual history, not all information is available in the publicly accessible CHSLS data set. In particular, sizes of both the total population and sub-populations defined by gender and educational level are unavailable; in the following illustration of our method we consider the community to have 1000 adults (500 males and 500 females) and sub-population defined by education to have sizes proportional to the sampled individuals for each gender.

We explore the impact of constraining our sample space to network compatible values associated with degree distributions, stratified by gender and education, i.e., {DV,low, DV,mid, DV,high, DU,low, DU,mid, and DU,high as well as mixing patterns, i.e., MM (g)–the same network properties from the first simulation study; however, we increase dmax to 6. We also use the same formulation for the likelihood, prior, posterior and posterior predictive distributions as shown in equations 11, 12, and 13, respectively.

Based on the data presented in Tables 2, 3, and 4, there appears to exist reporting bias by gender, i.e., δm ≠ 0 or δf ≠ 0 or both. As with the simulations, we shrink the posterior predictive distributions toward network-compatible values; the amount of shrinkage depends on the amount of available information. If information is known about the reporting error mechanism, it can be incorporated into the likelihood.

Figure 5 shows the log of the posterior predictive distribution for each component of Y for both Pucon (red box plots) and Pcon (blue box plots). The first row of box plots represent the posterior predictive distributions for female degree distributions. The first set of seven box plots represent the posterior predictive distribution of DU,low (the degree distribution [0–6] for females with low education); in particular, the first set is the posterior predictive distribution for the estimate of the proportion of females with low education to have 0 partners. The second set of seven box plot pairs summarize the posterior predictive distributions for DU,mid (the degree distribution for females with medium education) and the third set of pairs are for DU,high (the degree distribution for females with high education). The second row of box plots represent similar posterior predictive distributions for male degree distributions, i.e., DV,low, DV,mid, and DV,high. The posterior predictive distributions for mixing properties are shown in the bottom row; the posterior predictive distribution for Mlow (proportion of low education males with each category [low, medium, high] of females) are represented by the first three paired box plots; posterior predictive distribution for Mmid (proportion of medium education males with each category [low, medium, high] of females) are represented by the second paired set of three box plots; and posterior predictive distribution for Mhigh (proportion of high education males with each category [low, medium, high] of females) are represented by the last three paired box plots.

Figure 5.

Figure 5.

Application. Box plots depicting the log of the posterior predictive distribution for each component of Y for the constrained to unconstrained posterior predictive distributions. The first row of box plots represent the posterior predictive distribution for female degree distributions; the second row represents similar parameters for male degree distributions. The posterior predictive distribution associated with mixing properties are shown in the bottom row.

Figure 5 demonstrates the shrinkage toward network-compatible values discussed in the Introduction. The figure shows that the overall mean number of partners for low and medium educated males is lower (box plots in the second row associated with DV,low and DV,mid are lower for degrees 2–6 in the constrained distribution), while the overall mean number of partners for low, medium, and high educated females is higher (box plots in the first row are greater for degrees 2–6 in the constrained distribution) when these properties are constrained by being required to correspond to network compatible values. This shift in mean number of partners is necessary as the males reported greater numbers of partners than do the females, but the quantities must be equal in order to be represented by a network. It also shows the variability in the amount of shift, which reflects the available information. The estimates for having 3, 4, 5 or 6 partners under the constraint are greater for high educated males and females compared to the unconstrained model (see distributions associated with properties DV,high and DU,high). The estimates for mixing patterns for Pucon and Pcon are similar (the box plots in each pair in the bottom row are close to each other).

5. Discussion

In order to investigate the spread of infectious diseases, researchers collect data regarding sexual networks using novel methods (e.g. cell phone record) and multiple sources. To be maximally useful, flexible statistical inference techniques must be developed to analyze such data. In this paper, we develop a flexible method that permits the inclusion of knowledge about the data collection process and the data themselves and ensures that resulting estimates conform to the complex set of network constraints. The constraints ensure that the posterior predictive distribution of network properties has zero probability mass on all values that are not compatible with an actual network. Therefore, the method assures that posterior predictive estimates will conform to the complex constraints imposed by a network structure.

The method provides additional benefits besides those described above. Through simulation studies, we demonstrate that the proposed method can improve estimation of bipartite network property estimates in the presence of uncertainty that arises from both sampling and systematic reporting bias. The amount of improvement depends on many factors including the choice of model for the network properties, the sampling scheme, and the type of reporting bias. In the simulation studies, we assumed no knowledge about the causes of the systematic reporting bias. Should an investigator have this additional information, however, it could be incorporated into the likelihood function.

The method presented in this paper played a critical role in designing the BCPP trial described in the Introduction. The method enabled our colleagues and us to conduct agent-based network simulation studies, which took into consideration available information on sexual network characteristics, such as mixing within and between communities as well as target coverage levels for different prevention modalities in the combination prevention package. As network-based interventions grow in popularity and the benefits for these type of simulations increase, there will be additional need for producing estimates of network properties that are consistent with network constraints.

Acknowledgments

This research is supported by grants from the National Institute of Health (R37 AI-51164). We also acknowledge the Chicago Health Study for the data set.

Funded by

• National Institute of Health. Grant Number: R37AI-51164

• Chicago Health Study

6. Appendix: Methods for Bipartite Network Construction

Let Cg and |Cg| denote the congruence class containing network g and the number of networks in Cg, respectively. As closed form expressions for |Cg| are not known, sampling from g according to the probability mass function in equation (2) is performed by a Metropolis-Hastings algorithm (MH)–a type of Markov Chain Monte Carlo (MCMC) procedure. The MH algorithm exploits relationships between the congruence classes to calculate ratios of volume factors. Given a current network gt, the algorithm proposes a network, pt, based on gt by toggling the existence of an edge at random. If the proposed network is accepted, based on equation (25) below, gt+1 = pt otherwise gt+1 = gt, see [22] for derivation of equation (25). The algorithm continues for a set number of proposals and produces an irreducible Markov chain. The equation for the acceptance probability for the MH algorithm is the following:

P(Acceptgpt+1|gt)=min(1,f(Cgpt+1,Cgt)f(Cgt,Cgpt+1)×PC(Cgpt+1)PC(Cgt)). (25)

where f(Cg, Ch) is the average number of networks in Ch that are valid proposals from an element g ∈ Cg. The nonstandard acceptance probability formula in the MH algorithm arises because the CCM’s focus on congruence classes. Equation (25) is identical to the acceptance probability derived in [22] except in that the congruence classes are defined on the space of bipartite networks.

Once the network space and network proposal method have been selected, only the functions PC(Cg) and f(Cg, Ch) need to be specified to compute equation 25. In all scenarios, the network space consists of all bipartite networks of a particular size N. As mentioned above, edge toggling is used to propose networks (described in [22]), but is restricted so that only edges with opposite types of nodes can be endpoints–a requirement of bipartite networks. As the probability mass function, PC, on congruence classes is set by the investigator, in this section we only derive f(Cg, Ch) for bipartite network properties that are estimable from egocentric data and are of interest. Let Cg and Ch denote the congruence classes for g and h. Let the edge, (i, j), between node i and node j be the connection that is toggled to move from g to h and back. Without loss of generality, let (i, j) ∈ h but (i, j) ∉ g.

Describing the method requires defining terminology and notation. Let nodes be designated as either type 1 or 2 with edges only between distinct node types. Let vector Mt(g) denote the covariate pattern distribution for nodes of type t ∈ {1, 2} of a graph g, where the ith entry of Mt(g), Mit(g), is the number of type t nodes with covariate pattern i. Let mt(g) represent the vector of covariate patterns for type t nodes in network g, where the ith entry, mit(g), is the covariate pattern of the ith type t node. Let MM (g) be a matrix representing the mixing pattern of graph g. The entry MMk,l(g) is the number of edges from a type 1 node with covariate pattern k to a type 2 node with covariate pattern l. We use slightly different notation for similar quantities describing nodal degrees. Let Dt(g) and dt(g) represent the degree distribution and degree sequence for nodes of type t. DMM(g) represents degree mixing matrices, where entry DMMi,j(g) is the number of edges from a type 1 node of degree i to a type 2 node of degree j.

6.1. Topological Properties

The equations for bipartite networks for network density are unchanged from the uni-mode case described in Goyal et al. [22], therefore we provide only details for degree distribution and the degree mixing matrix as higher-order bipartite network properties are not estimable from egocentric sample data.

Degree Distribution.

For degree distribution, congruence classes are sets of networks with identical type 1 node and type 2 node degree distributions. Thus, networks g1 and g2 are in the same congruence class if and only if Dk2(g1)=Dk2(g2) and Dk2(g1)=Dk2(g2)∀k. Recall the only difference between the graph g and h is edge (i, j) ∈ h but (i, j) ∉ g.

The number of edge toggles from a graph h to any graph in Cg is equal to the number of edges in h that have endpoint degrees of di1(h) and dj2(h), DMMdi1(h),dj2(h)(h). As f(Ch, Cg) is equal to the average number of such edge toggles for all h′ ∈ Ch,

f(Ch,Cg)=1|Ch|∑h′∈ChDMMdi1(h),dj2(h)(h′). (26)

Following arguments from Newman [5], the probability that a node’s neighbor will have degree k is proportional to k * Dk, therefore,

f(Ch,Cg)≈Ddi1(h)1(h)*di1(h)*Ddj1(h)2(h)*dj2(h)∑lDl1(h)*l. (27)

The number of edge toggles from a graph g to any graph in Ch is equal to the number of possible non-loop edges with the type 1 node endpoint degree as di1(g) and type 2 node endpoint degree as dj2(g) minus the number of edges that will generate a multi-edge; the number of such toggles that will result in a multi-edge is DMMdi1(g),dj2(g)(g). Therefore,

f(Cg,Ch)=Ddi1(g)(g)*Ddj2(g)(g)−α1, (28)

where,

α1=1|Cg|∑g′∈CgDMMdi1(g),dj2(g)(g′) (29)
≈Ddi1(g)1(g)*di1(g)*Ddj1(g)2(g)*dj2(g)∑lDl1(g)*l, (30)

by following the same arguments from Newman [5].

Degree Mixing and Degree Distribution.

We consider a partition of g such that networks g1 and g2 are in the same congruence class if and only if Dx1(g1)=Dx1(g2) and Dx2(g1)=Dx2(g2)∀x and DMMx,y(g1) = DMMx,y(g2) ∀ x, y. Since the degree mixing matrix uniquely determines the degree distributions for type 1 and type 2 nodes, an identical partition is defined when networks g1 and g2 are in the same congruence class if and only if DMM (g1) = DMM (g2). Thus, the probability mass function can be defined using the degree mixing matrix. Toggling the edge (x, y) modifies the degree mixing matrix by changing the entry corresponding to (x, y) along with the all the entries corresponding to the edges connected to nodes x and y. The number of edge toggles from a graph h ∈ Ch to any graph in Cg is equal to DMMdi1(h),dj2(h) multiplied by the probability that the neighbors of the edge’s endpoints have appropriate degrees. Similar logic holds for f(Cg, Ch), leading to the following expressions for f(Cg, Ch) and f(Ch, Cg):

f(Ch,Cg)=DMMdi1(h),dj2(h)(h)*β(i,j)0(h). (31)
f(Cg,Ch)=[Ddi1(g)(g)*Ddj2(g)(g)−α2]*β(i,j)1(g). (32)

where α2=DMMdi(g),di(g)(g),

β(i,j)s(z)≈Πk(DMMdi(z),k(z)*|Ez|−I{dj(z)=k}*snik−I{dj(z)=k}*s)(∑kDMMdi(z),k(z)*|Ez|−I{dj(z)=k}*sdi(z)−s)*Πk(DMMk,dj(z)(z)*|Ez|−I{di(z)=k}*snjk−I{di(z)=k}*s)(∑kDMMk,dj(z)(z)*|Ez|−I{di(z)=k}*sdj(z)−s) (33)

and nik and njk denote the number of neighbors of i and j with degrees equal to k.

6.2. Nodal Covariates

Nodal Covariate Mixing and Degree Distribution.

To model degree distributions and mixing patterns based on nodal covariates, we first let p be the number of distinct nodal covariate patterns of interest in the population. A common scenario is one in which not only mixing patterns between covariate patterns but also the degree distributions of type 1 and type 2 nodes, {D1,1, ⋯, D1,p } and {D2,1, ⋯, D2,p }, are observed for each covariate pattern. The following approach can be simplified for settings wherein individual covariate pattern degree distributions are not observed. In order to incorporate covariate information, knowledge of the number of individuals with covariate pattern k for each node type, Mk1 and Mk2, is required for each k.

For nodal covariate mixing and degree distribution, the congruence classes contain networks with identical numbers of nodes, degree distributions, and nodal covariate mixing matrices. Thus, networks g1 and g2 are in the same congruence class if and only if Dx1,k(g1)=Dx1,k(g2) and Dx2,k(g1)=Dx2,k(g2)∀x,k and MMk,l(g1) = MMk,l(g2)∀k, l.

Let the matrix entry DMMx,yk,l(g) represent the number of edges where type 1 node has covariate pattern k and degree x, while the type 2 node has covariate pattern l and degree y in a graph g′. For each covariate degree distribution, one entry in the mixing matrix is fixed. Therefore, given degree distribution estimates for each of the covariate patterns, the probability mass function can only be specified for the degree distributions and the entries above the diagonal in the mixing matrix, and our calculations below are restricted to when k ≠ l. Using the setup from the previous section, we let the edge set of g and h be identical except that (i, j) ∉ g and (i, j) ∈ h, and let nodes i and j have covariate patterns mi1 and mj2, respectively. The number of edge toggles from a graph h ∈ Ch to any graph in Cg is equal to the number of edges in h where one endpoint has degree di1(h) and type mi2 and the other endpoint, dj2(h) and type mj2. The proportion of edges where both endpoints are specified as type mi1 and type mj2 compared to edges where one endpoint is required to be of type mi1 is MMi,j∑zMMi,z. Using arguments similar to those above, we can calculate the average value across all g′ ∈ Cg′ of the degree mixing matrix at index (x; y) where only edges between nodes of type 1 with covariate k and nodes of type 2 with covariate l are considered; this quantity is denoted as E(DMMx,yk,l|Cg′) and expressed below:

E(DMMx,yk,l|Cg′)≈Dx1,k,l(g′)*x*Dy2,k,l(g′)*y∑zDz1,k,l(g′)*z (34)

where,

D(1,k,l)(g′)=D1,k(g′)*MMk,l∑zMMk,z (35)

and

D(2,k,l)(g′)=D2,l(g′)*MMk,l∑zMMz,l. (36)

Thus,

f(Ch,Cg)=E(DMMdi(h),dj(h)mi,mj|Ch) (37)

and,

f(Cg,Ch)=Mmi1*Mmj2−α3 (38)

Where α3=E(DMMdi(g),dj(g)mi,mj|Cg).

Nodal Covariate Mixing, Degree Mixing, and Degree Distribution.

In a similar fashion as above the proposed method can be extended to include degree mixing.

Footnotes

Conflict of Interest: None declared.

References

  • [1].Ghani A, Swinton J, Garnett G. The role of sexual partnership networks in the epidemiology of gonorrhea. Sexually Transmitted Diseases 1997; 24(1):45–56. [DOI] [PubMed] [Google Scholar]
  • [2].Ghani A, Garnett G. Risks of acquiring and transmitting sexually transmitted diseases in sexual partner networks. Sexually Transmitted Diseases 2000; 27(10):579–587. [DOI] [PubMed] [Google Scholar]
  • [3].Kretzschmar M, Morris M. Measures of concurrency in networks and the spread of infectious disease. Mathematical Biosciences 1996; 133:165–195. [DOI] [PubMed] [Google Scholar]
  • [4].Morris M, Kurth A, Hamilton D, Moody J, Wakefield S. Concurrent partnerships and hiv prevalence disparities by race: Linking science and public health practice. American Journal of Public Health 2009; 99(6):1023–1031. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [5].Newman M Assortative mixing in networks. Physical Review Letters 2002; 89(20):208701. [DOI] [PubMed] [Google Scholar]
  • [6].Wang R, Goyal R, Lei Q, Essex M, De Gruttola V. Sample size considerations in the design of cluster randomized trials of combination hiv prevention. Clinical Trials 2014;:1740774514523 351. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [7].Laumann EO. The social organization of sexuality: Sexual practices in the United States. University of Chicago Press, 1994. [Google Scholar]
  • [8].Laumann E, Ellingson S, Mahay J, Paik A, Youm Y. The sexual organization of the city. University of Chicago Press, 2004. [Google Scholar]
  • [9].Lewin B, Fugl-Meyer K, Helmius G, Lalos A, Månsson S. Sex in sweden. Stockholm: National Institute of Public Health 1996;. [Google Scholar]
  • [10].Helleringer S, Kohler H, Kalilani-Phiri L, Mkandawire J, Armbruster B. The reliability of sexual partnership histories: implications for the measurement of partnership concurrency during surveys. AIDS (London, England) 2011; 25(4):503. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [11].Todd J, Cremin I, McGrath N, Bwanika J, Wringe A, Marston M, Kasamba I, Mushati P, Lutalo T, Hosegood V. Reported number of sexual partners: comparison of data from four african longitudinal studies. Sexually transmitted infections 2009; 85(Suppl 1):i72–i80. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [12].Goodreau S, Cassels S, Kasprzyk D, Montaño D, Greek A, Morris M. Concurrent partnerships, acute infection and hiv epidemic dynamics among young adults in zimbabwe. AIDS and Behavior 2012; 16(2):312–322. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [13].Morris M, Kretzschmar M. A microsimulation study of the effect of concurrent partnerships on the spread of hiv in uganda. Mathematical Population Studies 2000; 8(2):109–133. [Google Scholar]
  • [14].Boily M, Mâsse B, Alsallaq R, Padian N, Eaton J, Vesga J, Hallett T. Hiv treatment as prevention: Considerations in the design, conduct, and analysis of cluster randomized controlled trials of combination hiv prevention. PLoS Med July 2012; 9(7):e1001250. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [15].Boren D, Sullivan P, Beyrer C, Baral S, Bekker L, Brookmeyer R. Stochastic variation in network epidemic models: implications for the design of community level hiv prevention trials. Statistics in medicine 2014;. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [16].Cori A, Ayles H, Beyers N, Schaap A, Floyd S, Sabapathy K, Eaton JW, Hauck K, Smith P, Griffith S, et al. Hptn 071 (popart): a cluster-randomized trial of the population impact of an hiv combination prevention intervention including universal testing and treatment: mathematical model. PloS one 2014; 9(1):e84511. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [17].Brewer DD, Potterat JJ, Garrett SB, Muth SQ, Roberts JM, Kasprzyk D, Montano DE, Darrow WW. Prostitution and the sex discrepancy in reported number of sexual partners. Proceedings of the National Academy of Sciences 2000; 97(22):12385–12388. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [18].Blitzstein J, Diaconis P. A sequential importance sampling algorithm for generating random graphs with prescribed degrees. Internet Mathematics 2010; 6(4):487–520. [Google Scholar]
  • [19].Newman M Spread of epidemic disease on networks. Physical review E 2002; 66(1):016128. [DOI] [PubMed] [Google Scholar]
  • [20].Amanatidis Y, Green B, Mihai M. Graphic realizations of joint-degree matrices. Unpublished 2008;. [Google Scholar]
  • [21].Goyal R, Blitzstein J, De Gruttola V. Simulating bipartite networks to reflect uncertainty in local network properties. Harvard University Biostatistics Working Paper Series 2013; Working Paper 137.
  • [22].Goyal R, Blitzstein J, DeGruttola V. Sampling networks from their posterior predictive distribution. Network Science 2014; 2(01):107–131. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [23].Handcock M, Jones J. Likelihood-based inference for stochastic models of sexual network formation. Theoretical Population Biology 2004; 65(4):413–422. [DOI] [PubMed] [Google Scholar]
  • [24].Winkleby M, Jatulis D, Frank E, Fortmann S. Socioeconomic status and health: how education, income, and occupation contribute to risk factors for cardiovascular disease. American journal of public health 1992; 82(6):816–820. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [25].Pettifor A, Levandowski B, MacPhail C, Padian N, Cohen M, Rees H. Keep them in school: the importance of education as a protective factor against hiv infection among young south african women. International journal of epidemiology 2008; 37(6):1266–1273. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [26].Frank O, Strauss D. Markov graphs. Journal of the American Statistical Association 1986; 81:832–842. [Google Scholar]

RESOURCES