# Decline in HIV infectivity following the introduction of highly active antiretroviral therapy

Conclusions: Use of HAART by infected persons in a community appears to reduce their infectiousness and therefore may provide an important HIV prevention tool. ceptive anal intercourse partners. Conservatively assuming a constant prevalence of HIV infection between 1994 and 1999, HIV infectivity decreased from 0.120 prior to widespread use of HAART, to 0.048 after the widespread use of HAART – a decline of 60% (*P* = 0.028).

From the ^{a}San Francisco Department of Public Health, Community Health and Epidemiology Section, San Francisco, the ^{b}Department of Epidemiology and Biostatistics, University of California, San Francisco, ^{c}Positive Health Program, University of California, San Francisco, the ^{d}University of California, San Francisco, Department of Medicine, the ^{e}EPI-Center, University of California, San Francisco, San Francisco General Hospital, San Francisco, and the ^{f}Gladstone Institute of Virology and Immunology, and University of California, San Francisco, San Francisco General Hospital, San Francisco, CA 94110, USA.

Note: Conflict of interest statement: the authors declare that there are no financial conflicts of interest.

Correspondence to Dennis H. Osmond, PhD, Box 0886, University of California, San Francisco, CA 94143, USA.

Tel: +1 (415) 597 4966; fax: +1 (415) 597–9194; email: dosmond@psg.ucsf.edu

Received: 30 January 2003; revised: 1 May 2003; accepted: 14 May 2003.

## Introduction

Combination highly active antiretroviral therapy (HAART) using three or more drugs in HIV-infected patients leads to a substantial reduction in plasma HIV RNA levels, decreased incidence of opportunistic infections, and lower mortality rates [^{1,2}]. Besides these clinical benefits, HAART is believed to decrease the probability of transmitting HIV to others, as (1) viral load in untreated HIV-infected persons is correlated with the transmission risk to sexual partners [^{3}]; (2) antiretroviral therapy decreases the rate of transmission to infants [^{4,5}]; and (3) HAART reduces viral shedding in semen [^{6}]. Although these findings indirectly support the hypothesis that HAART reduces the infectiousness of treated persons [^{7}], few data are available to confirm it [^{8}]. We estimated the per-partnership probability of transmission from an infected partner (i.e., infectivity) for homosexual men in San Francisco using seroconversion and behavioral data collected during the San Francisco Young Men's Health Study [^{9}], a longitudinal cohort study of young homosexual men which began before HAART was introduced and continued subsequently. Using two study visits before widespread use of HAART began in San Francisco and two study visits after, we examined trends in incidence and self-reported unsafe sex, and estimated the infectivity from a probabilistic risk model [^{10–14}] using the method of maximum likelihood [^{15}].

## Methods

The San Francisco Young Men's Health Study is a multistage probability sample (which began in 1992) of single men aged 18–29 years who resided in 21 census tracts with the highest cumulative AIDS incidence [^{9}]. It included 428 homosexual men at baseline and then enrolled an additional 622 referral subjects at the next follow-up time. At each approximately yearly study visit, subjects were tested for HIV antibodies and were asked, with respect to the previous 12 months, for their (1) number of sex partners; (2) number of sex partners under 30 years of age; (3) number of receptive anal intercourse partners; and (4) number of receptive anal intercourse partners with whom condoms were always used. The last four study visits used consistent questions about behavior and provided two periods at risk both before (April 1994 to September 1995; and September 1995 to November 1996) and after (November 1996 to September 1997; and September 1997 to March 1999) the introduction of HAART in San Francisco and were used in this analysis.

Crude incidence rates were calculated by dividing the number of seroconverters in each period by the person-time between HIV tests for each person for the period, assigning each seroconverter one-half of his person-time for the period [^{16}].

To estimate the transmission probability and infectivity of HIV per partnership for each of the four periods, we used a probabilistic risk model [^{10–14}] (see Appendix). The transmission probability per partnership is the product of two components: the infectivity (by which we mean the per-partnership probability that an uninfected person acquires the infection from an infected partner), and the probability that the partner is infected (the prevalence among the partners). In this paper, we first show evidence that the transmission probability has declined over time, and then we use prevalence estimates to attribute this to a decline in infectivity.

## Results

### Incidence rates and risk behavior

At the beginning of the first study period we analyzed, 534 study participants were uninfected (Table 1). Over the four study visits, we observed little change in the number of overall receptive anal intercourse partnerships reported for the previous 12 months, but a significant increase in the number of unprotected partnerships reported for the 12 months preceding each study visit (*P* < 0.001, GEE marginal Poisson model [^{17}]). Despite the increasing trend in self-reported unsafe sex, no increase in seroconversion was seen (*P* = 0.33); indeed, lower incidence rates were seen in the two post-HAART study periods. The increase in reported risk behavior coincided with a stable or declining incidence during the study period, suggesting a decline in infectivity.

To assess this possibility, we first used the risk model given in the Appendix [^{10–14}] to test the hypothesis that the transmission probability per partnership was the same in the post-HAART study periods as it was in the pre-HAART study periods. We estimated the transmission probability per-partnership to be 0.0276 pre-HAART, and 0.011 post-HAART, and rejected the hypothesis that the transmission probability was constant (*P* = 0.028). Having found this evidence of a decline in the per-partnership transmission probability, we next determined which of its two components (infectivity or prevalence) was responsible for the decline. Although precise prevalence estimates are not available, we showed that unrealistic declines in prevalence would be required to explain the observed decline in the transmission probability. We assumed plausible prevalence scenarios, and for each scenario, we estimated the infectivity and tested the hypothesis that the infectivity was the same before and after HAART was introduced. First, assuming a constant prevalence of 23% among the partners of the men (the cohort prevalence of HIV among men reporting receptive anal intercourse at the 1992 baseline of the study [^{9}]), we found that the per-partnership infectivities (with asymptotic standard errors in parentheses) at each study visit were 0.118 (0.042) and 0.124 (0.049) for the pre-HAART study periods, and 0.055 (0.032) and 0.044 (0.020) for the two post-HAART study periods. Combining the two pre- and the two post-HAART time periods into two estimates to increase statistical power, we obtained an estimate of 0.120 (0.034) per partnership in the first two periods, and 0.048 (0.017) per partnership in the last two periods, for an overall 60.4% decline in HIV infectivity (*P* = 0.028). Finally, a goodness-of-fit test yielded no evidence of insufficient fit (*P* = 0.63; see Appendix).

Although the above analyses assumed a constant prevalence, in fact HIV prevalence is believed to have been declining among homosexual men prior to HAART (because HIV deaths were continuing to outweigh recent infections [^{18}]), but to have been increasing after the introduction of HAART due to substantial declines in AIDS mortality [^{19}]. Assuming increased prevalence after the introduction of HAART yields stronger evidence in favor of an infectivity decline; if, for example, we assume that after the introduction of HAART, the prevalence increased 17.2% (relative to the pre-HAART value), then the infectivity decline would be significant at the 0.01 level. If, however, we assume a decrease in prevalence, then the reduced incidence shown earlier (Table 1) would be partially explained by the assumption of reduced prevalence among partners; assuming that the prevalence decreased more than 9.3% relative to baseline yields *P*-values greater than 0.05 for the test of constant infectivity.

To systematically examine infectivity estimates over a wide range of possible prevalence patterns, we chose a Latin Hypercube Sample [^{20–22}] of 10 000 random prevalence patterns, with the prevalence at each study visit uniformly distributed over the plausible (though arbitrary) range 0.1 to 0.3 (other plausible choices yield similar results). For each random prevalence scenario, we performed the hypothesis test of constant infectivity. The *P*-value was less than 0.1 in all of the 4986 scenarios in which the average prevalence was greater post-HAART than pre-HAART; the *P*-value exceeded 0.05 only in 17 unrealistic scenarios for which the prevalence was very high at visits one and three and very low for visits two and four. Finally, infectivity estimates for representative prevalence patterns are shown in Table 2. Thus, for plausible assumed patterns of the prevalence over the 6 years of follow-up, infectivity decline is a robust finding.

In addition to probable variations in time, HIV prevalence varies with age among homosexual men in San Francisco [^{23–25}]. As in the first three study periods, our study subjects were asked how many of their total partners were under 30 years of age, we adjusted for the fraction of partners under 30 years of age as described in the Appendix. The Urban Men's Health Study, a random-digit-dialing survey of homosexual men in San Francisco conducted between 1996 and 1998 [^{25}], yielded 6.0% of men under 30 years of age reported being HIV-infected, and 22.4% of men 30 and older reported being HIV-infected (L. Pollack, pers. comm.; random-digit-dialing samples should include sexually inactive men at lower risk for HIV infection than the partners of the men in our study.) As before, we chose a Latin Hypercube Sample of 10 000 prevalence scenarios, and for each, performed the hypothesis test of constant infectivity; for each study period, the prevalences among men under 30 and among men 30 years old and over were chosen from a uniform distribution between 0.1 and 0.3. Only 14 unrealistic scenarios (with high prevalence at periods 1 and 3 and low prevalence at periods 2 and 4 among men 30 years old and over) yielded a *P*-value greater than 0.05 with an increasing prevalence. Finally, selected estimates for various age- and period-specific scenarios are also included in Table 2. Thus, after adjusting for self-reported age of the partners, we continue to conclude that the infectivity declined after the introduction of HAART.

We compared the characteristics of those individuals who remained in the study with those who were never known to seroconvert, but who were lost to follow-up. We found no significant differences between drop-outs and those remaining for age, education, number of male sexual partners, number of partners with whom anal or oral sex was reported, recreational drug use, and self-reported sexually transmitted diseases. Drop-outs were more likely to report being bisexual, a difference captured by including the number of receptive anal intercourse partners in our models.

To quantify the potential importance of bias due to frailty selection (the differential removal of individuals with a higher per-partnership infectivity), we conducted a Monte Carlo sensitivity analysis [^{26}]. We assumed that the infectivity was constant for each individual, but differed between individuals, with some individuals having a per-partnership risk of zero and others having a higher per-partnership risk. We kept the overall average per-partnership infectivity (the fraction of individuals in the high per-partnership risk group times their per-partnership risk) equal to 0.1. We repeatedly simulated HIV infection given reported risk behaviors and different sizes of the high per-partnership risk group, and determined the probability of rejecting the null hypothesis of constant decline. From a logistic model fit to these simulation results, we estimated that to have a 20% chance of finding an apparent infectivity decline, we would have needed approximately 15% of the population to be in the high per-partnership risk group (and their per-partnership infectivity would be approximately 0.69 ≈ 0.1/0.15); to have a 10% chance of finding an apparent infectivity decline, we would have needed approximately 36% of the population in the high per-partnership risk group (and their per-partnership infectivity would be approximately 0.28 ≈ 0.1/0.36). Less extreme distributions of heterogeneity of risk yield small probabilities of finding an apparent infectivity decline; for instance, assuming a risk of 0.05 per partnership in half of the individuals and a risk of 0.25 per partnership in the other half yielded 6.3% out of 1000 simulations in which a false infectivity decline was observed – scarcely different from the 5% we would expect given the assumed 5% type I error rate of the test.

As partners of high-risk men may themselves be at high risk, we repeated the estimation of the infectivity decline assuming that individuals with five or more unprotected partnerships have 50% higher prevalence of infection among their partners than individuals with fewer than five partners. Under this assumption, the infectivity decline remains statistically significant (*P* = 0.019); the estimated per-partnership infectivity was 0.107 for the first two study periods and 0.040 for the last two periods.

Finally, we also obtained an estimate of the degree of protection afforded by (reported) consistent condom usage (see Appendix). Under the assumption of 23% prevalence, HIV infectivity in partnerships for which condoms were always reportedly used was 5.4% of the infectivity for those partnerships not protected by condoms (95% bootstrap confidence interval [^{27}], 0.0 to 0.16). For the first twelve scenarios shown in Table 2, this estimate is 5.4%, and this estimate is 5.5% for the remaining seven.

## Discussion

We observed a 60% decline in the per-partnership infectivity of HIV that coincided with the introduction of HAART under the conservative assumption of constant HIV prevalence. For the more realistic assumption of increased prevalence after HAART, declines of over 67% were estimated. These represent an average decline experienced by the men in the study, and is thus likely to underestimate the true individual level effect of HAART; the HIV-infected partners of the study participants in all likelihood included individuals not using HAART at all as well as individuals using HAART. Many treated individuals would be expected to have a very low plasma viral load because of successful treatment; while in many others, reduction of plasma HIV RNA while on HAART may continue even if drug resistance emerges [^{28}]. In San Francisco, use of protease inhibitor-based combination antiretroviral therapy began in December 1995 with the hard-gel formulation of saquinavir [^{29}], but did not become widespread until mid to late 1996 [^{19}]; by 1997 it was being used by 53% (L. Pollack, pers. comm.) of homosexual men known to be HIV-infected [^{30}]. Although it is biologically plausible that HAART reduces the infectiousness of treated patients [^{7,8}] and mathematical transmission models [^{31–33}] based on the assumption that treatment reduces infectivity have shown that such high levels of treatment could reduce the incidence of HIV infection (whether by directly reducing the viral load in treated patients, or by selecting for potentially less transmissible drug-resistant strains), our results provide an empirical estimate of the declines in infectivity that may have been due to HAART. Computing the infectivity on a per-partnership basis allowed us to separate the infectivity decline itself from the increases in unsafe sex which have offset many of the epidemiologic benefits of treatment [^{19}].

Several design limitations, however, apply to our findings. First, the absolute magnitude of our infectivity estimates depends on the prevalence of HIV among the partners of the study participants. However, the magnitude of our pre-HAART estimates is similar to the value of 0.1 found from the San Francisco Men's Health Study in the 1980s [^{10}], and whereas we assumed a constant prevalence to obtain the infectivity decline of 60%, qualitatively similar findings hold for other patterns of HIV prevalence. Only if we assume that the prevalence of HIV declined by at least 9.3% does the estimated infectivity decline fail to be statistically significant at the 0.05 level (such a pattern is believed to be highly unlikely, owing to declines in HIV-related mortality in the HAART era). Under what we believe is the most plausible pattern of HIV prevalence, a decline prior to HAART followed by an increase following HAART introduction, we observed a 67% decline in infectivity. Second, the experience of our cohort may not represent all infected persons; for example, differences in medication adherence across infected persons may influence the effect of HAART on infectiousness. Third, it is not possible to conclusively rule out frailty selection bias (or effects of aging); however, any such effects would need to be implausibly large to provide an alternative explanation of the decline in the infectivity estimates. Fourth, indinavir and ritonavir were approved in March of 1996 [^{34,35}] – during the second study period of our analysis (although the majority of this second period was in early 1996 when few people were using HAART); however, this biases our statistical analysis away from finding a significant difference. Fifth, while no quantitative evidence regarding changes in serosorting patterns is available, there is no reason to suppose decreasing preference of HIV-negative individuals for HIV-positive partners during this time of decreasing perceived HIV threat, nor is there any evidence that HIV-negative individuals increased their risk behavior disproportionately when compared to HIV-positive individuals (which would have produced a declining effective prevalence.)

The 60% decline in HIV infectivity we observed following the introduction of HAART suggests that use of HAART in infected persons not only confers clinical benefit, but is also an attractive tool for prevention. Unfortunately, during the same time that we observed a decline in infectivity, an increase in unprotected sexual behavior both in San Francisco [^{36,37}] and in other cities [^{38,39}] was observed. Furthermore, although we had observed a falling HIV seroincidence through the end of our study period in early 1999, community-level data among homosexual men in San Francisco revealed a rising incidence soon thereafter [^{19}]. Thus, the benefit in reduced HIV transmission in the community due to widespread use of HAART may be offset by increases in unsafe sexual encounters. Use of HAART is a potentially important HIV prevention tool, one that is likely to succeed, however, only if accompanied by a continued emphasis on avoidance of exposure.

## Acknowledgements

T.C.P. acknowledges the support of NIDA 5R01-DA13510; D.O., J.M., and A.C. acknowledge the support of NCI and NIDCR grant U01-CA78124, California Universitywide AIDS Research Program grant CC99-SF-001, the UCSF-Gladstone Institute of Virology and Immunology Center for AIDS Research grants P30 A1277763, the UCSF Center for AIDS Prevention Studies P30 MH62246, and P30 AI27763, and UCSF General Clinical Research Centers grants M02 RR00079 and M01 RR00083; K.P.-S. acknowledges the support of NIDCR grant 5R01-DE12911-03. We thank T. Aragón, A. Hubbard, M. Katz, and M. Petersen for helpful comments and Marie Gobidas for editorial assistance, and we thank the subjects in the San Francisco Young Men's Health Study for their participation.

Sponsorship: Funding provided by the US NIH and the University of California. The funding source played no role in the design, analysis, interpretation, writing, or decision to publish.

## References

*et al*.

**A trial comparing nucleoside monotherapy with combination therapy in HIV-infected adults with CD4 cell counts from 200 to 500 per cubic millimeter.**

*N Engl J Med*1996,

**335**:1081–1090.

*et al*.

**A controlled trial of two nucleoside analogues plus indinavir in persons with human immunodeficiency virus infection and CD4 cell counts of 200 per cubic millimeter or less.**

*N Engl J Med*1997,

**337**:725–733.

*et al*.

**Viral load and heterosexual transmission of human immunodeficiency virus type 1.**

*N Engl J Med*2000,

**342**:921–929.

*et al*.

**Reduction of maternal-infant transmission of human immunodeficiency virus type 1 with zidovudine treatment.**

*N Engl J Med*1994,

**331**:1173–1180.

**Antiretrovirals for reducing the risk of mother-to-child transmission of HIV infection.**

*Cochrane Database Syst Rev*2002,

**2**:CD003510.

*et al*.

**Effect of antiretroviral therapy on HIV shedding in semen.**

*Ann Intern Med*2000,

**133**:280–284.

**Can antiretroviral therapy be used to prevent sexual transmission of human immunodeficiency virus type 1?**

*Clin Infect Dis*2002,

**34**:1391–1395.

*et al*.

**Antiretroviral treatment of men infected with human immunodeficiency virus type 1 reduces the incidence of heterosexual transmission.**

*Arch Intern Med*1994,

**154**: 1971–1976.

*et al*.

**HIV infection in homosexual and bisexual men 18 to 29 years of age: the San Francisco Young Men's Health Study.**

*Am J Public Health*1994,

**84**:1933–1937.

**Infectivity of the human immunodeficiency virus: estimates from a prospective study of homosexual men.**

*J Infect Dis*1987,

**156**:189–193.

**Infectivity of HIV by anal and oral intercourse among homosexual men. Estimates from a prospective study in San Francisco.**In: Kaplan EH, Brandeau ML, editors:

*Modeling the AIDS Epidemic: Planning, Policy, and Prediction*. New York: Raven Press; 1994, pp. 423–438.

*et al*.

**Per-contact risk of human immunodeficiency virus transmission between male sexual partners.**

*Am J Epidemiol*1999,

**150**:306–311.

**Heterosexual transmission of human immunodeficiency virus: variability of infectivity throughout the course of infection.**

*Am J Epidemiol*1998,

**148**:88–96.

**Population- and individual-based approaches to the design and analysis of epidemiologic studies of sexually transmitted disease transmission.**

*J Infect Dis*1996,

**174**:S188–S200.

*Parametric Statistical Inference*. Oxford: Oxford University Press; 1996.

*Statistical Analysis of Epidemiological Data*. New York: Oxford University Press; 1996.

*Analysis of Longitudinal Data*. New York: Oxford University Press; 1994.

*et al*.

**Projected incidence of AIDS in San Francisco: the peak and decline of the epidemic.**

*J Acquir Immune Defic Syndr Hum Retrovirol*1997,

**16**:182–189.

*et al*.

**Impact of highly active antiretroviral treatment on HIV seroincidence among men who have sex with men: San Francisco.**

*Am J Public Health*2002,

**92**:388–394.

**Sensitivity and uncertainty analysis of complex models of disease transmission: an HIV model, as an example.**

*Int Stat Rev*1994,

**62**:229–243.

**An approach to sensitivity analysis of computer models: Part I—Introduction, input variable selection and preliminary variable assessment.**

*J Quality Technol*1981,

**13**:174–183.

**An approach to sensitivity analysis of computer models: Part II—Ranking of input variables, response surface validation, distribution effect, and technique synopsis variable assessment.**

*J Quality Technol*1981,

**13**:232–240.

**HIV transmission in sexual networks: an empirical analysis.**

*Proc Roy Soc Lond B*1995,

**260**:237–244.

*et al*.

**Detection of early HIV infection and estimation of incidence using a sensitive/less-sensitive enzyme immunoassay testing strategy at anonymous counseling and testing sites in San Francisco.**

*J Acquir Immune Defic Syndr*1999,

**22**:484–489.

*et al*.

**The continuing HIV epidemic among men who have sex with men.**

*Am J Public Health*2001,

**91**:907–914.

*Observational Studies*. New York: Springer-Verlag; 2002.

*An Introduction to the Bootstrap*. New York: Chapman and Hall; 1993.

*et al*.

**Virologic and immunologic consequences of discontinuing combination antiretroviral-drug therapy in HIV-infected patients with detectable viremia.**

*N Engl J Med*2001,

**344**:472–480.

**Saquinavir. A review of its pharmacology and clinical potential in the management of HIV infection.**

*Drugs*1996,

**52**:93–112.

*et al*.

**Use of antiretroviral therapies among HIV-infected men who have sex with men: a household-based sample of 4 major American cities.**

*Am J Public Health*2001,

**91**:767–773.

**The effects of protease inhibitors on the spread of HIV and the development of drug-resistant HIV strains: a simulation study.**

*Simulation*1998,

**71**:262–275.

**A tale of two futures: HIV and antiretroviral therapy in San Francisco.**

*Science*2000,

**287**:650–654.

**Modelling the effect of combination antiretroviral treatments on HIV incidence.**

*AIDS*2001,

**15**:1287–1294.

**Indinavir: a review of its use in the management of HIV infection.**

*Drugs*1999,

**58**:1165–1203.

**Gay men report high rates of unprotected anal sex with partners of unknown or discordant HIV status.**

*AIDS*1999,

**13**:1525–1533.

*et al*.

**Continuing high prevalence of HIV and risk behaviors among young men who have sex with men: the Young Men's Survey in the San Francisco Bay Area in 1992 to 1993 and in 1994 to 1995.**

*J Acquir Immune Defic Syndr Hum Retrovirol*1998,

**19**:178–181.

**Increase in unprotected anal intercourse with casual partners among Sydney gay men in 1996–98.**

*Aust NZ J Public Health*1998,

**22**:814–818.

**Increase in high risk sexual behaviour among homosexual men, London 1996-8: cross sectional, questionnaire study.**

*BMJ*2000,

**320**:1510–1511.

## Appendix

We statistically modeled infection for each of the four time periods *i* (*i* = 1, 2, 3, 4) using a simple risk model [^{10–14}]. We denote the infectivity for study period *i* by β_{i} and the prevalence among the partners during study period *i* by *p* _{i}. We assumed that when condoms are always reported used, the infectivity per partnership is reduced to β, θ, with 0 ≤ θ ≤ 1. For subject *j* at study visit *i* (*j* = 1, …, *N* _{i}), we denote the number of partnerships reported in 12 months for which condoms were not always used by *n* _{ij} (`unprotected partnerships') and the number of partnerships reported in the last 12 months for which condoms were always used by *m* _{ij} (`protected partnerships'). For each individual, let *f* _{ij} be the time in years since the last negative HIV antibody test. We then let the fraction of the one year reporting period that has elapsed since the last HIV antibody test be denoted φ_{ij} for each subject *j* at each study visit *i*, i.e. φ_{ij} = min(*f* _{ij}/1 year, 1) (where we divided *f* _{ij} by 1 year since φ_{ij} is a dimensionless fraction). Finally, we let τ_{ij} be the time (in years) over and above 1 year that has elapsed since the last HIV antibody test, i.e. τ_{ij} = max(*f* _{ij} − 1 year, 0). We assumed that each reported partner has a probability φ_{ij} of having been a partner during the reporting period.

The risk model was constructed as follows. For subjects with less than one year since the last antibody test, the probability of infection for each reported unprotected partnership is the product of the probability that the partnership occurred since the last test (φ_{ij}), the probability the partner was infected (*p* _{i}), and the infectivity (β_{i}). The probability of escaping infection from all the reported unprotected partnerships, assuming independence, is then (1 − φ_{ij} *p* _{i} β_{i})^{nij}. Similarly, the probability of escaping infection from the reported protected partnerships is (1 − φ_{ij} *p* _{i} β_{i} *θ*)^{mij}.

For subjects with greater than 12 months since the last antibody test, φ_{ij} = 1 and τ_{ij} > 0; for such individuals, the probability of escaping infection is the probability of not being infected by the partners reported in the first 12 months times the probability of not being infected by any further, unreported, partnerships (which is given by exp(−β_{i} *p* _{i} *n* _{ij} τ_{ij}) for unprotected partnerships, and exp(−β_{i} *p* _{i} *m* _{ij} τ_{ij} θ) for protected partnerships [^{14}]). The derivation assumes that individual partnerships occurred according to a Poisson process with rate *n* _{ij} per year for unprotected partnerships and with rate *m* _{ij} per year for protected partnerships.

Therefore, the probability that individual *j* at study period *i* has escaped infection is

so that the probability that individual *j* at study period *i* is infected is given by

Denoting the HIV infection status of individual *j* at the end of study period *i* by *Y* _{ij} (0 if uninfected, 1 if infected), the likelihood function is then

To estimate the transmission probabilities β_{i} *p* _{i}, this likelihood is maximized with respect to β_{i} *p* _{i}, *i* = 1, 2, 3, 4 (and θ); to estimate the infectivities given assumed values of the prevalences *p* _{i}, this likelihood is then maximized with respect to β_{1}, β_{2}, β_{3}, β_{4}, and θ given assumed values of the prevalences *p* _{i}, *i* = 1, 2, 3, 4. The statistical test of constant transmission probability is equivalent to a test of constant infectivity assuming constant prevalence.

To test the hypothesis that the infectivity is the same pre-HAART and post-HAART, we assumed that β_{1} = β_{2} = β_{12} and β_{3} = β_{4} = β_{34} and estimated β_{12}, β_{34}, and θ; we then assumed that β_{12} = β_{34} = β_{1234} and estimated β_{1234} and θ. These nested models were compared using the likelihood-ratio chi-square test [^{15}]. Asymptotic standard errors were computed using the observed information matrix [^{15}]. Analyses were conducted using the *R* statistics package (http://www. r-project.org) on a Linux workstation.

We adjusted for the age of the reported partners by assuming that the prevalence among the receptive anal intercourse partners of each individual was the weighted average of the assumed prevalences for men 30 years of age or older and for men under 30 years old, based on the fraction of partners the individual reported to be under 30 years of age. For the final study visit, which formed the baseline of a new study of human herpesvirus 8, we used the same proportion reported on the previous visit, since at that time the subjects were not asked how many partners they had had who were under 30 years of age.

We assessed the goodness-of-fit using model in which we allowed the infectivity to vary with the number of unprotected receptive anal intercourse partners [^{10}] (but because we also include protected partnerships, this procedure does not yield a saturated model). Specifically, we divided the population into categories of 0–1, 2, 3, 4 and 5 or more partners, and allowed a different infectivity for each category; we then tested the hypothesis that the infectivity is the same at every number of unprotected receptive anal intercourse partners.

**Keywords:**

HIV; infectivity; transmission; highly active antiretroviral therapy; epidemiology; homosexual men; statistics