<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Appl. Math. Stat.</journal-id>
<journal-title>Frontiers in Applied Mathematics and Statistics</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Appl. Math. Stat.</abbrev-journal-title>
<issn pub-type="epub">2297-4687</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fams.2023.1241538</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Applied Mathematics and Statistics</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>An agent-based multi-level model to study the spread of gonorrhea in different and interacting risk groups</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>Stolfi</surname> <given-names>Paola</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/1992677/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Vergni</surname> <given-names>Davide</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/2396330/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Castiglione</surname> <given-names>Filippo</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/112711/overview"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Institute for Applied Computing (IAC), National Research Council of Italy</institution>, <addr-line>Rome</addr-line>, <country>Italy</country></aff>
<aff id="aff2"><sup>2</sup><institution>Biotech Research Center, Technology Innovation Institute</institution>, <addr-line>Abu Dhabi</addr-line>, <country>United Arab Emirates</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Gennady Bocharov, Marchuk Institute of Numerical Mathematics (RAS), Russia</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Abdessamad Tridane, United Arab Emirates University, United Arab Emirates; Marcus Rosenblatt, University of Freiburg, Germany</p></fn>
<corresp id="c001">&#x0002A;Correspondence: Paola Stolfi <email>p.stolfi&#x00040;iac.cnr.it</email></corresp>
</author-notes>
<pub-date pub-type="epub">
<day>13</day>
<month>10</month>
<year>2023</year>
</pub-date>
<pub-date pub-type="collection">
<year>2023</year>
</pub-date>
<volume>9</volume>
<elocation-id>1241538</elocation-id>
<history>
<date date-type="received">
<day>16</day>
<month>06</month>
<year>2023</year>
</date>
<date date-type="accepted">
<day>25</day>
<month>09</month>
<year>2023</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2023 Stolfi, Vergni and Castiglione.</copyright-statement>
<copyright-year>2023</copyright-year>
<copyright-holder>Stolfi, Vergni and Castiglione</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p></license></permissions>
<abstract>
<sec>
<title>Introduction</title>
<p>Mathematical modeling has emerged as a crucial component in understanding the epidemiology of infectious diseases. In fact, contemporary surveillance efforts for epidemic or endemic infections heavily rely on mathematical and computational methods. This study presents a novel agent-based multi-level model that depicts the transmission dynamics of gonorrhea, a sexually transmitted infection (STI) caused by the bacterium <italic>Neisseria gonorrhoeae</italic>. This infection poses a significant public health challenge as it is endemic in numerous countries, and each year sees millions of new cases, including a concerning number of drug-resistant cases commonly referred to as gonorrhea superbugs or super gonorrhea. These drug-resistant strains exhibit a high level of resistance to recommended antibiotic treatments.</p></sec>
<sec>
<title>Methods</title>
<p>The proposed model incorporates a multi-layer network of agents&#x00027; interaction representing the dynamics of sexual partnerships. It also encompasses a transmission model, which quantifies the probability of infection during sexual intercourse, and a within-host model, which captures the immune activation following gonorrhea infection in an individual. It is a combination of agent-based modeling, which effectively captures interactions among various risk groups, and probabilistic modeling, which enables a theoretical exploration of sexual network characteristics and contagion dynamics.</p></sec>
<sec>
<title>Results</title>
<p>Numerical simulations of the dynamics of gonorrhea infection using the complete agent-based model are carried out. In particular, some examples of possible epidemic evolution are presented together with an application to a real case study. The goal was to construct a virtual population that closely resembles the target population of interest.</p></sec>
<sec>
<title>Discussion</title>
<p>The uniqueness of this research lies in its objective to accurately depict the influence of distinct sexual risk groups and their interaction on the prevalence of gonorrhea. The proposed model, having interpretable and measurable parameters from epidemiological data, facilitates a more comprehensive understanding of the disease evolution.</p></sec></abstract>
<kwd-group>
<kwd>agent-based modeling</kwd>
<kwd>dynamic networks</kwd>
<kwd>multi-scale modeling</kwd>
<kwd>epidemic modeling</kwd>
<kwd>scale-free networks</kwd>
</kwd-group>
<counts>
<fig-count count="7"/>
<table-count count="2"/>
<equation-count count="30"/>
<ref-count count="22"/>
<page-count count="13"/>
<word-count count="8001"/>
</counts>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Mathematical Biology</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1. Introduction</title>
<p>Effective surveillance of endemic and epidemic infections, along with the implementation of control measures, greatly benefits from the insights gained through precise mathematical modeling. Mathematical modeling plays a pivotal role in accurately characterizing the transmission and spread of diseases by providing a solid formal framework to represent various factors contributing to epidemic dynamics. Additionally, the use of robust statistical methods for parameter estimation enhances the reliability and accuracy of these models.</p>
<p>The present study is conducted as part of the JPIAMR-project MAGIcIAN<xref ref-type="fn" rid="fn0001"><sup>1</sup></xref>, an international initiative focused on promoting the sustainable introduction of novel class and last-resort antimicrobial drugs while minimizing the emergence of antimicrobial resistance. Within this project, one of the primary objectives, which is the subject of this article, is to develop a computational model that accurately captures the dynamics of gonorrhea transmission, a sexually transmitted infection (STI) caused by the bacterium <italic>Neisseria gonorrhoeae</italic> (<italic>N. gonorrhoeae</italic>). The aim is to provide scenarios that assist in controlling the prevalence of this infection.</p>
<p>The selection of the <italic>N. gonorrhoeae</italic> bacterium for this study is driven by its significant impact on public health. It remains a major concern due to the alarming number of new cases reported worldwide. According to the World Health Organization (WHO), an estimated 82.4 million new cases were recorded among adolescents and adults aged 15&#x02013;49 years in 2020 alone<xref ref-type="fn" rid="fn0002"><sup>2</sup></xref>. Furthermore, the emergence of extensively drug-resistant strains of gonorrhea, commonly known as gonorrhea superbugs or super gonorrhea, poses an additional threat. These strains exhibit high-level resistance not only to the current recommended treatments for gonorrhea (ceftriaxone and azithromycin) but also to other commonly used antibiotics such as penicillin, sulphonamides, tetracycline, fluoroquinolones, and macrolides. This combination of a significant number of new cases and the presence of extensively drug-resistant strains underscores the urgent need for a better understanding of the spread and control of this infection.</p>
<p>In recent years, scientists have dedicated significant efforts to studying the <italic>N. gonorrhoeae</italic> infection from various perspectives, recognizing its threat to public health. These efforts have yielded valuable insights. For instance, in the study by Spicknall et al. [<xref ref-type="bibr" rid="B1">1</xref>], the authors explore the relative importance of different anatomical sites in gonorrhea transmission among men who have sex with men (MSM). They propose an anatomical site-specific gonorrhea transmission model specific to this population. Another study by Craig et al. [<xref ref-type="bibr" rid="B2">2</xref>] investigates the potential impact of a vaccine on the spread of gonorrhea using an individual-based epidemiological simulation model. Their work delves into the effects of vaccination strategies in mitigating the transmission dynamics of the infection. Heymans et al. [<xref ref-type="bibr" rid="B3">3</xref>] examine the role of sexual habits in determining different transmission networks. They construct a MSM sexual network using molecular data from a clinic in Amsterdam and compare the resulting clusters with epidemiological characteristics obtained from questionnaires. This study sheds light on the relationship between sexual behavior and the spread of gonorrhea. Additionally, Buyze et al. [<xref ref-type="bibr" rid="B4">4</xref>] investigate the impact of screening activities on the prevalence of gonorrhea within the homosexual community. Their research explores the effectiveness of screening interventions in reducing the prevalence of the infection.</p>
<p>These studies, among others, contribute to a comprehensive understanding of gonorrhea transmission, its associated factors, and potential control measures.</p>
<p>In the realm of mathematical treatment for the spread of sexually transmitted infections (STIs), a crucial aspect to consider is the sexual contact network. This network is represented by a graph consisting of nodes that represent individuals in the community and edges that represent sexual connections between two individuals. Numerous contributions in literature have focused on modeling sexual contact networks. For example, Buyze et al. [<xref ref-type="bibr" rid="B4">4</xref>] utilized a separable temporal exponential-family random graph model to characterize the sexual contact network of MSM in Belgium. They calibrated their model using data from Belgian participants in the European MSM Internet Survey [<xref ref-type="bibr" rid="B5">5</xref>], which has been conducted since 2010 and provides a large and diverse sample of MSM across Europe. Vajdi et al. [<xref ref-type="bibr" rid="B6">6</xref>] introduced a multilayer sexual contact network that accounts for both steady and casual partnerships. In their model, individuals can be in either an active or inactive state, which is independent of their infection status and solely pertains to their search for sexual partners. The transition between these states is modeled as a stochastic process. The authors investigated the spread of STIs using a susceptible-infected-susceptible (SIS) model and developed a mean-field approximation to describe the spreading process. These studies, among others, have made significant contributions to understanding the dynamics of STI transmission by incorporating the complex structure of sexual contact networks. The incorporation of these networks provides a more realistic and comprehensive representation of the spread of STIs within communities. In Mei et al. [<xref ref-type="bibr" rid="B7">7</xref>], the focus is on explaining the HIV epidemic among MSM in Amsterdam. The authors introduce a complex agent network that combines a multi-agent system with a complex network to depict the network of sexual partnerships. The model is calibrated using various data sources, including questionnaires, clinical data, and information from literature. This comprehensive approach allows for a more accurate representation of the HIV epidemic dynamics. Zarrabi et al. [<xref ref-type="bibr" rid="B8">8</xref>] reconstruct the HIV transmission network in central Italy by integrating social and genetic data. Through their work, they reveal the significant role of transmission between different risk groups in HIV spread. This approach provides insights into the interconnectedness of various risk groups and their contributions to the overall transmission dynamics. In Whittles et al. [<xref ref-type="bibr" rid="B9">9</xref>], a dynamic power-law sexual network is proposed to study a gonorrhea outbreak. The authors introduce an affinity parameter that describes the propensity to form and dissolve partnerships, which are modeled using stochastic processes. The methodology is applied to the MSM community, utilizing data from the Natsal-3 survey [<xref ref-type="bibr" rid="B10">10</xref>], and calibrating the models based on data from the Gonococcal Resistance to Antimicrobial Surveillance Programme [<xref ref-type="bibr" rid="B11">11</xref>], conducted by the UK Health Security Agency (formerly Public Health England). Additionally, the study investigates the impact of screening, condom use, and the introduction of vaccines on the gonorrhea outbreak.</p>
<p>These studies highlight the importance of incorporating complex sexual networks and diverse data sources to understand and control the spread of STIs, such as HIV and gonorrhea, among specific populations. The combination of agent-based modeling, network analysis, and data calibration provides valuable insights into the dynamics of STI transmission and the potential impact of control measures.</p>
<p>The model here presented offers a comprehensive depiction of the spread of gonorrhea by incorporating both population-level (between-host) and individual-level (within-host) dynamics. This multi-level approach allows for a more accurate representation of infection dynamics among different risk groups and enables the inclusion of targeted intervention strategies to control the prevalence of the infection. At the between-host level, the model incorporates a dynamic multilayer network that captures the dynamics of sexual partnerships among individuals. This network takes into account the existence of different sexual orientations, represented as different layers, and the interactions between them, including bisexual individuals. This approach goes beyond the common focus on the MSM community and acknowledges the diversity of sexual orientations and their potential impact on gonorrhea transmission. The transmission model within the between-host component accounts for the probability of gonorrhea infection during sexual intercourse. By considering the dynamics of sexual partnerships and the varying risks associated with different types of sexual interactions, the model provides a more realistic representation of the transmission process. The within-host component of the model comprises a set of ordinary differential equations that describe the evolution of the pathogen and the immune response within an individual. This component also considers the use of antibiotic treatments, which play a crucial role in controlling the infection at the individual level. By integrating these between-host and within-host components, the model offers a comprehensive framework for studying the spread of gonorrhea, considering both the population-level dynamics of sexual partnerships and the individual-level dynamics of the pathogen and immune response. This holistic approach provides a more accurate representation of the infection dynamics and enables the exploration of targeted intervention strategies to control the prevalence of gonorrhea.</p>
<p>The principal novelty of this work is in combining the flexibility of Agent-Based Modeling (ABM) [<xref ref-type="bibr" rid="B12">12</xref>] with a formal probabilistic model, enabling the study of complex interactions and the identification of interpretable parameters from available data. In this approach, each agent in the model represents an individual with specific features that influence the dynamics of infection and disease progression. Two important characteristics considered for each agent are their sexual orientation and level of promiscuity, which significantly impact the likelihood of acquiring and transmitting gonorrhea infection. The sexual contact network is represented as a dynamic power-law interacting multilayer network. Each layer corresponds to a different risk group, such as Heterosexuals (HMW or HM and HW to differentiate gender), Men Having Sex with Men (MSM), and Women Having Sex with Women (WSW). Each risk group exhibits distinct sexual behavior, leading to different degree distributions within each layer. Additionally, the model incorporates individuals who are bisexual, allowing for interactions between different layers and communities. The ABM approach offers the potential to enrich agent characteristics as the model evolves and new epidemiological data becomes available. It also enables the modeling of interactions between different communities, which is crucial for capturing the overall dynamics of infection. Moreover, the model allows for customization of the infection dynamics within an individual based on their specific features, assigning a risk of infection to each individual.</p>
<p>To the best of our knowledge, this is the first attempt to model gonorrhea infection at multiple levels while considering different risk groups. By integrating ABM with a probabilistic framework, this approach provides a novel and comprehensive tool for studying the dynamics of gonorrhea infection and understanding the impact of different risk groups on its spread.</p></sec>
<sec sec-type="results" id="s2">
<title>2. Results</title>
<p>In this section, we present some numerical simulations of the dynamics of gonorrhea infection using the complete agent-based model. In Section 2.1 we present some example of possible epidemic evolution while in Section 2.2 we apply our model to a real case study. The goal is to construct a virtual population that closely resembles the target population of interest. To achieve this, we define the distribution of agent features within the virtual population, including gender, sexual orientation, presence of infections, and symptoms among individuals. Moreover, also the parameters associated with the dynamics of sexual partnerships, i.e., how partnerships form, evolve, and dissolve over time, need to be determined in order to capture the complexity of real-world sexual interactions. Finally, some parameters related to the transmission of infection and to the within-host dynamics are needed. The goal is to determine parameters to ensure that the model behavior aligns with observed data and known epidemiological characteristics. For a more comprehensive understanding of each level and its mathematical and implementation details, please refer to the Section &#x0201C;Materials and methods&#x0201D;. That section provides in-depth explanations of the model&#x00027;s components, algorithms, and numerical techniques employed in the study. The multi-level model is implemented in R programming language.</p>
<sec>
<title>2.1. Simulation study</title>
<p>In this section we construct several simulation examples aimed at showing the behavior of the sexual contact network and of the complete multi-level model. Specifically, these simulations involve a population of <italic>N</italic> &#x0003D; 20, 000 individuals, distributed across different sexual orientations. Within this simulated population, 60% of individuals are heterosexual, 35% are homosexual males, and 5% are homosexual females. This distribution of sexual orientations within the simulated population reflects the proportions observed in the SOAP data (see Section 2.2).</p>
<p>As specified in Section 2.2, the degree distribution of each community or risk group, follows a power law distribution with different exponent &#x003B3;, see Section 4 for details. We consider three sets of parameters for these exponents which are reported in <xref ref-type="table" rid="T1">Table 1</xref>. Specifically, Par 2 and Par 3 are obtained by estimating the degree distribution of the three considered communities in Amsterdam and Rotterdam respectively, while Par 1 is set to test our model with higher values of the &#x003B3; parameter for the heterosexual and the homosexual communities.</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p>Power law distribution parameters used in the simulation examples.</p></caption> 
<table frame="box" rules="all">
<thead>
<tr style="background-color:#919497;color:#ffffff">
<th/>
<th valign="top" align="left"><bold>HMW</bold></th>
<th valign="top" align="center"><bold>MSM</bold></th>
<th valign="top" align="center"><bold>WSW</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Par 1</td>
<td valign="top" align="center">2.9</td>
<td valign="top" align="center">2.2</td>
<td valign="top" align="center">3.5</td>
</tr> <tr>
<td valign="top" align="left">Par 2</td>
<td valign="top" align="center">2.1</td>
<td valign="top" align="center">1.5</td>
<td valign="top" align="center">3.3</td>
</tr> <tr>
<td valign="top" align="left">Par 3</td>
<td valign="top" align="center">2.5</td>
<td valign="top" align="center">1.7</td>
<td valign="top" align="center">3.7</td>
</tr></tbody>
</table>
</table-wrap>
<p>For each of these sets we consider four different mixing scenarios which means that among homosexual men and women, some of them are bisexual, therefore they have the potential to form sexual partnerships with individuals from both homosexual and heterosexual communities. The four mixing scenarios are: no mixing, 1% of mixing, 10% of mixing and 25% of mixing.</p>
<p>For each scenario we provide information regarding the Largest Connected Component (LCC), the diameter of the LCC, the degree distribution and the dynamic of the epidemics.</p>
<p>In the study of networks, and most importantly in the case of dynamical networks, the concepts of LCC and diameter play a crucial role in understanding the overall structure of the network and provide valuable insights into the evolution of dynamical processes over the nextwork [<xref ref-type="bibr" rid="B13">13</xref>]. Moreover, in our case, the study of these quantities is mandatory in order to have a good topological description of the structure of a multi-layer dynamic network with different mixing levels between the layers that nontrivially affect the infection spreading. The LCC is the largest subset of nodes within a network that are mutually connected, i.e., there is always a path between any two nodes in the component [<xref ref-type="bibr" rid="B14">14</xref>]. Obviously the LCC in a dynamical network can change over time and, a fortiori, has important implications in the epidemic spreading. The diameter of a network refers to the longest among all the shortest path between any pair of nodes within the network. It measures the distance in steps, via the shortest path, of the two farthest nodes in the network. The diameter provides a measure of the network&#x00027;s efficiency in terms of communication and information transfer [<xref ref-type="bibr" rid="B14">14</xref>]. A smaller diameter implies that nodes in the network can be easily connected and it gives a measure on how fast a contagion process can spread over the network.</p>
<p><xref ref-type="fig" rid="F1">Figure 1</xref> shows LCC and diameter for three different set of parameters (see <xref ref-type="table" rid="T1">Table 1</xref>) and four different level of mixing, respectively. As expected, at rising the mixing level the LCC growth, while it decreases when using steepest scale-free parameters. In the latter case, also the behavior of the diameter behaves has expected, i.e., a steepest degree distribution corresponds to larger diameters, but what is quite unexpected is the small rising occurring when changing the level of mixing. This surprising behavior could depend on the relationship between two factors: (i) the topological structure of each layer, i.e., a scale-free network with different scaling exponent, and (ii) the mixing involving agents with a high degree which could have a limited impact on the overall diameter.</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p>This figure shows the LCC and the diameter for each configuration of the parameters of the network and for each mixing scenarios.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-09-1241538-g0001.tif"/>
</fig>
<p><xref ref-type="fig" rid="F2">Figure 2</xref> shows the degree distribution of heterosexual community in the network obtained by considering the second set of parameters in <xref ref-type="table" rid="T1">Table 1</xref> and the different mixing scenarios. It turned out that the scale-free structure of the community remains unchanged at varying the mixing scenario. For a matter of space here we report only heterosexuals, but the same happens for all the risk groups, meaning that proposed methodology is able to keep the characteristic structure of each risk group regardless the mixing, which is the main novelty of this model.</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p>The figures illustrate the degree distribution of heterosexuals community within the simulated sexual contact networks for each level of mixing. The plots are presented in a log-log scale to better visualize the power-law distribution. In each panel, a orange line is the true scaling reported in <xref ref-type="table" rid="T2">Table 2</xref> while the blue dots are the simulated values. This orange line serves as a reference to assess the accuracy of the proposed method in capturing the observed degree distribution.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-09-1241538-g0002.tif"/>
</fig>
<p>The different sets of scale-free parameters reported in <xref ref-type="table" rid="T1">Table 1</xref> impact the dynamic of epidemic. In <xref ref-type="fig" rid="F3">Figure 3</xref> we report the simulated dynamics obtained from the first and the third set of scale-free parameters. We observe that, when the scale-free parameters are in the range (2, 3), as is for Par 1 in <xref ref-type="table" rid="T1">Table 1</xref>, the behavior of the epidemic is comparable between HMW and MSM, even if the latter, having an higher scaling parameter, has a steepest growth, as shown in <xref ref-type="fig" rid="F3">Figure 3A</xref>. On the contrary, when the scale-free parameters between the communities differ, as is for Par 3 in <xref ref-type="table" rid="T1">Table 1</xref>, the epidemic growth affecting MSM and HMW in not comparable, as in <xref ref-type="fig" rid="F3">Figure 3B</xref>. Regarding WSW community, the scaling parameters in the two examples are similar and higher than those of MSM and HMW, and, since there are a small numbers of agents in this community, just 5%, the number of infected is very low.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>The simulations depict the dynamic evolution of infected individuals over a span of 4 years (208 weeks on the <italic>x</italic>-axis) for two sets of power law parameters reported in <xref ref-type="table" rid="T1">Table 1</xref>, namely the first and the third. We conducted 10 simulations and computed the median value across all simulations, which is represented by the solid lines. The shaded areas correspond to the interquartile ranges, providing a visual representation of the variability observed within the simulations. <bold>(A)</bold> First set of power law parameters. <bold>(B)</bold> Third set of power law parameters.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-09-1241538-g0003.tif"/>
</fig></sec>
<sec>
<title>2.2. A real case study</title>
<p>The agent-based multi-level model has undergone calibration using data sourced from the SOAP (STI surveillance database [<xref ref-type="bibr" rid="B15">15</xref>]) provided by the National Institute of Public Health of The Netherlands. In the following we briefly describe the dataset and how the information are used to calibrate the parameters of the model.</p>
<p>The dataset covers the period from 2010 to 2018 and comprises 1,439,186 records, representing unique visits to healthcare providers. The dataset encompasses various information essential for defining the sexual behaviors of each agent within the model. This includes personal details, which provide insights into individuals&#x00027; sexual habits. Additionally, the dataset contains information on past sexually transmitted diseases, previous antibiotic treatments, and current gonorrhea infection status. It is important to note that the dataset includes records for all individuals who underwent gonorrhea testing, regardless of the test result. Consequently, the sample is representative of high-risk groups within the considered regions. Given the non-homogeneous nature of the reported information across regions, the data is not aggregated. Instead, the analysis focuses on two regional health services with the highest number of records, namely Amsterdam and Rotterdam. These regions serve as focal points for the subsequent analysis and evaluation of the model&#x00027;s performance. For a matter of space, here we only show the results obtained for the region of Rotterdam, while those related to the city of Amsterdam can be found in the conference paper containing a preliminary version of this work, Stolfi et al. [<xref ref-type="bibr" rid="B16">16</xref>].</p>
<p>The personal information available in the dataset, specifically gender and sexual orientation, is utilized to create a realistic virtual population within the model. This ensures that the simulated population aligns with real-world demographics and characteristics. Specifically, we simulated a population of <italic>N</italic> &#x0003D; 20, 000 individuals where 60% of individuals are heterosexual, 35% are homosexual males, and 5% are homosexual females. It is assumed that among homosexual men and women, 10% of them are bisexual, meaning they have the potential to form sexual partnerships with individuals from both homosexual and heterosexual communities. To calibrate the rate of antibiotic usage, information on symptoms is employed. The probability of developing symptoms differs based on sexual orientation and gender. For heterosexual males, the probability is set at <italic>p</italic> &#x0003D; 0.7, while for heterosexual/homosexual females and homosexual males, the probability is set at <italic>p</italic> &#x0003D; 0.3, these parameters are consistent with existing literature [<xref ref-type="bibr" rid="B17">17</xref>]. The duration of asymptomatic infections is &#x0007E;6 months, while symptomatic infections last for 2 weeks from the start of antibiotic treatment. Individuals with symptomatic infections receive treatment during the simulation. Information on the number of sexual partners in the past 6 months is used to estimate the parameters of the sexual contact network.</p>
<p>According to the data presented in <xref ref-type="fig" rid="F4">Figure 4A</xref>, illustrating the number of sexual partners in the last 6 months for the three communities under consideration, it is evident that each community adheres to a power-law degree distribution as outlined in our model. The scale-free parameters of each community are estimated using the maximum likelihood estimation method [<xref ref-type="bibr" rid="B18">18</xref>]. The resulting values are &#x003B3; &#x0003D; 2.5 for HMW, &#x003B3; &#x0003D; 1.7 for MSM and &#x003B3; &#x0003D; 3.7 for WSW, which correspond to Par3 in <xref ref-type="table" rid="T1">Table 1</xref>. As in the simulation study, we are able to exactly replicate the degree distribution of the real network also in the presence of mixing between risk groups (see <xref ref-type="fig" rid="F4">Figure 4B</xref>). The estimated parameters play a crucial role in determining the structure and characteristics of the sexual contact network within the model. By incorporating real-world data, we ensure that the simulated network closely resembles the actual patterns of sexual partnerships in the target region and in the target risk groups.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p>Contact degree distribution of each community, namely heterosexuals men and women (left), homosexual men (middle), and homosexual women (right). The first row refers to the SOAP data of Rotterdam [<xref ref-type="bibr" rid="B15">15</xref>] while the second row refers to simulation data for Rotterdam. <bold>(A)</bold> Rotterdam data-HMW, MSM, WSW, respectively. <bold>(B)</bold> Simulated data-HMW, MSM, WSW, respectively.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-09-1241538-g0004.tif"/>
</fig>
<p>The information on current gonorrhea infection, specifically the number of infected individuals, is utilized to calibrate two important free parameters in the model: the probability of transmission at peak load and the average number of sexual intercourses per day in the population. These parameters are crucial in determining the transmission dynamics of gonorrhea within the model (details are provided in model Section 4). Due to the complexity of the multi-level model, maximum likelihood estimation is not feasible for parameter calibration. Therefore, a simulation-based estimation method [<xref ref-type="bibr" rid="B19">19</xref>] is employed to calibrate these free parameters. This approach involves running simulations of the model with different parameter values and comparing the simulated outcomes with the observed data on the percentage of infected individuals. <xref ref-type="fig" rid="F5">Figure 5</xref> displays the percentage of infected individuals in Rotterdam from 2010 to 2018. It is observed that the proportion of infected individuals remains consistently between 2 and 10% of the total individuals visiting the clinics during these years. This suggests that gonorrhea is endemic in that region. Furthermore, the impact of the two communities, HMW and MSM, is comparable. This differ for what we observed in Amsterdam, see Stolfi et al. [<xref ref-type="bibr" rid="B16">16</xref>], where MSM have a higher impact on the prevalence of infection compared to HMW. These observations highlight the importance of considering different risk groups and their respective contributions to the overall prevalence of gonorrhea infection in different regions.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p>Percentage of infected individuals visiting the clinics in Rotterdam from 2010 to 2018. Panel <bold>(A)</bold> reports the total percentage of infected individuals while panel <bold>(B)</bold> report the percentage of infected individuals per sexual orientation, namely heterosexuals (HMW) and homosexuals (MSM and WSW).</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-09-1241538-g0005.tif"/>
</fig>
<p>In <xref ref-type="fig" rid="F6">Figure 6</xref>, we present the dynamics of the simulations over a period of 208 weeks, corresponding to 4 years. <xref ref-type="fig" rid="F6">Figure 6A</xref> display the total percentage of infected individuals while <xref ref-type="fig" rid="F6">Figure 6B</xref> display the percentage of infected individuals within each community. The solid lines in both plots represent the median percentage of infected individuals averaged over 50 simulations, while the shaded areas indicate the interquartile ranges. It is evident that the model successfully reproduces the endemic nature of gonorrhea infection observed in Rotterdam, exhibiting a narrow range of variability. This demonstrates the robustness of our model in capturing the observed patterns. Additionally, the model accurately reflects the differential impact of each community on the prevalence of gonorrhea, which is a crucial factor in formulating effective intervention strategies.</p>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p>The simulations for Rotterdam depict the dynamic evolution of infected individuals over a span of 4 years (208 weeks on the <italic>x</italic>-axis). We conducted 50 simulations and computed the median value across all simulations, which is represented by the solid lines. The shaded areas correspond to the interquartile ranges, providing a visual representation of the variability observed within the simulations. <bold>(A)</bold> Simulations for Rotterdam: Total percentage of infected individuals in Rotterdam. <bold>(B)</bold> Simulations for Rotterdam: Percentage of infected individuals per sexual orientation in Rotterdam.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-09-1241538-g0006.tif"/>
</fig></sec></sec>
<sec sec-type="discussion" id="s3">
<title>3. Discussion</title>
<p>The strength of the presented model lies in its ability to accurately represent various risk groups within a population. Unlike many previous studies that focused solely on MSM in a dynamic framework or included different risk groups in a static framework, our model considers different risk groups based on sexual orientation in a dynamic scheme. Additionally, we investigate groups that are interconnected through individuals who have diverse sexual preferences, such as bisexual men and women. This capability to model interacting communities with distinct sexual behaviors in a dynamic framework is particularly significant as it greatly influences the overall dynamics of STI transmission and prevalence. As far as our knowledge extends, this represents the initial undertaking in modeling interacting risk groups within a dynamic framework. Consequently, it is important to highlight that, although desirable for scientific scrutiny, a direct comparison with existing models is not achievable. However, if we restrict our model only to one community than we get the same model introduce in Whittles et al. [<xref ref-type="bibr" rid="B9">9</xref>].</p>
<p>We have provided the mathematical details of the agent-based multi-level model and demonstrated its capability to reproduce the infection dynamics in various regions and assess the contribution of different communities to the spread of gonorrhea. The strength of this model lies in the fact that each agent represents an individual with specific characteristics that influence the infection dynamics. By expanding and incorporating additional characteristics, we can generalize the model to describe a broader range of infectious phenomena, such as considering different infection sites and varying antibiotic resistance. Importantly, this model can also incorporate intervention strategies aimed at controlling the spread of gonorrhea, making it versatile and adaptable for managing public health interventions.</p>
<p>The ultimate goal of the multi-level model is to contribute to antimicrobial resistance (AMR) surveillance and facilitate the introduction of new antimicrobial drugs while minimizing the emergence of resistance. To achieve this, the model will be extended to include different bacterial strains with varying antibiotic resistance profiles, allowing for the representation of the emergence of resistant strains. This can be implemented through a probabilistic model that takes into account individual features such as STI history and frequency of antibiotic treatments, providing a more accurate replication of resistance dynamics within the population of interest. Additionally, the model will be utilized to generate scenarios that incorporate screening activities for detecting asymptomatic infections, the use of different first and second-line antibiotic treatments, and the tailoring of treatment based on individual characteristics such as past antibiotic usage or previous STIs. By simulating these scenarios, the model can quantitatively assess and monitor the emergence of antimicrobial resistance. Furthermore, the model can serve as a strategy for guiding the introduction of novel antibiotics. The key output of the model will be the evolution of resistant strains at the population level. By comparing these dynamics across different scenarios, the model provides a quantitative tool for monitoring AMR and offers insights into strategies for the introduction of new antibiotics.</p></sec>
<sec sec-type="materials and methods" id="s4">
<title>4. Materials and methods</title>
<p>The agent-based multi-level model is composed of two main components: the between-host component and the within-host component. The between-host component encompasses the sexual contact network and the transmission model. The sexual contact network is constructed with multiple layers that represent different risk groups based on sexual orientation. Each risk group has its own dynamics of sexual partnerships, which are modeled using stochastic processes. This allows for the representation of diverse sexual behaviors and interactions within and between risk groups. The transmission model quantifies the probability of infection during sexual intercourse using a probabilistic approach. On the other hand, the within-host component focuses on the individual-level dynamics of the infection. It incorporates a set of ordinary differential equations (ODEs) that describe the evolution of the pathogen within an infected individual. These equations capture the interactions between the pathogen and the host&#x00027;s immune response, taking into account factors such as pathogen replication, immune response activation, and the use of antibiotic treatment. By considering the within-host dynamics, the model can simulate the progression of the infection and the effectiveness of interventions at an individual level. By combining the between-host and within-host components, the agent-based multi-level model provides a comprehensive framework for studying the spread of infections within a population. It allows for the exploration of complex interactions between individuals, the impact of different risk groups, and the effects of interventions on both the individual and population levels. In <xref ref-type="table" rid="T3">Algorithm 1</xref> we provide an algorithmic description of the implementation of the agent based multi-level model.</p>
<sec>
<title>4.1. Dynamic sexual contact network</title>
<p>The sexual contact network in the agent-based multi-level model is represented as a dynamic network, where each node represents an individual or agent characterized by various features, for instance gender and sexual orientation. The edges or links between nodes represent sexual partnerships between individuals. The network is structured into communities or layers that correspond to different sexual orientations, including heterosexuals and homosexuals. These communities capture the clustering of individuals with similar sexual preferences. However, in addition to within-community interactions, the model also allows for interactions between communities through the presence of bisexual individuals who can form partnerships with individuals from different communities. In <xref ref-type="fig" rid="F7">Figure 7</xref> we provide a graphical representation of the resulting network structure, namely obtained through our multi-layer dynamic network model with 300 nodes, with the details of the process of formation and breakup.</p>
<fig id="F7" position="float">
<label>Figure 7</label>
<caption><p>Graphical representation of the multi-layer network with the formation and breakup of partnerships processes between two agents <italic>i</italic> and <italic>j</italic>, that are modeled by Poisson processes whose rate are <italic>a</italic> (<italic>h</italic><sub><italic>i</italic></sub>, <italic>h</italic><sub><italic>j</italic></sub>) and <italic>d</italic> (<italic>h</italic><sub><italic>i</italic></sub>, <italic>h</italic><sub><italic>j</italic></sub>), respectively as detailed in Section 4.1.1. Solid lines represent ongoing partnerships, dashed lines represent potential new partnerships while crossed lines represent potential break of partnerships. It is worth noting that the net on the left hand side is a network generated by our multi-layer dynamic network model with 300 nodes.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-09-1241538-g0007.tif"/>
</fig>
<p>The degree distribution of sexual contact networks typically follows a power-law distribution, indicating that there are a few highly connected individuals (hubs) and a large number of individuals with few connections [<xref ref-type="bibr" rid="B20">20</xref>]. However, it is important to note that different communities within the network may exhibit different scale exponents, reflecting the diversity in sexual behavior and partnership patterns among different sexual orientations. To capture this diversity and enable interactions between communities, a novel approach has been developed in this model. This approach builds upon previous work on epidemic dynamics in a single community, specifically the work by Whittles et al. [<xref ref-type="bibr" rid="B9">9</xref>]. By extending and adapting this approach to the multi-community case, the model can capture the complex mixing patterns and dynamics of sexual partnerships within and between communities.</p>
<sec>
<title>4.1.1. Multi-layer dynamic network</title>
<p>Let <italic>N</italic> be the number of individuals in the network, <bold><italic>h</italic></bold><sub><italic>i</italic></sub> &#x0003D; (<italic>s</italic><sub><italic>i</italic></sub>, &#x003BB;<sub><italic>i</italic></sub>) be the feature vector of individual <italic>i</italic>, where <italic>s</italic><sub><italic>i</italic></sub> &#x02208; <italic>S</italic> &#x0003D; {<italic>HM, HW, MSM, WSW</italic>} stands for the sexual orientation and &#x003BB;<sub><italic>i</italic></sub> refers to the propensity to form new partnerships, whose probability distribution is different among communities (or layers). Sexual contacts naturally change over time, therefore formation and breakup of partnerships between two agents <italic>i</italic> and <italic>j</italic> are modeled by Poisson processes whose rate are <italic>a</italic>(<bold><italic>h</italic></bold><sub><italic>i</italic></sub>, <bold><italic>h</italic></bold><sub><italic>j</italic></sub>) and <italic>d</italic>(<bold><italic>h</italic></bold><sub><italic>i</italic></sub>, <bold><italic>h</italic></bold><sub><italic>j</italic></sub>), respectively. Following Whittles et al. [<xref ref-type="bibr" rid="B9">9</xref>] let us assume <italic>d</italic>(<bold><italic>h</italic></bold><sub><italic>i</italic></sub>, <bold><italic>h</italic></bold><sub><italic>j</italic></sub>) &#x0003D; &#x003D5;<italic>a</italic>(<bold><italic>h</italic></bold><sub><italic>i</italic></sub>, <bold><italic>h</italic></bold><sub><italic>j</italic></sub>), with &#x003D5;&#x0003E;1. This assumption reflects empirical findings that a high number of concurrent sexual partnerships implies a short duration of relationships. Since a Poisson process with parameter &#x003C4; can also be defined by stating that the time differences between events of the process are exponential variables with mean &#x003C4;<sup>&#x02212;1</sup>, the probability that agents <italic>i</italic> and <italic>j</italic> are in a partnership at time <italic>t</italic> is given by</p>
<disp-formula id="E1"><mml:math id="M1"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mi>a</mml:mi><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mo>&#x0002B;</mml:mo><mml:mi>d</mml:mi><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Using this formula, we calculate the probability of agents <italic>i</italic> and <italic>j</italic> being in a partnership in the upcoming year</p>
<disp-formula id="E2"><label>(1)</label><mml:math id="M2"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>q</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:mo class="qopname">exp</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mi>a</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:mi>a</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mo class="qopname">exp</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mi>a</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></sec>
<sec>
<title>4.1.2. Degree distribution of partnership</title>
<p>The probability distribution of partnership of agent <italic>i</italic> in the past years can be formally expressed as</p>
<disp-formula id="E4"><label>(2)</label><mml:math id="M4"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:msub><mml:mrow><mml:mo>&#x0222B;</mml:mo></mml:mrow><mml:mrow><mml:mi>&#x003A9;</mml:mi></mml:mrow></mml:msub></mml:mstyle><mml:mi>q</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where &#x003A9; is the event space of all agents and <italic>f</italic>(<bold><italic>h</italic></bold>) &#x0003D; <italic>f</italic>(&#x003BB;|<italic>s</italic>) is the probability density of the propensity &#x003BB; given the sexual orientation <italic>s</italic><sub><italic>i</italic></sub>. Since the sexual orientation is a discrete variable, the above expression can be explicitly written as</p>
<disp-formula id="E5"><label>(3)</label><mml:math id="M5"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BB;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>S</mml:mi></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mstyle displaystyle="true"><mml:msubsup><mml:mrow><mml:mo>&#x0222B;</mml:mo></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mi>&#x0221E;</mml:mi></mml:mrow></mml:msubsup></mml:mstyle><mml:mi>q</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003BB;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:mi>&#x003BB;</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:mi>s</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:mi>&#x003BB;</mml:mi><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where &#x003C8;<sub><italic>s</italic></sub> &#x0003D; <italic>N</italic><sub><italic>s</italic></sub>/(<italic>N</italic>&#x02212;1) and <italic>N</italic><sub><italic>s</italic></sub> is the number of individuals having sexual orientation <italic>s</italic>. The degree distribution of agent <italic>i</italic>, i.e., the number of relationship in which agent <italic>i</italic> is involved, denoted as <italic>k</italic><sub><italic>i</italic></sub>, is a random variable following the binomial distribution, namely <inline-formula><mml:math id="M6"><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0007E;</mml:mo><mml:mstyle class="text"><mml:mtext class="textrm" mathvariant="normal">Bin</mml:mtext></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="script">N</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003BB;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> where <inline-formula><mml:math id="M7"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="script">N</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:math></inline-formula> is the number of individuals which can form a partnerships with an agent having sexual orientation <italic>s</italic><sub><italic>i</italic></sub>. Therefore the degree distribution of agent <italic>i</italic> is given by the expected value</p>
<disp-formula id="E6"><label>(4)</label><mml:math id="M8"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="script">N</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003BB;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>As mentioned earlier, sexual contact networks typically exhibit a power-law degree distribution [<xref ref-type="bibr" rid="B20">20</xref>]. Therefore, we assume that the community with sexual orientation <italic>s</italic><sub><italic>i</italic></sub> follows a power-law degree distribution based on data from the previous year</p>
<disp-formula id="E7"><label>(5)</label><mml:math id="M9"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>p</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Clearly, since we are dealing with a finite set of individuals, the power law cannot extend to infinity, so it is mandatory to introduce two cut-offs for the distribution, <italic>k</italic><sub>0,<italic>s</italic><sub><italic>i</italic></sub></sub> and <italic>k</italic><sub>&#x0221E;,<italic>s</italic><sub><italic>i</italic></sub></sub>. The constant <italic>c</italic><sub><italic>s</italic><sub><italic>i</italic></sub></sub> can be computed as</p>
<disp-formula id="E8"><mml:math id="M10"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true"><mml:msubsup><mml:mrow><mml:mo>&#x0222B;</mml:mo></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x0221E;</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup></mml:mstyle><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:mi>d</mml:mi><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x0221E;</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>and</p>
<disp-formula id="E9"><label>(6)</label><mml:math id="M11"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x0221E;</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Now we can use the method of transformation to compute the degree distribution of the community having sexual orientation <italic>s</italic><sub><italic>i</italic></sub>:</p>
<disp-formula id="E10"><label>(7)</label><mml:math id="M12"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>p</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="true">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>k</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>&#x003BB;</mml:mi></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="true">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>The density of &#x003BB;|<italic>s</italic><sub><italic>i</italic></sub> is then obtained as</p>
<disp-formula id="E11"><label>(8)</label><mml:math id="M13"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="true">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>k</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>&#x003BB;</mml:mi></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="true">)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Integrating both sides between 0 and &#x003BB; we obtain</p>
<disp-formula id="E12"><label>(9)</label><mml:math id="M14"><mml:mtable class="eqnarray" columnalign="right"><mml:mtr><mml:mtd><mml:mi>F</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:msubsup><mml:mrow><mml:mo>&#x0222B;</mml:mo></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mi>&#x003BB;</mml:mi></mml:mrow></mml:msubsup></mml:mstyle><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi>&#x003BB;</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mtext>&#x0200A;</mml:mtext></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:msup><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:msup><mml:mrow><mml:mi>&#x003BB;</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mtext>&#x0200A;</mml:mtext></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:msubsup><mml:mrow><mml:mo>&#x0222B;</mml:mo></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mi>&#x003BB;</mml:mi></mml:mrow></mml:msubsup></mml:mstyle><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:mi>d</mml:mi><mml:mi>k</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi>&#x003BB;</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mtext>&#x0200A;</mml:mtext></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:msup><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mfrac><mml:mrow><mml:mi>k</mml:mi><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>which gives the following formula</p>
<disp-formula id="E14"><label>(10)</label><mml:math id="M16"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>k</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="true">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mi>F</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="true">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:msup><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></sec>
<sec>
<title>4.1.3. Closed expression for formation and breakup rates</title>
<p>Now there are two formulae for the degree distribution of sexual contact for the orientation <italic>s</italic><sub><italic>i</italic></sub>, Equations (4) and (10). Assuming a suitable and realistic expression for the probability that agents <italic>i</italic> and <italic>j</italic> are in a partnership in a given year, <italic>q</italic>(<bold><italic>h</italic></bold><sub><italic>i</italic></sub>; <bold><italic>h</italic></bold><sub><italic>j</italic></sub>), we can derive an explicit expression for the coefficients governing partnership formation and dissolution. These coefficients, in turn, determine the dynamics of the sexual network.</p>
<p>We assume that</p>
<disp-formula id="E15"><label>(11)</label><mml:math id="M17"><mml:mtable columnalign='right'><mml:mtr><mml:mtd><mml:mi>q</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>h</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msub><mml:mo>;</mml:mo><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>h</mml:mi></mml:mstyle><mml:mi>j</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>q</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>&#x003BB;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>&#x003BB;</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo> <mml:mrow><mml:mtable columnalign='left'><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:mi>g</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>&#x003BB;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mi>g</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>&#x003BB;</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mtext>if&#x000A0;</mml:mtext><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:msup><mml:mover accent='true'><mml:mi>g</mml:mi><mml:mo>&#x000AF;</mml:mo></mml:mover><mml:mn>2</mml:mn></mml:msup><mml:mi>M</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mtext>if&#x000A0;</mml:mtext><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x02260;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow> </mml:mrow><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>The first hypothesis is reasonable since in the case of the same sexual orientation the probability of being in a relationship can be factorized by the product of the same relationship propensity function, <italic>g</italic>(&#x003BB;<sub><italic>j</italic></sub>|<italic>s</italic><sub><italic>i</italic></sub>), characterizing the particular sexual orientation. The second hypothesis states that there is a small and constant probability, &#x01E21;, of being in a relationship with a bisexual individual. This is because the model contemplate a mating term between different sexual orientations, but it must not be too large to heavily influence the network of sexual contacts, as it happens in reality. Here <italic>M</italic>(<italic>s</italic><sub><italic>i</italic></sub>, <italic>s</italic><sub><italic>j</italic></sub>) is the symmetrical mating matrix between different sexual orientation, whose values is 1 if <italic>s</italic><sub><italic>i</italic></sub> &#x0003D; <italic>HW</italic> and <italic>s</italic><sub><italic>j</italic></sub> &#x0003D; <italic>MSM</italic> or <italic>s</italic><sub><italic>i</italic></sub> &#x0003D; <italic>HM</italic> and <italic>s</italic><sub><italic>j</italic></sub> &#x0003D; <italic>WSW</italic>, 0 otherwise.</p>
<p>From the above assumptions and Equations (4) and (3), it follows</p>
<disp-formula id="E17"><label>(12)</label><mml:math id="M19"><mml:mtable columnalign='center'><mml:mtr><mml:mtd><mml:msub><mml:mi>k</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>&#x003BB;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant='script'>N</mml:mi><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mstyle displaystyle='true'><mml:msub><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>&#x02208;</mml:mo><mml:mi mathvariant='double-struck'>S</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:msub><mml:mi>&#x003C8;</mml:mi><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:mstyle displaystyle='true'><mml:mrow><mml:msubsup><mml:mo>&#x0222B;</mml:mo><mml:mn>0</mml:mn><mml:mi>&#x0221E;</mml:mi></mml:msubsup><mml:mi>q</mml:mi></mml:mrow></mml:mstyle><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>&#x003BB;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi>&#x003BB;</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:mi>&#x003BB;</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant='script'>N</mml:mi><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow> <mml:mo>[</mml:mo> <mml:mrow><mml:mstyle displaystyle='true'><mml:msub><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>:</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>&#x02260;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:msub><mml:mi>&#x003C8;</mml:mi><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mover accent='true'><mml:mi>g</mml:mi><mml:mo>&#x000AF;</mml:mo></mml:mover><mml:mn>2</mml:mn></mml:msup><mml:mi>M</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow> </mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>&#x003C8;</mml:mi><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>&#x003BB;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mstyle displaystyle='true'><mml:mrow><mml:msubsup><mml:mo>&#x0222B;</mml:mo><mml:mn>0</mml:mn><mml:mi>&#x0221E;</mml:mi></mml:msubsup><mml:mi>g</mml:mi></mml:mrow></mml:mstyle><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:mi>&#x003BB;</mml:mi></mml:mrow> <mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant='script'>N</mml:mi><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow> <mml:mo>[</mml:mo> <mml:mrow><mml:mstyle displaystyle='true'><mml:msub><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>:</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>&#x02260;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:msub><mml:mi>&#x003C8;</mml:mi><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mover accent='true'><mml:mi>g</mml:mi><mml:mo>&#x000AF;</mml:mo></mml:mover><mml:mn>2</mml:mn></mml:msup><mml:mi>M</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow> </mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>&#x003C8;</mml:mi><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>&#x003BB;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mi mathvariant='double-struck'>E</mml:mi><mml:mrow><mml:mo>[</mml:mo> <mml:mrow><mml:mi>g</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow> <mml:mo>]</mml:mo></mml:mrow></mml:mrow> <mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>We integrate the previous formula as follows</p>
<disp-formula id="E19"><mml:math id="M21"><mml:mtable class="eqnarray" columnalign="right"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true"><mml:msubsup><mml:mrow><mml:mo>&#x0222B;</mml:mo></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mi>&#x0221E;</mml:mi></mml:mrow></mml:msubsup></mml:mstyle><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:mi>&#x003BB;</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="script">N</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mstyle displaystyle="true"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>:</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02260;</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mi>&#x01E21;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mi>M</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mi>E</mml:mi><mml:msup><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mi>g</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>By using Equation (10) the left hand side is computed as</p>
<disp-formula id="E20"><label>(13)</label><mml:math id="M22"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true"><mml:msubsup><mml:mrow><mml:mo>&#x0222B;</mml:mo></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mi>&#x0221E;</mml:mi></mml:mrow></mml:msubsup></mml:mstyle><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:mi>&#x003BB;</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:msubsup><mml:mrow><mml:mo>&#x0222B;</mml:mo></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mi>&#x0221E;</mml:mi></mml:mrow></mml:msubsup></mml:mstyle><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mi>F</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:msup><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:mi>&#x003BB;</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Therefore</p>
<disp-formula id="E22"><label>(14)</label><mml:math id="M24"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="script">N</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mstyle displaystyle="true"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>:</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02260;</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mi>&#x01E21;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mi>M</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mi>E</mml:mi><mml:msup><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mi>g</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x02003;&#x000A0;&#x02003;&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>and</p>
<disp-formula id="E24"><label>(15)</label><mml:math id="M26"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>E</mml:mi><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mi>g</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="script">N</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mfrac><mml:mfrac><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x0221E;</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x0221E;</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mfrac></mml:mrow></mml:msqrt></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msqrt><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>:</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02260;</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munder></mml:mstyle><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:msup><mml:mrow><mml:mi>&#x01E21;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mi>M</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msqrt><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>To obtain <italic>g</italic>(&#x003BB;|<italic>s</italic><sub><italic>i</italic></sub>), we consider Equation (12) rearranging it as follows</p>
<disp-formula id="E26"><label>(16)</label><mml:math id="M28"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>g</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mi>g</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mi>k</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="script">N</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mfrac><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02260;</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munder></mml:mstyle><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:msup><mml:mrow><mml:mi>&#x01E21;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mi>M</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>This is the closed formula for <italic>g</italic>(&#x003BB;|<italic>s</italic><sub><italic>i</italic></sub>) that can be used to compute the rate of formation and breakup of partnerships recalling the assumption <italic>d</italic>(<bold><italic>h</italic></bold><sub><italic>i</italic></sub>, <bold><italic>h</italic></bold><sub><italic>j</italic></sub>) &#x0003D; &#x003D5;<italic>a</italic>(<bold><italic>h</italic></bold><sub><italic>i</italic></sub>, <bold><italic>h</italic></bold><sub><italic>j</italic></sub>,) and therefore</p>
<disp-formula id="E27"><label>(17)</label><mml:math id="M29"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>q</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mo class="qopname">exp</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mi>a</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow></mml:mfrac></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>which can be inverted as</p>
<disp-formula id="E28"><label>(18)</label><mml:math id="M30"><mml:mtable columnalign='left'><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:mi>a</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>h</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>h</mml:mi></mml:mstyle><mml:mi>j</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo> <mml:mrow><mml:mtable columnalign='left'><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:mo>&#x02212;</mml:mo><mml:mi>ln</mml:mi><mml:mrow><mml:mo>[</mml:mo> <mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mi>g</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>&#x003BB;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mi>g</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>&#x003BB;</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mi>&#x003D5;</mml:mi></mml:mfrac></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow> <mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mtext>if&#x000A0;</mml:mtext><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:mo>&#x02212;</mml:mo><mml:mi>ln</mml:mi><mml:mrow><mml:mo>[</mml:mo> <mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msup><mml:mover accent='true'><mml:mi>g</mml:mi><mml:mo>&#x000AF;</mml:mo></mml:mover><mml:mn>2</mml:mn></mml:msup></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mi>&#x003D5;</mml:mi></mml:mfrac></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow> <mml:mo>]</mml:mo></mml:mrow><mml:mi>M</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mtext>if&#x000A0;</mml:mtext><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x02260;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow> </mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>While the process of formation and breakup of partnerships is similar to the one proposed in Whittles et al. [<xref ref-type="bibr" rid="B9">9</xref>] (which in turn is based on the work in Servedio et al. [<xref ref-type="bibr" rid="B21">21</xref>]), the introduction of a multi-layer network in a dynamic framework, where each layer is characterized by its own degree distribution and the layers have the possibility to interact, represents the novelty of this work.</p></sec></sec>
<sec>
<title>4.2. Transmission model</title>
<p>A crucial element in the multi-level description of gonorrhea infection dynamics is played by the transmission model, which stochastically describes both the number of intercourses occurring in the unit of time and the probability of infection transmission during an intercourse.</p>
<p>The number of intercourses in the unit of time is described by a poisson process whose parameter depends on the population size and on the data available for the population. At each time step, the extracted number of intercourses are randomly distributed among the various possible couples active at that time. Once a couple is selected, if one agent of the couple is infected and the other is uninfected, then a new infection could take place with a transmission probability computed according to the model already presented in Stolfi et al. [<xref ref-type="bibr" rid="B16">16</xref>] that is inspired by Craig et al. [<xref ref-type="bibr" rid="B2">2</xref>].</p>
<p>Briefly, the probability of transmission, denoted as &#x003B2;, is determined by the bacterial load <italic>l</italic>:</p>
<disp-formula id="E29"><mml:math id="M31"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>&#x003B2;</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B2;</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mfrac><mml:mrow><mml:mo class="qopname">ln</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>l</mml:mi><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo class="qopname">ln</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>l</italic><sub><italic>c</italic></sub> is the critical load, representing the minimum bacterial load required for transmission, <italic>l</italic><sub><italic>p</italic></sub> is the bacterial peak load, and &#x003B2;<sub><italic>p</italic></sub> is the transmission probability at the peak load.</p></sec>
<sec>
<title>4.3. Within-host model</title>
<p>Once an agent becomes infected, the multi-level model incorporates the within-host component to capture the dynamics of the infection. This component consists of a set of ordinary differential equations that describe the competition and evolution of the immune system and bacteria within the infected agent. The within-host model takes into account different dynamics depending on whether the infected agent seeks treatment or not, which is influenced by the presence or absence of symptoms.</p>
<p>We begin with the model proposed in Caudill and Lawson [<xref ref-type="bibr" rid="B22">22</xref>], which considers a single site of infection and a single strain of bacteria. When an agent becomes infected, the immune response is activated, resulting in the slowing down of bacterial growth through a term that represents the general immune response. The following equations provide a detailed description of this process:</p>
<disp-formula id="E30"><mml:math id="M32"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>&#x01E56;</mml:mi></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mi>a</mml:mi><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mi>b</mml:mi><mml:mi>P</mml:mi><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mi>P</mml:mi></mml:mrow></mml:mfrac><mml:mo>-</mml:mo><mml:mi>z</mml:mi><mml:mi>P</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>&#x00130;</mml:mi></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>c</mml:mi><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>v</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mi>P</mml:mi></mml:mrow></mml:mfrac><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mi>I</mml:mi></mml:mrow></mml:mfrac><mml:mo>-</mml:mo><mml:mi>q</mml:mi><mml:mi>I</mml:mi><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where the parameters are described in <xref ref-type="table" rid="T2">Table 2</xref>. A further discussion of this model together with the trajectories of the dynamics can be found in Stolfi et al. [<xref ref-type="bibr" rid="B19">19</xref>].</p>
<table-wrap position="float" id="T2">
<label>Table 2</label>
<caption><p>Description and value of the within-host model parameters.</p></caption> 
<table frame="box" rules="all">
<thead>
<tr style="background-color:#919497;color:#ffffff">
<th valign="top" align="left"><bold>Parameter</bold></th>
<th valign="top" align="left"><bold>Value</bold></th>
<th valign="top" align="left"><bold>Description</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left"><italic>P</italic></td>
<td valign="top" align="left">N.A.</td>
<td valign="top" align="left">Bacterial load</td>
</tr> <tr>
<td valign="top" align="left"><italic>I</italic></td>
<td valign="top" align="left">N.A.</td>
<td valign="top" align="left">General immune response</td>
</tr> <tr>
<td valign="top" align="left"><italic>P</italic><sub><italic>max</italic></sub></td>
<td valign="top" align="left">5,000</td>
<td valign="top" align="left">Bacterial carrying capacity</td>
</tr> <tr>
<td valign="top" align="left"><italic>b</italic></td>
<td valign="top" align="left">0.01</td>
<td valign="top" align="left">Bacterial death rate due to immune response</td>
</tr> <tr>
<td valign="top" align="left"><italic>s</italic></td>
<td valign="top" align="left">50</td>
<td valign="top" align="left">Immune kill rate saturation constant</td>
</tr> <tr>
<td valign="top" align="left"><italic>c</italic></td>
<td valign="top" align="left">2</td>
<td valign="top" align="left">Rate of pathogen induced immune responder activation</td>
</tr> <tr>
<td valign="top" align="left"><italic>v</italic></td>
<td valign="top" align="left">1,000</td>
<td valign="top" align="left">Pathogen-induced immune activation saturation constant</td>
</tr> <tr>
<td valign="top" align="left"><italic>d</italic></td>
<td valign="top" align="left">1</td>
<td valign="top" align="left">Rate at which immune responder activation is induced by autocatalysis</td>
</tr> <tr>
<td valign="top" align="left"><italic>m</italic></td>
<td valign="top" align="left">400</td>
<td valign="top" align="left">Saturation constant of the immune activation autocatalysis</td>
</tr> <tr>
<td valign="top" align="left"><italic>q</italic></td>
<td valign="top" align="left">0.0022</td>
<td valign="top" align="left">Immune responder decay rate</td>
</tr> <tr>
<td valign="top" align="left"><italic>a</italic></td>
<td valign="top" align="left">0.0073</td>
<td valign="top" align="left">Bacterial growth rate</td>
</tr> <tr>
<td valign="top" align="left"><italic>z</italic></td>
<td valign="top" align="left">0.0055</td>
<td valign="top" align="left">Bacterial death rate due to antibiotic treatment</td>
</tr></tbody>
</table>
<table-wrap-foot>
<p>The value N.A. stands for Not Applicable and are referred to <italic>P</italic> and <italic>I</italic> which are the variables of the ODEs.</p>
</table-wrap-foot>
</table-wrap>
</sec>
<sec>
<title>4.4. Algorithmic description of the integrated model</title>
<table-wrap position="float" id="T3">
<label>Algorithm 1</label>
<caption><p>Multi-level model algorithm.</p></caption>
<table frame="hsides" rules="groups">
<tbody>
<tr><td align="left" valign="top"><monospace><bold>Require:</bold> sexual contact network <italic>SCN</italic></monospace></td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;<monospace>Initialize the network instance <italic>Net</italic>(0) from SCN</monospace></td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;<monospace><bold>for</bold> <italic>t</italic> &#x0003D; 0 <bold>to</bold> <italic>T</italic> <bold>do</bold></monospace></td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;&#x000A0;&#x000A0;<monospace>Create new partnerships, i.e., choose {(<italic>i, j</italic>)} such that <italic>i</italic> and <italic>j</italic> become a partnership</monospace></td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;&#x000A0;&#x000A0;<monospace>Define new breakups, i.e., choose {(<italic>i</italic>&#x02032;, <italic>j</italic>&#x02032;)} such that <italic>i</italic>&#x02032; and <italic>j</italic>&#x02032; are not a partnership anymore</monospace></td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;&#x000A0;&#x000A0;<monospace>Update the network (<italic>Net</italic>(<italic>t</italic>)&#x02190; updated network)</monospace></td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;&#x000A0;&#x000A0;<monospace>Select the partnerships having a sexual intercourse, i.e., <inline-formula><mml:math id="M33"><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x00129;</mml:mi><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mrow><mml:mi>j</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></inline-formula></monospace></td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;&#x000A0;&#x000A0;<monospace>for all <inline-formula><mml:math id="M34"><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>i</mml:mi><mml:mi>n</mml:mi><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x00129;</mml:mi><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mrow><mml:mi>j</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></inline-formula> <bold>do</bold></monospace></td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;<monospace>if (<italic>i</italic><sub><italic>k</italic></sub> or <italic>j</italic><sub><italic>k</italic></sub> is infected) <bold>then</bold></monospace></td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;<monospace>update the bacterial load by using the within-host model</monospace></td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;<monospace>define whether the susceptible partner gets the infection by using transmission model</monospace></td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;<monospace>if (infection transmitted) <bold>then</bold></monospace></td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;<monospace>update the status of the agent <italic>i</italic><sub><italic>k</italic></sub> or <italic>j</italic><sub><italic>k</italic></sub></monospace> </td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;<monospace><bold>end if</bold></monospace> </td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;<monospace><bold>end if</bold></monospace> </td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;&#x000A0;&#x000A0;<monospace><bold>end for</bold></monospace> </td></tr>
<tr><td align="left" valign="top">&#x000A0;&#x000A0;<monospace><bold>end for</bold></monospace></td></tr>
</tbody>
</table>
</table-wrap></sec></sec>
<sec sec-type="data-availability" id="s5">
<title>Data availability statement</title>
<p>The data analyzed in this study is subject to the following licenses/restrictions. The dataset belongs to RIVM National Institute for Public Health and we are not authorized to make it available to the public. Requests to access these datasets should be directed at: <ext-link ext-link-type="uri" xlink:href="https://www.rivm.nl/&#x00026;lt">https://www.rivm.nl/&#x00026;lt</ext-link>.</p></sec>
<sec sec-type="author-contributions" id="s6">
<title>Author contributions</title>
<p>PS, DV, and FC contributed to conception and design of the study and wrote sections of the manuscript. PS organized the database, performed the statistical analysis and implemented the model. All authors contributed to manuscript revision, read, and approved the submitted version.</p></sec>
</body>
<back>
<sec sec-type="funding-information" id="s7">
<title>Funding</title>
<p>Partial support from the Italian Ministry of Education, University and Research under the frame of JPI AMR (project MAGIcIAN, No. 0000873).</p>
</sec>
<ack><p>The authors would like to thank the RIVM National Institute for Public Health and the Environment for sharing the data. The authors would also like to thank Constance Schultsz, Rik Oldenkamp, and Emiliano Mancini for the insightful discussions.</p>
</ack>
<sec sec-type="COI-statement" id="conf1">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s8">
<title>Publisher&#x00027;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<fn-group>
<fn id="fn0001"><p><sup>1</sup><ext-link ext-link-type="uri" xlink:href="https://www.magician-amr.eu">https://www.magician-amr.eu</ext-link></p></fn>
<fn id="fn0002"><p><sup>2</sup><ext-link ext-link-type="uri" xlink:href="https://www.who.int/news-room/fact-sheets/detail/multi-drug-resistant-gonorrhoea">https://www.who.int/news-room/fact-sheets/detail/multi-drug-resistant-gonorrhoea</ext-link></p></fn>
</fn-group>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Spicknall</surname> <given-names>IH</given-names></name> <name><surname>Mayer</surname> <given-names>KH</given-names></name> <name><surname>Aral</surname> <given-names>SO</given-names></name> <name><surname>Romero-Severson</surname> <given-names>EO</given-names></name></person-group>. <article-title>Assessing uncertainty in an anatomical site-specific gonorrhea transmission model of men who have sex with men</article-title>. <source>Sex Transm Dis</source>. (<year>2019</year>) <volume>46</volume>:<fpage>321</fpage>&#x02013;<lpage>8</lpage>. <pub-id pub-id-type="doi">10.1097/OLQ.0000000000000953</pub-id><pub-id pub-id-type="pmid">30516722</pub-id></citation></ref>
<ref id="B2">
<label>2.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Craig</surname> <given-names>AP</given-names></name> <name><surname>Gray</surname> <given-names>RT</given-names></name> <name><surname>Edwards</surname> <given-names>JL</given-names></name> <name><surname>Apicella</surname> <given-names>MA</given-names></name> <name><surname>Jennings</surname> <given-names>MP</given-names></name> <name><surname>Wilson</surname> <given-names>DP</given-names></name> <etal/></person-group>. <article-title>The potential impact of vaccination on the prevalence of gonorrhea</article-title>. <source>Vaccine</source>. (<year>2015</year>) <volume>33</volume>:<fpage>4520</fpage>&#x02013;<lpage>5</lpage>. <pub-id pub-id-type="doi">10.1016/j.vaccine.2015.07.015</pub-id></citation>
</ref>
<ref id="B3">
<label>3.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Heymans</surname> <given-names>R</given-names></name> <name><surname>A Matser</surname> <given-names>A</given-names></name> <name><surname>Bruisten</surname> <given-names>SM</given-names></name> <name><surname>Heijman</surname> <given-names>T</given-names></name> <name><surname>Geskus</surname> <given-names>RB</given-names></name> <name><surname>Speksnijder</surname> <given-names>AG</given-names></name> <etal/></person-group>. <article-title>Distinct <italic>Neisseria gonorrhoeae</italic> transmission networks among men who have sex with men in Amsterdam, the Netherlands</article-title>. <source>J Infect Dis</source>. (<year>2012</year>) <volume>206</volume>:<fpage>596</fpage>&#x02013;<lpage>605</lpage>. <pub-id pub-id-type="doi">10.1093/infdis/jis399</pub-id><pub-id pub-id-type="pmid">22693236</pub-id></citation></ref>
<ref id="B4">
<label>4.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Buyze</surname> <given-names>J</given-names></name> <name><surname>Berghe</surname> <given-names>WV</given-names></name> <name><surname>Hens</surname> <given-names>N</given-names></name> <name><surname>Kenyon</surname> <given-names>C</given-names></name></person-group>. <article-title>Current levels of gonorrhoea screening in MSM in Belgium may have little effect on prevalence: a modelling study</article-title>. <source>Epidemiol Infect</source>. (<year>2018</year>) <volume>146</volume>:<fpage>333</fpage>&#x02013;<lpage>8</lpage>. <pub-id pub-id-type="doi">10.1017/S0950268818000092</pub-id><pub-id pub-id-type="pmid">29386078</pub-id></citation></ref>
<ref id="B5">
<label>5.</label>
<citation citation-type="web"><person-group person-group-type="author"><collab>The European MSM Internet Survey.</collab></person-group> (<year>2022</year>). Available online at: <ext-link ext-link-type="uri" xlink:href="https://www.emis-project.eu/">https://www.emis-project.eu/</ext-link> (accessed June 2023).</citation>
</ref>
<ref id="B6">
<label>6.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Vajdi</surname> <given-names>A</given-names></name> <name><surname>Juher</surname> <given-names>D</given-names></name> <name><surname>Salda&#x000F1;a</surname> <given-names>J</given-names></name> <name><surname>Scoglio</surname> <given-names>C</given-names></name></person-group>. <article-title>A multilayer temporal network model for STD spreading accounting for permanent and casual partners</article-title>. <source>Sci Rep</source>. (<year>2020</year>) <volume>10</volume>:<fpage>1</fpage>&#x02013;<lpage>12</lpage>. <pub-id pub-id-type="doi">10.1038/s41598-020-60790-0</pub-id><pub-id pub-id-type="pmid">32123251</pub-id></citation></ref>
<ref id="B7">
<label>7.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mei</surname> <given-names>S</given-names></name> <name><surname>Sloot</surname> <given-names>PM</given-names></name> <name><surname>Quax</surname> <given-names>R</given-names></name> <name><surname>Zhu</surname> <given-names>Y</given-names></name> <name><surname>Wang</surname> <given-names>W</given-names></name></person-group>. <article-title>Complex agent networks explaining the HIV epidemic among homosexual men in Amsterdam</article-title>. <source>Math Comput Simul</source>. (<year>2010</year>) <volume>80</volume>:<fpage>1018</fpage>&#x02013;<lpage>30</lpage>. <pub-id pub-id-type="doi">10.1016/j.matcom.2009.12.008</pub-id></citation>
</ref>
<ref id="B8">
<label>8.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zarrabi</surname> <given-names>N</given-names></name> <name><surname>Prosperi</surname> <given-names>MC</given-names></name> <name><surname>Belleman</surname> <given-names>RG</given-names></name> <name><surname>Di Giambenedetto</surname> <given-names>S</given-names></name> <name><surname>Fabbiani</surname> <given-names>M</given-names></name> <name><surname>De Luca</surname> <given-names>A</given-names></name> <etal/></person-group>. <article-title>Combining social and genetic networks to study HIV transmission in mixing risk groups</article-title>. <source>Eur Phys J Spec Top</source>. (<year>2013</year>) <volume>222</volume>:<fpage>1377</fpage>&#x02013;<lpage>87</lpage>. <pub-id pub-id-type="doi">10.1140/epjst/e2013-01932-x</pub-id></citation>
</ref>
<ref id="B9">
<label>9.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Whittles</surname> <given-names>LK</given-names></name> <name><surname>White</surname> <given-names>PJ</given-names></name> <name><surname>Didelot</surname> <given-names>X</given-names></name></person-group>. <article-title>A dynamic power-law sexual network model of gonorrhoea outbreaks</article-title>. <source>PLoS Comput Biol</source>. (<year>2019</year>) <volume>15</volume>:<fpage>e1006748</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pcbi.1006748</pub-id><pub-id pub-id-type="pmid">30849080</pub-id></citation></ref>
<ref id="B10">
<label>10.</label>
<citation citation-type="web"><person-group person-group-type="author"><collab><italic>Natsal-3 Survey</italic></collab></person-group> (<year>2022</year>). Available online at: <ext-link ext-link-type="uri" xlink:href="https://www.natsal.ac.uk/natsal-survey/natsal-3">https://www.natsal.ac.uk/natsal-survey/natsal-3</ext-link> (accessed June 2023).</citation>
</ref>
<ref id="B11">
<label>11.</label>
<citation citation-type="web"><person-group person-group-type="author"><collab><italic>Gonococcal Resistance to Antimicrobials Surveillance Programme</italic></collab></person-group> (<year>2022</year>). Available online at: <ext-link ext-link-type="uri" xlink:href="https://www.gov.uk/government/publications/gonococcal-resistance-to-antimicrobials-surveillance-programme-grasp-report">https://www.gov.uk/government/publications/gonococcal-resistance-to-antimicrobials-surveillance-programme-grasp-report</ext-link> (accessed June 2023).</citation>
</ref>
<ref id="B12">
<label>12.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Castiglione</surname> <given-names>F</given-names></name></person-group>. <article-title>Agent-based modeling and simulation, introduction to</article-title>. In:<person-group person-group-type="editor"><name><surname>P&#x000E9;rez-Castrillo</surname> <given-names>D</given-names></name> <name><surname>Sotomayor</surname> <given-names>M</given-names></name> <name><surname>Castiglione</surname> <given-names>F</given-names></name></person-group>, editors. <source>Complex Social and Behavioral Systems: Game Theory and Agent-Based Models</source>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>Springer</publisher-name> (<year>2020</year>), p. <fpage>661</fpage>&#x02013;<lpage>5</lpage>. <pub-id pub-id-type="doi">10.1007/978-1-0716-0368-0_13</pub-id></citation>
</ref>
<ref id="B13">
<label>13.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Newman</surname> <given-names>M</given-names></name> <name><surname>Barab&#x000E1;si</surname> <given-names>AL</given-names></name> <name><surname>Watts</surname> <given-names>DJ</given-names></name></person-group>. <source>The Structure and Dynamics of Networks</source>. <publisher-loc>Princeton, NJ</publisher-loc>: <publisher-name>Princeton University Press</publisher-name> (<year>2011</year>). <pub-id pub-id-type="doi">10.1515/9781400841356</pub-id></citation>
</ref>
<ref id="B14">
<label>14.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Newman</surname> <given-names>M</given-names></name></person-group>. <source>Networks</source>. <publisher-loc>Oxford</publisher-loc>: <publisher-name>Oxford University Press.</publisher-name> (<year>2018</year>). <pub-id pub-id-type="doi">10.1093/oso/9780198805090.001.0001</pub-id></citation>
</ref>
<ref id="B15">
<label>15.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Slurink</surname> <given-names>IAL</given-names></name> <name><surname>van Aar</surname> <given-names>F</given-names></name> <name><surname>Op de Coul</surname> <given-names>ELM</given-names></name> <name><surname>Heijne</surname> <given-names>JCM</given-names></name> <name><surname>van Wees</surname> <given-names>DA</given-names></name> <name><surname>Hoenderboom</surname> <given-names>BM</given-names></name> <etal/></person-group>. <source>Sexually Transmitted Infections in the Netherlands in 2018. STI Department, Epidemiology and Suveillance Unit, Centre for Infectious Disease Control.</source> <publisher-loc>Bilthoven</publisher-loc>: <publisher-name>National Institute for Public Health and the Environment (RIVM)</publisher-name> (<year>2019</year>).</citation>
</ref>
<ref id="B16">
<label>16.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Stolfi</surname> <given-names>P</given-names></name> <name><surname>Vergni</surname> <given-names>D</given-names></name> <name><surname>Oldenkamp</surname> <given-names>R</given-names></name> <name><surname>Schultsz</surname> <given-names>C</given-names></name> <name><surname>Mancini</surname> <given-names>E</given-names></name> <name><surname>Castiglione</surname> <given-names>F</given-names></name></person-group>. <article-title>An agent-based multi-level model to study the spread of antimicrobial-resistant gonorrhoea</article-title>. In: <source>2022 IEEE International Conference on Bioinformatics and Biomedicine (BIBM)</source>. <publisher-loc>Las Vegas, NV</publisher-loc>: <publisher-name>IEEE</publisher-name> (<year>2022</year>), p. <fpage>803</fpage>&#x02013;<lpage>8</lpage>. <pub-id pub-id-type="doi">10.1109/BIBM55620.2022.9994926</pub-id></citation>
</ref>
<ref id="B17">
<label>17.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Korenromp</surname> <given-names>EL</given-names></name> <name><surname>Sudaryo</surname> <given-names>MK</given-names></name> <name><surname>de Vlas</surname> <given-names>SJ</given-names></name> <name><surname>Gray</surname> <given-names>RH</given-names></name> <name><surname>Sewankambo</surname> <given-names>NK</given-names></name> <name><surname>Serwadda</surname> <given-names>D</given-names></name> <etal/></person-group>. <article-title>What proportion of episodes of gonorrhoea and chlamydia becomes symptomatic?</article-title> <source>Int J STD AIDS</source>. (<year>2002</year>) <volume>13</volume>:<fpage>91</fpage>&#x02013;<lpage>101</lpage>. <pub-id pub-id-type="doi">10.1258/0956462021924712</pub-id><pub-id pub-id-type="pmid">11839163</pub-id></citation></ref>
<ref id="B18">
<label>18.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Langlois</surname> <given-names>D</given-names></name> <name><surname>Cousineau</surname> <given-names>D</given-names></name> <name><surname>Thivierge</surname> <given-names>JP</given-names></name></person-group>. <article-title>Maximum likelihood estimators for truncated and censored power-law distributions show how neuronal avalanches may be misevaluated</article-title>. <source>Phys Rev E</source>. (<year>2014</year>) <volume>89</volume>:<fpage>012709</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevE.89.012709</pub-id><pub-id pub-id-type="pmid">24580259</pub-id></citation></ref>
<ref id="B19">
<label>19.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Stolfi</surname> <given-names>P</given-names></name> <name><surname>Bernardi</surname> <given-names>M</given-names></name> <name><surname>Petrella</surname> <given-names>L</given-names></name></person-group>. <article-title>Sparse simulation-based estimator built on quantiles</article-title>. <source>Econom Stat</source>. (<year>2022</year>). <pub-id pub-id-type="doi">10.1016/j.ecosta.2022.01.006</pub-id></citation>
</ref>
<ref id="B20">
<label>20.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Liljeros</surname> <given-names>F</given-names></name> <name><surname>Edling</surname> <given-names>CR</given-names></name> <name><surname>Amaral</surname> <given-names>LAN</given-names></name> <name><surname>Stanley</surname> <given-names>HE</given-names></name> <name><surname>&#x000C5;berg</surname> <given-names>Y</given-names></name></person-group>. <article-title>The web of human sexual contacts</article-title>. <source>Nature</source>. (<year>2001</year>) <volume>411</volume>:<fpage>907</fpage>&#x02013;<lpage>8</lpage>. <pub-id pub-id-type="doi">10.1038/35082140</pub-id><pub-id pub-id-type="pmid">11418846</pub-id></citation></ref>
<ref id="B21">
<label>21.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Servedio</surname> <given-names>VD</given-names></name> <name><surname>Caldarelli</surname> <given-names>G</given-names></name> <name><surname>Butt&#x000E0;</surname> <given-names>P</given-names></name></person-group>. <article-title>Vertex intrinsic fitness: how to produce arbitrary scale-free networks</article-title>. <source>Phys Rev E</source>. (<year>2004</year>) <volume>70</volume>:<fpage>056126</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevE.70.056126</pub-id><pub-id pub-id-type="pmid">15600711</pub-id></citation></ref>
<ref id="B22">
<label>22.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Caudill</surname> <given-names>L</given-names></name> <name><surname>Lawson</surname> <given-names>B</given-names></name></person-group>. <article-title>A unified inter-host and in-host model of antibiotic resistance and infection spread in a hospital ward</article-title>. <source>J Theor Biol</source>. (<year>2017</year>) <volume>421</volume>:<fpage>112</fpage>&#x02013;<lpage>26</lpage>. <pub-id pub-id-type="doi">10.1016/j.jtbi.2017.03.025</pub-id><pub-id pub-id-type="pmid">28365293</pub-id></citation></ref>
</ref-list>
</back>
</article> 