Literature DB >> 25527289

Inferring epidemiological dynamics with Bayesian coalescent inference: the merits of deterministic and stochastic models.

Alex Popinga1, Tim Vaughan2, Tanja Stadler3, Alexei J Drummond4.   

Abstract

Estimation of epidemiological and population parameters from molecular sequence data has become central to the understanding of infectious disease dynamics. Various models have been proposed to infer details of the dynamics that describe epidemic progression. These include inference approaches derived from Kingman's coalescent theory. Here, we use recently described coalescent theory for epidemic dynamics to develop stochastic and deterministic coalescent susceptible-infected-removed (SIR) tree priors. We implement these in a Bayesian phylogenetic inference framework to permit joint estimation of SIR epidemic parameters and the sample genealogy. We assess the performance of the two coalescent models and also juxtapose results obtained with a recently published birth-death-sampling model for epidemic inference. Comparisons are made by analyzing sets of genealogies simulated under precisely known epidemiological parameters. Additionally, we analyze influenza A (H1N1) sequence data sampled in the Canterbury region of New Zealand and HIV-1 sequence data obtained from known United Kingdom infection clusters. We show that both coalescent SIR models are effective at estimating epidemiological parameters from data with large fundamental reproductive number [Formula: see text] and large population size [Formula: see text]. Furthermore, we find that the stochastic variant generally outperforms its deterministic counterpart in terms of error, bias, and highest posterior density coverage, particularly for smaller [Formula: see text] and [Formula: see text]. However, each of these inference models is shown to have undesirable properties in certain circumstances, especially for epidemic outbreaks with [Formula: see text] close to one or with small effective susceptible populations.
Copyright © 2015 by the Genetics Society of America.

Entities:  

Keywords:  Bayesian inference; coalescent; epidemic; phylodynamics; stochastic

Mesh:

Year:  2014        PMID: 25527289      PMCID: PMC4317665          DOI: 10.1534/genetics.114.172791

Source DB:  PubMed          Journal:  Genetics        ISSN: 0016-6731            Impact factor:   4.562


Phylodynamics and the Coalescent

THE epidemiological and evolutionary processes that underpin rapidly evolving species occur on a shared spatiotemporal frame of reference. Unified analyses that include both the dynamics of an epidemic and the reconstruction of the pathogen phylogeny can therefore uncover otherwise inaccessible information to aid in outbreak prevention. Such information includes the rates of pathogen transmission and host recovery, effective population sizes, and the “time of origin” representing the introduction of the first infected individual into a population of susceptible hosts. The term phylodynamics was popularized by Grenfell to describe the interlaced study of immunodynamics, epidemiology, and evolutionary mechanisms. Several phylodynamic models, both stochastic and deterministic in nature, have since been developed to characterize the phylogenetic history of the pathogen species and compartmentalizations of the host population throughout the epidemic. Such models grant the ability to infer key epidemiological parameters from genetic sequence data and include birth–death branching processes (Stadler , 2013; Gavryushkina ; Kühnert ), as well as coalescent approaches (Griffiths and Tavaré 1994; Pybus ; Rasmussen , 2014; Koelle and Rasmussen 2012; Dearlove and Wilson 2013) derived from Kingman’s coalescent theory (Kingman 1982). Significant steps toward the unification of epidemiology and statistical phylogenetics were made by Pybus , Volz , and Dearlove and Wilson (2013), with the formalization and application of Kingman’s n-coalescent to pathogen population dynamics. These methods involved numerical integration of a set of ordinary differential equations (ODEs) to find deterministic approximations to the variation in the number of sampled lineages through time. Volz (2012) extended the tree density calculation from previous work (Volz ) to allow for serially sampled and spatially structured genetic sequence data. In this coalescent model, the birth and death rates can vary in time and by the state of the host, so that “the birth rate of a single gene copy is both time- and state-dependent” (Volz 2012, p. 7). In this article, we assess the ability of coalescent-based phylodynamic models to infer, in a Bayesian setting, a range of epidemiological parameters from simulated data. While Dearlove and Wilson (2013) paved the way by implementing a coalescent approach for deterministic susceptible–infected (SI), susceptible–infected–susceptible (SIS), and susceptible–infected–removed (SIR) models for Bayesian inference, we implement and rigorously test both deterministic and stochastic coalescent SIR models of epidemic dynamics extended for heterochronously sampled data.

Stochastic and Deterministic Models

Stochasticity and determinism in population sizes each maintain dominant roles in particular stages of an epidemic. Once the infected population has grown considerably large, on the order of 1000–10,000 lineages, the probability densities of stochastically expressed population size dynamics converge toward the deterministic interpretation (Rouzine ). However, during the early stages the population size of infected individuals is small, and the dynamics of the epidemic are therefore governed by stochastic processes due to the relative significance of fluctuations in the demographic and rate parameters of the population model (Kühnert ). Therefore, approximating the prevalence of infection by a deterministic function requires the number of infected hosts within the effective population to be assumed as very large throughout the duration of the described epidemic, i.e., once the exponential growth phase has been reached (Rouzine ). Population size is critical to the epidemiological system and, as with any parameter in a Bayesian setting, yields the most accurate estimations when detailed prior information is available and incorporated into the inference (Drummond ). In our extension and implementation of the coalescent model for epidemics, both stochastic and deterministic population size processes are used for the simulation of trees and/or trajectories for subsequent inference.

Compartmental Population Models (SIR)

Host populations can be compartmentalized simply but effectively in mathematical models that describe epidemic progression. The specific division of the aggregate population depends on the contagion, spanning a range of scenarios where hosts may or may not recover from infection, may or may not be reinfected, etc. Such examples include the SI, SIS, and SIR models (Anderson and May 1991; Keeling and Rohani 2008). Each of these compartments can be expressed either (a) by a set of ODEs that describe the deterministic time development of real-valued compartment occupancies or (b) in terms of integer-valued occupancies governed by continuous-time Markov chains (CTMC) that allow for a degree of uncertainty in the timing and number of events that occur over the course of the epidemic. In this article, we concentrate on the SIR model, which describes epidemics that include infected individuals who are at some point in time removed from the effective population by way of immunity, death, behavioral changes, or some other termination of infectiousness. The deterministic variant of this model was introduced by Kermack and Mckendrick (1932) and is given by the trio of coupled ODEs,where β and γ respectively represent the transition rates from susceptible S to infected I and infected I to removed R. The model fully defines the population dynamics with initial conditions , , and . It is worth recognizing that, in the closed SIR model used here, there is no demographic change in the host population. Therefore, and , where N is the constant total population size. Throughout this article we refer to the solutions to Equations 1–3 as deterministic SIR trajectories. The comparable stochastic description is given in terms of the probability of the epidemic state at time t given its initial state and the rate parameterswhich is governed by the following equation of motion:An explicit sampling process is incorporated by allowing each removal event to coincide with a sampling event with a fixed probability , where ψ and μ are the overall rates of sampled and unsampled removals, respectively, such that . We refer to epidemic histories sampled from this model as stochastic SIR trajectories. Both types of epidemic trajectories can be related to models of sampled transmission tree genealogies. In the deterministic case, this relationship is made via the coalescent distributions described in Volz (2012). We call this the deterministic coalescent SIR model. In the stochastic case, genealogies appear naturally from a branching process in which the branching events coincide with the transmission events in the CTMC and only those lineages ancestral to sampled removals are recorded. We call this the stochastic SIR model. Another way of relating the stochastic SIR model to sampled transmission trees involves drawing a realization of a stochastic SIR epidemic and then using the coalescent distribution in Volz (2012) to produce a tree conditional on the particular piecewise constant infected compartment size corresponding to that realization. We call this approach the stochastic coalescent SIR model. Unlike BDSIR, the stochastic coalescent SIR model does not require the sampling process to be specified explicitly. Both the transmission rate β and the removal rate γ can be estimated using each of the methods considered in this article from data ascribed to an SIR epidemic.

Methods

Inference framework

All phylodynamic inference discussed in this article is based on the joint posterior probability densitywhere the sampled transmission tree , the epidemic trajectory denoted , the substitution parameters θ, and the epidemiological parameters are all estimated from the sequence data. The sampled transmission tree is assumed to be identical to the pathogen genealogy. Here, , , and represent the host compartment sizes from the present time back to the origin , such that , , and . The various terms making up the right-hand side of Equation 6 are the tree likelihood , the tree prior , the epidemic trajectory density , and the substitution and epidemiological parameter priors and . The probability is merely a normalizing constant and can be ignored. It is the product of the tree prior and trajectory density that distinguishes each of the models considered in this article. For both the deterministic and stochastic coalescent SIR models, the tree prior is calculated in the following way. First, consider the time span of a tree divided into segments bracketed by both sampling and coalescent events. By considering intervals ending in sampling events as well as coalescent-ending intervals, we follow previous work that extended coalescent approaches to time-stamped, serially sampled data (Rodrigo and Felsenstein 1999; Drummond ). Interval i is spanned by lineages and is the ith interval when ordered from the most recent tip to the root. The set of intervals A ending in sample events and the set of intervals Y ending in coalescent events together encompass all intervals, . Let the end time of an interval be (going back in time), with as the time of the most recent tip and with time increasing into the past. Then the probability density of a genealogy given an epidemic trajectory iswhere is the instantaneous coalescent rate at τ prescribed by Volz (2012),and where is the survival probabilityThe deterministic coalescent SIR model assumes that the SIR epidemic trajectories are found by integrating the ODEs in Equations 1–3. Therefore, under this model each epidemic trajectory is a deterministic function of its parameters . This means that the trajectory density can be written aswhere is the Dirac δ-function and represents a point mass concentrated at . In contrast, the stochastic coalescent SIR model assumes that the epidemic is generated by a jump process corresponding to the master equation given in Equation 5. In this case, the probability is nonsingular and thus contributes to the uncertainty in the final inference result. In the BDSIR model introduced by Kuhnert et al. (2014), is the same as for the stochastic coalescent SIR model, but is defined differently. See Kühnert for details.

Markov chain Monte Carlo algorithm

We use Markov chain Monte Carlo (MCMC) to sample from the joint posterior density given in Equation 6. Many of the specifics of the algorithm used have been discussed previously, in particular the method for calculating the tree likelihood (Felsenstein 1981, 2004) and the mechanism for exploring tree space (Drummond ). However, the model-specific product requires special attention. As we are primarily interested in parametric inference rather than the epidemic trajectory itself, we can regard as a nuisance parameter to be marginalized over. This marginalization can be achieved implicitly by sampling it using MCMC and then ignoring this component of the sampled state, which is the strategy we use when reporting the BDSIR results. It can also be made an explicit part of the likelihood calculation, which is the approach we take with the deterministic and stochastic coalescent SIR models. This marginalization means that the product becomesthe probability density of the tree given the epidemiological parameters. In the case of the deterministic coalescent SIR model, this density reduces to , meaning that the density of the tree given epidemiological parameters η is obtained simply by substituting the numerical solution to Equations 1–3 for those parameters into Equation 7. The stochastic coalescent SIR model is more complex, as in this case the trajectory density is nonsingular, meaning that computing the integral in Equation 11 is nontrivial. We treat this here using the “pseudomarginal” approach (Beaumont 2003; Andrieu and Roberts 2009) in which, at each step in the MCMC chain, the marginalized tree density is replaced by the Monte Carlo estimatewhere each is a trajectory sampled independently from , using a stochastic simulation algorithm (Sehl ). Perhaps counterintuitively within an MCMC framework, this stochastic likelihood converges to the true marginal posterior distribution regardless of the number M of realizations used in the estimate. However, the magnitude of M can significantly affect the rate at which the chain produces effectively independent samples from the posterior and must be tuned carefully.

Implementation and validation

We have implemented the schemes described above for performing inference under the deterministic and stochastic coalescent SIR models within the BEAST 2 phylodynamics package found at http://github.com/CompEvol/phylodynamics. This has a number of advantages over a stand-alone implementation. Foremost, we were able to avoid reimplementing components of the algorithm that are in common with other already-implemented phylogenetic and phylodynamic analyses, such as the MCMC proposal operators used to traverse the parameter space. Furthermore, this greatly increases the usefulness of the implementation, as it can be immediately used in conjunction with a wide variety of nucleotide and amino acid substitution models and parameter priors. We have taken two steps to ensure our implementation is correct. First, we compared tree probability density values calculated using the main implementation of each of the two models with those calculated using completely independent implementations in R (R Core Team 2014). Second, we used the implemented MCMC algorithms to sample transmission trees from the tree density given in Equation 11 for each model. We then compared the distributions of tree height, total edge length, and binary clade count summary statistics from these sampled ensembles with sample distributions obtained directly via stochastic simulation. As shown in Supporting Information, File S1, Figure S1, Figure S2, and Figure S3 (Sampling from the prior) and in the associated figures, the resulting pairs of distributions agree, providing strong support for our claim that the implementations of the methods described above are correct. Instructions for downloading and using this package are also available on the project website located at http://github.com/CompEvol/phylodynamics.

Simulation study

To evaluate the implementation and extension of the coalescent models, we performed analyses on both sequence data and fixed trees simulated with known parameter values. The median estimated values produced by each model were then used to measure relative error and bias, along with the widths and coverage of 95% highest posterior density (HPD) intervals. We used three methods for simulating the trees and trajectories, as shown below:The stochastic coalescent and deterministic coalescent simulation schemes were used to validate the coalescent SIR inference models. The stochastic SIR scheme, contrarily, is emphasized for its realistic properties. Stochastic SIR trees and trajectories were generated using master equations in the simulation package MASTER (Vaughan and Drummond 2013). Deterministic coalescent trajectories were generated using a Runge–Kutta integrator (Runge 1895; Kutta 1901) with adaptive step sizes to solve a system of first order ODEs. Stochastic coalescent trajectories were generated using Sehl SAL τ-leaping algorithm (Sehl ). To simulate the stochastic coalescent SIR trees, we used the stochastic SIR trajectories, which could be converted to effective population size with the mathematical expression used to obtain Volz’s (2012) coalescent rate for the SIR model: . The sampling times, generated by a sampling rate ψ, for the stochastic coalescent SIR trees were also taken from the MASTER output to allow for direct comparison between the sets of trees. In other words, the underlying epidemic function was the same for both stochastic SIR and stochastic coalescent SIR trees, the latter of which were then simulated under a piecewise constant population function. Likewise, for the simulation of deterministic coalescent trees we used deterministic SIR trajectories to construct a population function and the relation to convert infected and susceptible host population sizes to effective population size. The sampling times were randomly generated from a probability distribution so that the density of samples taken through time was proportional to the number of infected individuals through time, as with the stochastic SIR trees. We simulated stochastic SIR trees, using multiple combinations of parameter values. We were particularly interested in varying the basic reproductive ratio and the initial susceptible population size , to observe the changes in relative error, bias, and uncertainty in stochastic and deterministic models. To alter the ratio and still generate sensible trees with a consistent number of tips, one or more of the other parameters (birth rate β, removal rate γ, or ) must also change. Table 2, Table S6, Table S7, and Table S9 show the true values of the parameters for each set of simulations. (The birth rate β is not shown, as our implementation allows either β or to serve as a parameter in the inference, and is the parameter of interest. However, β can be calculated via the other three, using . For example, when , , and , then E-4.)
Table 2

Simulation study results for fixed trees: and , and , and and

ηInferenceTruthMeanMedianErrorBiasRelative HPD width95% HPD accuracy (%)
0Stoch.Coal.SIR2.502.842.680.120.090.98100.00
Deter.Coal.SIR2.502.682.490.130.040.8198.00
BDSIR2.502.732.670.120.080.5594.00
γStoch.Coal.SIR0.300.270.250.19−0.131.1499.00
Deter.Coal.SIR0.300.320.290.163.14E-31.2799.00
BDSIR0.300.280.270.13−0.090.6295.00
S(0)Stoch.Coal.SIR99913909210.19−0.033.85100.00
Deter.Coal.SIR999180711330.520.294.5998.00
BDSIR999159111420.390.243.4299.00
z(0)Stoch.Coal.SIRVaries41.8140.350.030.010.2099.00
Deter.Coal.SIRVaries41.1739.990.030.010.0776.00
BDSIRVaries40.8939.728.65E-4−5.13E-43.43E-397.00
0Stoch.Coal.SIR1.501.481.370.09−0.060.81100.00
Deter.Coal.SIR1.501.801.490.240.150.5285.00
BDSIR1.501.461.430.08−0.030.4799.00
γStoch.Coal.SIR0.300.190.170.40−0.401.0685.00
Deter.Coal.SIR0.300.260.230.27−0.221.1589.00
BDSIR0.300.260.250.18−0.180.7297.00
S(0)Stoch.Coal.SIR4995993900.25−0.223.56100.00
Deter.Coal.SIR4995623610.44−0.263.3691.00
BDSIR4999967140.510.494.63100.00
z(0)Stoch.Coal.SIRVaries76.4768.240.550.540.5899.00
Deter.Coal.SIRVaries91.0372.510.390.380.4288.00
BDSIRVaries69.1166.510.34−0.310.2094.00
0Stoch.Coal.SIR1.101.391.320.220.221.0999.00
Deter.Coal.SIR1.101.681.440.460.460.5925.00
BDSIR1.101.341.320.200.200.5175.00
γStoch.Coal.SIR0.250.170.150.37−0.361.1184.00
Deter.Coal.SIR0.250.220.180.30−0.221.1686.00
BDSIR0.250.280.260.120.090.92100.00
S(0)Stoch.Coal.SIR4996083980.24−0.183.38100.00
Deter.Coal.SIR4995533370.42−0.263.0892.00
BDSIR499147110401.211.216.5299.00
z(0)Stoch.Coal.SIRVaries91.6084.550.060.020.6097.00
Deter.Coal.SIRVaries112.7990.370.260.260.9485.00
BDSIRVaries82.9880.930.02−0.010.0888.00

Heterochronous trees:

We generated 100 trees under each of the three (stochastic SIR, stochastic coalescent SIR, and deterministic coalescent SIR) models with parameters , β, and γ. For heterochronously sampled trees, each removal generates a sample with probability , where ψ is the overall rate of sampled removals and μ is the rate of unsampled removals such that . The simulations ended once the number of infected individuals reached zero, i.e., when the last infected individual was removed. This ensured that the simulated trajectories spanned past the exponential growth phase of the epidemic and therefore included samples past the peak of infected individuals. This choice of procedure was motivated by (a) the suggestion of Stadler that the behavior of the coalescent beyond the exponential phase could either inflate or reduce bias and (b) the observations of Dearlove and Wilson (2013) and Bošková that deterministic coalescent SIR models might be properly fitted only once the epidemic has peaked. Figure 1 shows trajectories of susceptible, infected, and removed individuals underlying the simulation of stochastic SIR trees (Figure 2) generated in MASTER. An example XML for simulating these MASTER trees is provided in File S1.
Figure 1

Stochastic SIR trajectories for susceptible S, infected I, and recovered R populations, with (top row) and , (middle row) and , and (bottom row) and . (The right column shows infected I only.)

Figure 2

(A) Full stochastic SIR transmission tree with both sampled ψ-tips, shown in red, and otherwise removed μ-tips, shown in yellow. (B) The corresponding 140-tip sampled stochastic SIR tree. A and B were generated in FigTree (Rambaut 2007).

Stochastic SIR trajectories for susceptible S, infected I, and recovered R populations, with (top row) and , (middle row) and , and (bottom row) and . (The right column shows infected I only.) (A) Full stochastic SIR transmission tree with both sampled ψ-tips, shown in red, and otherwise removed μ-tips, shown in yellow. (B) The corresponding 140-tip sampled stochastic SIR tree. A and B were generated in FigTree (Rambaut 2007). We required that the trees had leaves, filtering out those in which the epidemic died out in the early stages, i.e., when the initial infected individual was removed from the effective population too quickly to infect others. (Note that the inference procedures discussed in this article all implicitly condition on the number of leaves.) The probability that the first event in a given trajectory is the removal (by recovery, death, etc.) of patient zero is given by . When , this probability is . In our case, 52/152 () trees were “empty” or containing only one node. The filtering process left us with a mean of leaves for the simulated trees.

Homochronous trees:

A major concern in the comparison between Kühnert ’s birth–death-sampling SIR inference model, which includes explicit sampling, and our implementations of Volz (2012)’s coalescent SIR models, which do not include explicit sampling, is that the former is given extra information via the sampling process. Volz and Frost (2014) addressed this issue by providing a coalescent SIR model that does incorporate sampling explicitly. That being said, results from Bošková indicate that the poor performance of the deterministic coalescent SIR model in comparison with birth–death models was due to the lack of handling stochastic population size changes through time rather than the lack of information about the sampling proportion. Their results showed that the coalescent is “very robust to changes in sampling schemes” (Boskova , p. 8). Regardless, to ensure a fair comparison of BDSIR and the coalescent SIR models, we simulated an SIR epidemic with homochronous, or contemporaneous, sampling. This type of simulation affords no additional information about the population size for explicit-sampling models, as there is only a single time of sampling. We selected a simulation time of for the homochronously sampled trees, with the trajectories being sampled at high prevalence but also past the time of peak prevalence. This is important for distinguishing SIR from SI/SIS outbreaks, as it provides information about the removal parameter γ. In this set of simulations, each lineage was sampled at with probability 0.7 (the leaf count distribution for varied sampling probabilities is in File S1).

Simulated sequences:

To assess the ability of each SIR model to infer epidemic parameters with the inclusion of phylogenetic uncertainty, we also simulated the evolution of 2000-bp sequences down each simulated tree. We time stamped the sequences with the tip dates of each corresponding tree and informed the inference with the true Hasegawa–Kishino–Yano (HKY) substitution model (Hasegawa ), clock rate , and . These choices were made to reflect real data, specifically those of influenza (Vaughan ). Along with simulated sequence data, analyses were performed with the simulated trees fixed (results are in File S1), and the parameters , γ, , and the origin of the tree were estimated with Bayesian prior distributions as listed in Table 4.
Table 4

Bayesian prior distributions

AnnalysisR0γS(0)z(0)ψ/(ψ+μ)
R02.5, S0=999LogN(1, 1)LogN(−1, 1)LogN(7, 1)Unif(0, 100)Beta(1, 1)
R01.5, S0=499LogN(0.5, 1)LogN(−1, 1)LogN(6, 1)Unif(0, 500)Beta(1, 1)
R01.1, S0=499LogN(0.1, 1)LogN(−1.5, 1)LogN(6, 1)Unif(0, 500)Beta(1, 1)
R01.1, S0=999aLogN(0.1, 1)LogN(−1.5, 1)LogN(7, 1)Unif(0, 500)
R01.1, S0=1999aLogN(0.1, 1)LogN(−1.5, 1)LogN(7.5, 1)Unif(0, 500)
R01.2, S0=499aLogN(0.2, 1)LogN(−1, 1)LogN(6, 1)Unif(0, 500)
H1N1Unif(0, 10)LogN(3, 0.75)LogN(13, 2)Unif(0, 10)Beta(1, 1)
HIV-1LogN(1, 1)LogN(−1, 1)LogN(7, 1)Unif(0, 100)Beta(1, 1)

Shown are prior distributions for the reestimation of SIR parameters—the reproductive ratio , the rate of removal γ, the number of susceptible individuals at the start of the epidemic , the time of origin , and the sampling proportion for BDSIR—from the simulated trees, seasonal influenza A (H1N1), and human immunodeficiency virus (HIV-1) data analyses. LogN(M, S) is a log-normal distribution with mean M and standard deviation S in log space.

Only applies to deterministic coalescent SIR; see details in File S1.

Deterministic coalescent SIR on higher and :

Finally, we had particular interest in the effects of varying the population size parameter on the deterministic coalescent SIR model, as comparisons from initial analyses with lower true (≈1.5 and ≈1.1) and (= 499) showed higher error and bias and lower 95% HPD coverage. Also, it is often assumed that deterministic descriptions will perform well for higher and larger population sizes. Table S7 and Table S9 detail the parameter values we used to explore the behavior of the deterministic coalescent on varied and combinations.

Interpretation of results

We compared the coalescent SIR, as well as BDSIR, parameter estimations from the simulated data to the true values used to generate the SIR trajectories. Following Kühnert , the precision and accuracy of these methods were measured by relative error, bias, and HPD intervals. We used the posterior median value of the parameter value compared with the true parameter . Relative error and bias are then gauged by calculating the median value over medians from all 100 trees, such thatandMeasures of HPD interval widths are given byTable 1, Table 2, and Table 3 show these results, along with the percentages of posterior estimates that produced 95% HPD intervals containing the true values (i.e., 95% HPD coverage).
Table 1

Results for simulated sequences: ,

ηInferenceTruthMeanMedianErrorBiasRelative HPD width95% HPD accuracy (%)
0Stoch.Coal.SIR2.502.412.160.13−0.110.9797.00
Deter.Coal.SIR2.502.782.030.380.050.7987.00
BDSIR2.503.212.840.150.141.86100.00
γStoch.Coal.SIR0.300.160.130.52−0.520.8247.00
Deter.Coal.SIR0.300.250.160.56−0.280.9756.00
BDSIR0.300.170.140.52−0.521.1384.00
S(0)Stoch.Coal.SIR999180511480.320.215.1299.00
Deter.Coal.SIR999238415650.660.606.54100.00
BDSIR999400226111.701.7010.3899.00
z(0)Stoch.Coal.SIRVaries51.6748.890.260.230.6137.00
Deter.Coal.SIRVaries49.1346.460.220.200.2629.00
BDSIRVaries31.1629.520.510.510.7918.00
Table 3

Epidemic parameter inference from H1N1 sequences in New Zealand

Inference modelR0γS0Root of the tree (yr)Origin z0 of the epidemic (yr)
Stoch. Coal. SIR1.46 (1.04–2.14)27.08 (4.20–64.03)6.90E4 (175–2.86E5)0.53 (0.44–0.61)0.69 (0.45–1.03)
Deter. Coal. SIR1.35 (1.05–1.84)34.50 (3.86–82.16)1.20E5 (29–4.59E5)0.54 (0.45–0.62)0.73 (0.47–1.04)
BDSIR1.61 (1.09–2.29)27.72 (6.82–55.04)2.22E4 (259–9.38E4)0.49 (0.41–0.56)0.53 (0.43–0.65)

Shown are mean estimates (and 95% HPD intervals) of each epidemic parameter inferred from seasonal influenza A (H1N1) sequence data collected in the Canterbury region of New Zealand throughout the 2001 flu season.

Shown are mean estimates (and 95% HPD intervals) of each epidemic parameter inferred from seasonal influenza A (H1N1) sequence data collected in the Canterbury region of New Zealand throughout the 2001 flu season.

H1N1 data analysis

To test the efficacy of the coalescent SIR models on real data, epidemic parameters , γ, , and time of origin were estimated from 42 seasonal influenza A (H1N1) sequences sampled throughout the 2001 flu season in Canterbury, New Zealand. Influenza infections are well known for their seasonal SIR behavior in nonequatorial populations, as each annual flu season begins with a supply of susceptible hosts and tapers off as the hosts recover with adaptive immunity (Iwasaki and Pillai 2014). Due partly to this seasonal pattern, the influenza virus is both a motivator for the development of specialized models and a prime subject for testing phylodynamic models (Koelle ). Sampling a particular region bypasses the necessity of specifying geographically structured populations, and New Zealand is an area of particular interest due to its geographic location and relative isolation from other regions with potentially varying dynamics. It is also assumed to play a key role in the global circulation of influenza strains (Rambaut and Holmes 2009; Bedford ). We used an HKY nucleotide substitution model, with a substitution rate of 5E-3 as estimated in Vaughan , and informed the models with dated sequences. Priors used for the Bayesian inference are shown in Table 4. Shown are prior distributions for the reestimation of SIR parameters—the reproductive ratio , the rate of removal γ, the number of susceptible individuals at the start of the epidemic , the time of origin , and the sampling proportion for BDSIR—from the simulated trees, seasonal influenza A (H1N1), and human immunodeficiency virus (HIV-1) data analyses. LogN(M, S) is a log-normal distribution with mean M and standard deviation S in log space. Only applies to deterministic coalescent SIR; see details in File S1.

HIV-1 data analysis

In addition to our analysis of H1N1 sequence data, we selected HIV-1 subtype B nucleotide sequences collected from infected individuals located in the United Kingdom. The coalescent SIR results were collated with the results from the BDSIR data analysis performed by Kühnert , using the same sequences. More details of this analysis are provided in File S1.

Results and Discussion

Results for epidemic parameter inference from nucleotide sequences simulated from stochastic SIR trees are provided in Table 1 for . Results for inference from fixed trees (, , ) are shown in Table 2, with 95% HPD coverage shown for each analysis in Figure 3. Inference results for analyses with true and varying population size () are described in Tables S1 and S2 in the supporting information, along with results from trees simulated under the stochastic and deterministic coalescent models for validation.
Figure 3

Estimates of from true stochastic SIR trees using inference methods by column, with stochastic coalescent SIR (A–C), deterministic coalescent SIR (D–F), and BDSIR (G–I). The truth varies by row, with (A, D, and G), (B, E, and H), and (C, F, and I).

Estimates of from true stochastic SIR trees using inference methods by column, with stochastic coalescent SIR (A–C), deterministic coalescent SIR (D–F), and BDSIR (G–I). The truth varies by row, with (A, D, and G), (B, E, and H), and (C, F, and I). For , all three inference methods performed similarly for parameters and γ, with high 95% HPD coverage and low error and bias. The most weakly identifiable parameter yielded the largest HPD intervals for all three inference models. The deterministic coalescent returned higher error (0.52) and bias (0.29) than the stochastic coalescent SIR (0.19, −0.03) and BDSIR (0.39, 0.24) and recovered the origin parameter for only 76 of 100 simulated trees, while the stochastic coalescent and BDSIR respectively recovered for 99 and 97 of 100 simulations. For , the relative HPD widths (akin to variance) for three of the four estimated parameters (, γ, and ) were smallest for BDSIR. For the parameter , the relative HPD width is largest for BDSIR, although it also had slightly higher 95% HPD coverage than deterministic coalescent SIR and the same as stochastic coalescent SIR. The deterministic coalescent SIR method recovered the truth for 85, 89, 91, and 88 of 100 trees for parameters , γ, , and , while its stochastic analog recovered the truth for 100, 85, 100, and 99 of 100 trees for the same parameters. Finally, for stochastic coalescent SIR and BDSIR, error and (absolute) bias were relatively low for , arguably the parameter of most interest to epidemiologists since it represents the number of individuals each infected individual will infect in a naive population. Deterministic coalescent SIR has a higher error (0.24) and bias (0.15) and also has significantly lower coverage for (85%). For , the two stochastic models again outperformed the deterministic coalescent in error, bias, and 95% HPD coverage. The stochastic coalescent most reliably recovered the truth for (99 of 100 simulations), while the deterministic coalescent had more than double the error and bias and still recovered the truth for only 25 of the 100 simulations. BDSIR had the lowest error and bias for under this scheme, although it recovered the truth for only 75 of 100 simulations. For removal parameter γ, BDSIR again yielded lower error and bias, in this case returning the truth for 100/100 trees (in contrast to 84 and 86 from the stochastic and deterministic coalescent, respectively). In the stochastic models, there is a greater trade-off between parameters due to the impact the relationship between them has on the survival of trajectories at low . A larger estimated removal rate tends to require a larger susceptible population for the epidemic to avoid dying out in the early stages. Likewise, a smaller susceptible population implies a smaller estimated γ. As mentioned in the preceding subsection, the deterministic coalescent model yielded higher error and bias than both the stochastic coalescent and BDSIR for most parameters with and . To investigate the deterministic model’s sensitivity to population sizes, we also simulated a range of population sizes ( 499, 999, and 1999) for . Even with , the deterministic coalescent SIR model’s 95% HPD coverage was low. For parameters , γ, , and , this coverage was respectively 40%, 64%, 66%, and 18%. Table S6 shows these results. Additionally, we increased both (to 3.5 and 5) and (to 4999 and 9999). However, for parameters , γ, and , the deterministic coalescent SIR showed increased error, bias, and HPD widths, and the HPD coverage for did not improve. These results are shown in Table S9. While each of these methods is an approximation, the deterministic coalescent particularly suffers from model misspecification since it does not account for the stochasticity that is always present in the early stages of epidemics, regardless of . Results for homochronously sampled trees are given in Table S3. All three SIR inference models recover the truth for >95/100 trees within their respective 95% HPD widths for epidemic parameters , γ, and . The time of origin was recovered for 100/100 trees by BDSIR, 95/100 trees by stochastic coalescent SIR, and 73/100 trees by deterministic coalescent SIR. However, relative error and bias also increased consistently across all three models, along with the 95% HPD widths. The deterministic coalescent had the highest error, bias, and HPD width for and highest error and HPD width for , which is consistent with the heterochronously sampled data. Further consideration of the effects of sampling rate changes and sampling model misspecification are warranted for BDSIR and coalescent SIR, the latter of which has been facilitated by Volz and Frost (2014). Relative error and bias were inflated across all three inference models with the addition of phylogenetic uncertainty, and in certain cases the 95% HPD coverage was lower than with fixed trees. The deterministic coalescent model recovered the truth within its 95% HPD intervals only for ≥90 of the 100 trees in the case of . The true values for the parameters , γ, and were covered by 95% HPD intervals for 87, 56, and 29 of the 100 trees, respectively. This is contrasted with the performance of the stochastic coalescent (100, 97, 47, and 37 for parameters , , γ, and ) and BDSIR (99, 100, 84, and 18 for , , γ, and ), as shown in Table 1. Error, bias, and 95% HPD widths were higher with simulated sequences for all three inference models for parameters γ, , and than with fixed trees. This indicates the importance of calibrating epidemic parameters of interest. In our case, we emphasize the basic reproductive number , often the parameter of most interest to epidemiologists. For , stochastic coalescent SIR and BDSIR recovered the truth within their 95% HPD intervals for 97 and 100 of the 100 simulations, respectively. They also showed only slight changes in error and bias compared to inference performed on the fixed trees used to generate the sequences. The deterministic coalescent SIR model recovered for 87 of the 100 simulations (contrasted with 98/100 for the fixed trees) and with increased error.

Priors and identifiability:

It is important to understand the impact of selected priors on inference results, as the priors are where the power of Bayesian inference lies. For example, we found relatively weak identifiability in the initial susceptible population parameter , which must either be fixed or be estimated alongside the origin parameter . In addition to allowing each parameter to be either fixed or estimated, we have provided options for parameterization of our models, with either the transmission rate β or acting as operable parameters in MCMC analysis. For the deterministic coalescent, there is also an option to use the intrinsic growth parameter described by Dearlove and Wilson (2013). The choice of parameterization necessarily affects the prior that will be used in the inference and should be considered carefully. However, we found that once a parameterization has been selected, our inference models are robust to different prior distributions placed on each parameter. We also used broader prior distributions on the deterministic coalescent to test whether this would increase its lower 95% HPD coverage relative to the stochastic models. We found that doing so increased the error and bias of the results without increasing the accuracy (shown in Table S4). Epidemic parameter estimates from serially sampled influenza A (H1N1) virus sequence data are shown in Table 3. The estimated means of the basic reproductive number were 1.46, 1.35, and 1.61 for the stochastic coalescent, the deterministic coalescent, and BDSIR, respectively. Estimates of from pandemic H1N1 in New Zealand range from ∼1.2 to 1.5 (Paine ; Opatowski ; Roberts and Nishiura 2011; Roberts 2013; Biggerstaff ), and estimates of for seasonal H1N1 from other countries also range from ∼1.2 to 1.5 (Chowell ). The 95% HPD intervals were very similar across each model, ranging from just over 1.0 to ∼2.0. The population of the Canterbury region in 2001 was reported to be ∼481, 431 by the Environment Canterbury Regional Council (Ecan 2001) and 521, 832 by Statistics New Zealand (StatsNZ 2001). The mean estimates of were considerably lower using the stochastic coalescent (), the deterministic coalescent (), and BDSIR (). However, the effective population of susceptibles is assumed to be much smaller, as the total population contains individuals of various susceptibility, e.g., those with partial immunity from vaccination and previous or secondary infections. Most people recover from flu symptoms, the time they are likely to be most infectious, within a few days up to 2 weeks (CDC 2014; WHO 2014). This provides a range of probable true values for the removal parameter γ. The sequence data and molecular clock rate, and therefore the tree, are in units of years. Therefore, our γ range would be from 365/14 days to 365/2 days or from to . The stochastic coalescent, the deterministic coalescent, and BDSIR respectively inferred γ means of 27.08, 34.50, and 27.72. These estimates are on the low side compared to epidemiological models for influenza that include explicit spatial and household effects (Ferguson ), but a moderate misfit of the model is not unexpected when fitting a simple closed SIR model with no population substructure. The root of the tree was very similar across all inference models, respectively 0.53, 0.54, and 0.49 for stochastic coalescent SIR, deterministic coalescent SIR, and BDSIR. The same was true for the origin , with: 0.69, 0.73, and 0.53 for the stochastic coalescent, the deterministic coalescent, and BDSIR. All three inference models returned tree root and origin estimates that are consistent with previous estimates from single flu seasons. That is, the tree age is young and the root coincides with the start of the (winter) influenza season in the Southern Hemisphere. The time of introduction of influenza into the region, , was 1 or 2 months before the root. This supports the notion that the sequences selected represent a single introduction of the strain into the Canterbury population (see File S1 for details of data selection and Figure S4 for representative trees inferred from an alternate data selection.). The trees estimated by each of the three models are typical for influenza (see Figure 4 for representative trees from each posterior), with branches that are quick to coalesce moving backward in time from the most recently sampled tip.
Figure 4

Representative influenza A (H1N1) posterior trees from inference using the (A) BDSIR, (B) stochastic coalescent SIR, and (C) deterministic coalescent SIR inference models.

Representative influenza A (H1N1) posterior trees from inference using the (A) BDSIR, (B) stochastic coalescent SIR, and (C) deterministic coalescent SIR inference models. Results for inference from HIV-1 sequence data can be found in File S1. 95% HPD intervals are shown in Figure S5, Figure S6, Figure S7, and Table S8.

Computational efficiency

Finally, Table S5 shows comparisons of computation times under each inference model for each type of data analyzed. The deterministic coalescent SIR model is by far the fastest to sample and converge, with stochastic coalescent SIR and BDSIR varying, depending on the type of data.

Closing remarks

A key reason for the success of coalescent theory in population genetics is its mathematical simplicity and the computational efficiency of calculating the probability density of a sample genealogy. Our results show that a stochastic variant of coalescent theory can be successfully adapted to estimate epidemiological parameters in a true Bayesian inference context. This stochastic coalescent SIR model performs better than the deterministic analog for estimating epidemic parameters in some circumstances. Unfortunately, the stochastic model relies on a computationally demanding Monte Carlo estimate of the coalescent density via simulation of an ensemble of epidemic trajectories, negating one of the main advantages of coalescent theory. In fact, the current implementation is less computationally efficient than the implementation of the BDSIR model. However, an advantage of the stochastic coalescent over the explicit sampling model in BDSIR is its robustness to biased sampling schemes, as has been shown for the case of pure exponential growth dynamics (Bošková ). A more computationally efficient approach to computing the coalescent probability of the sample genealogy in the stochastic setting would be to use particle filtering (Andrieu and Roberts 2009; Andrieu ; Rasmussen , 2014), but there are no theoretical barriers to applying particle MCMC to the exact model (Stadler ). Therefore, an obvious extension of this work would be to apply particle MCMC algorithms to the exact stochastic SIR model that was used in simulations in this work. We anticipate that the exact model would outperform all the methods tested here, especially when is close to one. In the meantime, the Bayesian coalescent inference methods developed here make it feasible to estimate epidemic parameters from time-stamped, serially sampled molecular sequence data, while accurately accounting for uncertainty in the topology and the divergence times of the phylogenetic tree.
  34 in total

Review 1.  Transition between stochastic evolution and deterministic evolution in the presence of selection: general theory and application to virology.

Authors:  I M Rouzine; A Rodrigo; J M Coffin
Journal:  Microbiol Mol Biol Rev       Date:  2001-03       Impact factor: 11.056

2.  Seasonal influenza in the United States, France, and Australia: transmission and prospects for control.

Authors:  G Chowell; M A Miller; C Viboud
Journal:  Epidemiol Infect       Date:  2007-07-18       Impact factor: 2.451

3.  The epidemic behavior of the hepatitis C virus.

Authors:  O G Pybus; M A Charleston; S Gupta; A Rambaut; E C Holmes; P H Harvey
Journal:  Science       Date:  2001-06-22       Impact factor: 47.728

4.  Estimating mutation parameters, population history and genealogy simultaneously from temporally spaced sequence data.

Authors:  Alexei J Drummond; Geoff K Nicholls; Allen G Rodrigo; Wiremu Solomon
Journal:  Genetics       Date:  2002-07       Impact factor: 4.562

5.  Inference for nonlinear epidemiological models using genealogies and time series.

Authors:  David A Rasmussen; Oliver Ratmann; Katia Koelle
Journal:  PLoS Comput Biol       Date:  2011-08-25       Impact factor: 4.475

6.  Complex population dynamics and the coalescent under neutrality.

Authors:  Erik M Volz
Journal:  Genetics       Date:  2011-10-31       Impact factor: 4.562

7.  Efficient Bayesian inference under the structured coalescent.

Authors:  Timothy G Vaughan; Denise Kühnert; Alex Popinga; David Welch; Alexei J Drummond
Journal:  Bioinformatics       Date:  2014-04-20       Impact factor: 6.937

8.  Inference of epidemiological dynamics based on simulated phylogenies using birth-death and coalescent models.

Authors:  Veronika Boskova; Sebastian Bonhoeffer; Tanja Stadler
Journal:  PLoS Comput Biol       Date:  2014-11-06       Impact factor: 4.475

Review 9.  Unifying the epidemiological and evolutionary dynamics of pathogens.

Authors:  Bryan T Grenfell; Oliver G Pybus; Julia R Gog; James L N Wood; Janet M Daly; Jenny A Mumford; Edward C Holmes
Journal:  Science       Date:  2004-01-16       Impact factor: 47.728

10.  Coalescent inference for infectious disease: meta-analysis of hepatitis C.

Authors:  Bethany Dearlove; Daniel J Wilson
Journal:  Philos Trans R Soc Lond B Biol Sci       Date:  2013-02-04       Impact factor: 6.237

View more
  11 in total

1.  Quantifying the Aftermath: Recent Outbreaks Among People Who Inject Drugs and the Utility of Phylodynamics.

Authors:  Art F Y Poon; Bethany L Dearlove
Journal:  J Infect Dis       Date:  2018-05-25       Impact factor: 5.226

2.  Dispersal Kernels may be Scalable: Implications from a Plant Pathogen.

Authors:  Daniel H Farber; Patrick De Leenheer; Christopher C Mundt
Journal:  J Biogeogr       Date:  2019-07-02       Impact factor: 4.324

Review 3.  Epidemiological inference from pathogen genomes: A review of phylodynamic models and applications.

Authors:  Leo A Featherstone; Joshua M Zhang; Timothy G Vaughan; Sebastian Duchene
Journal:  Virus Evol       Date:  2022-06-02

4.  Statistical Challenges in Tracking the Evolution of SARS-CoV-2.

Authors:  Lorenzo Cappello; Jaehee Kim; Sifan Liu; Julia A Palacios
Journal:  Stat Sci       Date:  2022-05-16       Impact factor: 4.015

Review 5.  Data-Driven Models of Foot-and-Mouth Disease Dynamics: A Review.

Authors:  L W Pomeroy; S Bansal; M Tildesley; K I Moreno-Torres; M Moritz; N Xiao; T E Carpenter; R B Garabed
Journal:  Transbound Emerg Dis       Date:  2015-11-18       Impact factor: 5.005

6.  Bayesian reconstruction of transmission trees from genetic sequences and uncertain infection times.

Authors:  Hesam Montazeri; Susan Little; Mozhgan Mozaffarilegha; Niko Beerenwinkel; Victor DeGruttola
Journal:  Stat Appl Genet Mol Biol       Date:  2020-10-21

7.  How well can the exponential-growth coalescent approximate constant-rate birth-death population dynamics?

Authors:  Tanja Stadler; Timothy G Vaughan; Alex Gavryushkin; Stephane Guindon; Denise Kühnert; Gabriel E Leventhal; Alexei J Drummond
Journal:  Proc Biol Sci       Date:  2015-05-07       Impact factor: 5.349

8.  A model-based clustering method to detect infectious disease transmission outbreaks from sequence variation.

Authors:  Rosemary M McCloskey; Art F Y Poon
Journal:  PLoS Comput Biol       Date:  2017-11-13       Impact factor: 4.475

Review 9.  Novel analytic tools for the study of porcine reproductive and respiratory syndrome virus (PRRSv) in endemic settings: lessons learned in the U.S.

Authors:  Julio Alvarez; Pablo Valdes-Donoso; Steven Tousignant; Mohammad Alkhamis; Robert Morrison; Andres Perez
Journal:  Porcine Health Manag       Date:  2016-01-21

Review 10.  Towards a genomics-informed, real-time, global pathogen surveillance system.

Authors:  Jennifer L Gardy; Nicholas J Loman
Journal:  Nat Rev Genet       Date:  2017-11-13       Impact factor: 53.242

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.