Estimating epidemic dynamics with genomic and time series data ============================================================== * Alexander E. Zarebski * Antoine Zwaans * Bernardo Gutierrez * Louis du Plessis * Oliver G. Pybus ## Abstract Accurately estimating the prevalence and transmissibility of an infectious disease is an important task in genetic infectious disease epidemiology. However, generating accurate estimates of these quantities, that are informed by both epidemic time series and pathogen genome sequence data, is a challenging problem. While birth-death processes and coalescent-based models are popular methods for modelling the transmission of infectious diseases, they both struggle (for different reasons) with estimating the prevalence of infection. Here we extended our approximate likelihood, which combines phylogenetic information from sampled pathogen genomes and epidemiological information from a time series of case counts, to estimate historical prevalence (in addition to the effective reproduction number). We implement this new method in a BEAST2 package called Timtam. In a simulation study our approximation is well-calibrated and can recover the parameters of simulated data. To demonstrate how Timtam can be applied to real data sets we carried out empirical analyses of data from two infectious disease outbreaks: the outbreak of SARS-CoV-2 onboard the Diamond Princess cruise ship in early 2020 and poliomyelitis in Tajikistan in 2010. In both cases we recover estimates consistent with previous analyses. ## Introduction In the field of genetic infectious disease epidemiology, there are two key common questions: “how many people are infected?” (i.e. what is the prevalence?) and “how transmissible is this pathogen?” (i.e. what is its effective reproduction number?) Prevalence of infection is the number of individuals infected at a given time and the effective reproduction number is defined as the average number of secondary infections per infectious individual at a given time. Birth-death processes are an increasingly popular family of models for describing the transmission of infectious diseases, in part because they capture the mechanism of the process and are amenable to analysis. In the birth-death process, *births* represent new infections and *deaths* the end of an infectious period. In its Bayesian phylogenetic implementation, the birth-death process enters the analysis as a prior model for the reconstructed phylogeny (the so-called *tree prior*.) Kendall, 1948 first demonstrated how to use generating functions to describe birth-death processes when modelling infectious disease. Later, Nee et al., 1994 connected that process to the number of observed species in a phylogeny, and Stadler, 2010 and Stadler et al., 2012 demonstrated how this idea can be applied to the analysis of phylogenies of pathogen genomes. Coalescent models offer a computationally and mathematically convenient alternative to birth-death models and are often used to analyse viral genomes (Pybus et al., 2000; Volz et al., 2013). However, a number of assumptions must be made in order to apply coalescent models to epidemiological problems and these assumptions may not always be met. Further, while there are exceptions, e.g. Parag et al., 2020 and Volz, 2012, coalescent models typically lack an explicit sampling model, and will estimate an effective population size, *N**e*, rather than the true population size. These aspects can complicate matters in an epidemiological setting. As with coalescent models, it is difficult to estimate the true population size with birth-death models, and it is usually not undertaken (again, there are exceptions, e.g. Kühnert et al., 2014). This difficulty stems, in part, from the implicit assumption of an infinite susceptible population in most birth-death models. Two remedies offered are the use of parametric models with a finite population, and nonparametric models with time-varying rate parameters. Parametric models impose additional structure, which may require strong simplifying assumptions and can make analysis computationally intractable. Nonparametric models achieve additional flexibility by representing parameters — particularly the birth rate — as piece-wise constant functions (Stadler et al., 2013). In an epidemiological context, to adjust for the depletion of the susceptible pool, the model allows the birth rate to decline over time. While convenient, nonparametric estimates make it difficult to distinguish if a decline in apparent birth rate is due to depletion of the susceptible pool or changes in behaviour, e.g. due to non-pharmaceutical interventions. Incorporating unsequenced case data into phylodynamic analyses in a principled way is a long-standing challenge for the field (Vaughan et al., 2019). Typically, only a small number of cases are sequenced. For example, no country with a sizeable COVID-19 outbreak sequenced *>* 20% of reported cases and most sequenced *<* 5%. Among low and middle income countries this number is often *<* 1%. Note that these numbers are for *reported* cases and not the true number of infections (Brito et al., 2022). Purely phylodynamic methods rely on this small subset of sequenced cases to estimate epidemiological dynamics, taking the stance that genomic sequences contain useful information and can facilitate reconstructing the dynamics of transmission, even before the first case in an outbreak was identified. Nevertheless, the vast amount of unsequenced case data is also informative and can help to refine estimates of epidemic parameters (Rasmussen et al., 2011; Judge et al., 2023). The calculations needed to simultaneously analyse both sources of data in an integrated framework are well-known (see for example Manceau et al., 2020), however existing ways to compute them are computationally intractable for all but the smallest outbreaks (Andréoletti et al., 2022). In Zarebski et al., 2022, we described an efficient and accurate method to approximate the likelihood of a point process of viral genomes and a time series of case counts, which we call Timtam. While Timtam resolved a long-standing challenge for the field, (i.e. how to reconcile genetic and classical epidemiological data in a computationally feasible way), it had some substantial limitations: a.) while efficient, it is a complicated algorithm lacking a convenient implementation, limiting reuse and making it inaccessible to most potential users; and b.) it only estimated prevalence at the present, not prevalence through time. Here we show how to resolve these outstanding problems. We resolve the first by implementing the approach in a BEAST2 package (Bouckaert et al., 2019) called Timtam, which is available on CBAN and can be installed via BEAUti. We resolve the second limitation with an extension to the algorithm, which enables conditioning on historical prevalence so it can be treated as a model parameter and estimated. We carried out a simulation study to demonstrate that the methodology leads to well-calibrated estimates, i.e. that approximately 95% of the 95% HPD intervals (i.e. the credible intervals) contain the true parameter value from the simulation. We further demonstrate the “real-world” use of this package with two empirical case studies. In the first, we repeat an analysis by Andréoletti et al., 2022 of SARS-CoV-2 data from an outbreak on the Diamond Princess cruise ship. We infer a greater prevalence of infection than Andréoletti et al., 2022. We attribute the difference in prevalence to a limitation of the implementation in Andréoletti et al., 2022, which Timtam overcomes. In the second, we reanalyse data from the 2010 outbreak of poliomyelitis in Tajikistan from Yakovenko et al., 2014 and the Centers for Disease Control and Prevention (CDC), 2010 and compare the results to a similar analysis from Li et al., 2017. ## Methods Figure 1A provides an example *transmission* tree, a complete description of who-infected-whom during an epidemic, along with the timing of these events, and the surveillance of this process. Sequenced cases appear as filled circles in the figure, unobserved cases end the lineage without a circle (at the time the case is unable to cause any onward transmissions, i.e. becomes uninfectious), and unfilled circles indicate scheduled observation of cases without sequencing, which occurred at the three times indicated with dashed lines. Figure 1B depicts the corresponding *reconstructed* tree and the time series of case counts. The reconstructed tree is the subtree of the transmission tree that results from pruning any leaves not corresponding to a sequenced sample. Unlike the transmission tree, the reconstructed tree is not oriented, consequently it does not specify which of the two descendant lineages of an internal node corresponds to the infector. The leaves of the transmission tree corresponding to unsequenced samples form a separate, but not independent, time series of confirmed cases. Figure 1C depicts the corresponding plots of the prevalence of infection through time (grey line) and the *lineages through time* (LTT) plot for the reconstructed tree (dashed line). The *lineages through time* (LTT) plot describes the number of lineages in the reconstructed tree as a function of time. Typically, the value of the LTT plot will be less than the prevalence of infection. In Figure 1C, a single estimate of the prevalence appears near the present as a star. ![Figure 1:](http://medrxiv.org/http://medrxiv.stage.highwire.org/content/medrxiv/early/2024/04/19/2023.08.03.23293620/F1.medium.gif) [Figure 1:](http://medrxiv.org/content/early/2024/04/19/2023.08.03.23293620/F1) Figure 1: The transmission process is viewed as a sequence of events with the observations processed (in order) to approximate their joint likelihood. Panel **A** demonstrates a *transmission* tree with intervals of time an individual was infected indicated by horizontal lines and the vertical grey arrows indicating transmission. Three scheduled unsequenced samples are taken at the times indicated by the vertical dashed lines. Panel **B** shows the corresponding *reconstructed* tree and time series of confirmed cases in each of the scheduled unsequenced samples. In the third sample no cases were observed. Panel **C** shows the prevalence of infection (grey line) and the LTT (black dashed) along with a single (hypothetical) estimate of the prevalence (the star). We refer to the lineages in the transmission tree that are not in the reconstructed tree as the *hidden* lineages because they are not visible in the raw data. At any given time the sum of the number of hidden lineages and the LTT of the reconstructed tree is equal to the prevalence of infection. We denote by *k**t* the value of the LTT at time *t* and by *H**t* the number of hidden lineages. In the terminology of Zarebski et al., 2022, the reconstructed tree consists of sequenced unscheduled data, and the time series of cases represents unsequenced scheduled data. We may consider arbitrary combinations of (un)sequenced and (un)scheduled data, but here we focus on data sets that consist of sequenced unscheduled data and unsequenced scheduled data (i.e. time-stamped sequences and a time series of cases), since this aligns closest to typical epidemiological data sets. In an epidemiological setting, we are often interested in the prevalence of infection and *ℛ*e(*t*), because these quantities are of critical importance when assessing the threat posed by an outbreak of infectious disease. Bayesian phylodynamic methods provide a coherent solution with clear quantification of uncertainty. Unfortunately, this usually requires us to evaluate the joint posterior distribution of the model parameters and the reconstructed tree (up to an unknown normalisation constant if we are using MCMC to generate posterior samples), conditioning on time-stamped viral genomes and a time series of confirmed cases. To do this, we need to evaluate the log-likelihood function in a computationally efficient way. Simulation based methods exist, but tend to be far more computationally expensive, which can reduce the utility of the resulting estimates if they are time-sensitive. The data for our model consists of 𝒟MSA and 𝒟cases, where 𝒟MSA is the multiple sequence alignment (MSA) containing the time-stamped pathogen genomic data, and 𝒟cases is the observation of confirmed cases without associated pathogen genomes. The parameters of this process partition into four groups: * ℋ, the number of hidden lineages at specified points in time (which we use to estimate the prevalence of infection); * *𝒯*, the time-calibrated reconstructed tree describing the ancestral relationships between the sequences in 𝒟MSA; * *θ*evo the parameters of the evolutionary model, describing how genome sequences change over time (e.g. the molecular clock rate and nucleotide substitution model relative rate parameters); * and *θ*epi, the parameters of the epidemiological model, describing how the outbreak/epidemic grows or declines over time and how we observe it. Using the terminology of birth-death processes, *θ*epi contains the birth rate *λ* and the death rate *μ* along with the sequenced sampling rate *ψ*, the unsequenced sampling rate *ω* (a.k.a. the occurrence rate), probability of observation in a scheduled sequenced sample *ρ* and the probability of observation in a scheduled unsequenced sample *ν*. Examples of these events are shown in Figure 1A. Throughout this manuscript, we treat these parameters as piecewise constant functions with known change times. We can express the posterior distribution, *f* (ℋ, 𝒯, *θ*epi, *θ*evo | 𝒟MSA, 𝒟cases), in terms of simpler components with the factorisation in Equation (1) below. The likelihood of the sequence data given the reconstructed tree and genomic parameters *f* (𝒟MSA | 𝒯, *θ*evo), which appears in Equation (1), is sometimes called the *phylogenetic likelihood*. This function is well-known and can be efficiently calculated with Felsenstein’s pruning algorithm (Felsenstein, 1981). The likelihood of the time series of cases, reconstructed tree and prevalence, given the epidemiological parameters *f* (𝒟cases, 𝒯, ℋ | *θ*epi), often called the *tree prior*, is more accurately called the *phylodynamic likelihood*. Here we make the standard simplifying assumption that there is no dependence between the tree structure and the sequence evolutionary process. Consequently the phylogenetic likelihood is independent of 𝒟cases, ℋ and *θ*epi. We also assume *θ*epi and *θ*evo have independent priors. We summarise the LTT and time series of unsequenced observations as a sequence of labelled events, each with an associated time in order to evaluate the phylodynamic likelihood *f* (𝒟cases, 𝒯, ℋ | *θ*epi). There are four types of events we consider: 1. new infections (births), corresponding to the internal nodes of the reconstructed tree; 2. unscheduled sequenced samples, corresponding to the leaves of the reconstructed tree; 3. scheduled unsequenced samples, corresponding to the elements of the time series of cases; 4. and pseudo-observations of the number of hidden lineages at prespecified times. These events are not the same as the data: event types 1 and 4 are parameters. Event types 3 and 4 have a value associated with them: for a scheduled unsequenced datum this is the value of the time series, and for the pseudo-observations this is the number of hidden lineages. Note also that only a subset of all infection events in the epidemic will be captured by the reconstructed tree (see Figure 1). We denote the event observed at time *t**j* by ![Graphic][1], and the sequence of events that occur up until time *t* (inclusive) by ε *≥t*. We use *K**j* to indicate the value of the LTT of 𝒯 at time *t**j*. In the following we order events using a backward time formulation, with 0 being the present (the time of the most recent sequenced sample in our data) and events further in the past having a larger time: *t* *> t*1 *> · · · > t**N*. A consequence of specifying time in this way is that events occurring after the time of the last sequenced sample have negative times. Expressions of the form ![Graphic][2] are simpler, so we will consider the following factorisation: ![Formula][3] The factors in the product in Equation (2) are further divided into two parts: *c**j*, which is the likelihood of the interval of time between *t**j−*1 and *t**j* during which we observed nothing, and *l**j* the likelihood of the event that we observed at time *t**j*. We start by considering *c**j*. For *t**j−*1 *> t > t**j* let ![Graphic][4], for *i ≥* 0 i.e. the joint distribution of the number of hidden lineages and not having observed any events since *t**j−*1. Evaluated at *t**j* this becomes ![Graphic][5]i.e. the joint distribution of the number of hidden lineages and the event observed at time *t**j*. Consider the time during which we know there are no observed events, i.e. over an infinitesimal time step, *δt*, inside the interval *t**j−*1 *> t > t**j*. In this case, ![Graphic][6] satisfies the following equation (up to leading order): ![Formula][7] ![Formula][8] where 𝕀*x* is the indicator random variable for event *x*. The factor of 2 in the term corresponding to unobserved births appears because the birth event creates two lineages (moving forward) and there are two ways to select one of them to be a hidden lineage and the other to continue the reconstructed tree. Re-arranging the terms of these equations and taking the limit as the time step vanishes, we retrieve the master equations for this distribution, i.e. the system of differential equations that describe how it changes across the interval *t**j−*1 *> t > t**j*: ![Formula][9] Let *M**t*(*z*) be the generating function for this system of differential equations: ![Graphic][10].We can write the system in Equation (3) as the following PDE which has the generating function *M**t*(*z*) as its solution. ![Formula][11] Manceau et al., 2020 solved Equation (4) in terms of results from Stadler, 2010. This partial differential equation allows us to update *M**t*(*z*) across the intervals without observed events: (*t**j−*1, *t**j*). Given the generating function across each interval we can evaluate the *c**j* in Equation (2), since ![Graphic][12]. Note that we have to take the limit as time decreases to *t**j* because we are working with backwards time and there is a discontinuity. The form of ![Graphic][13] depends on both the limit ![Graphic][14] and the event observed at *t**j*. To simplify the description below, let ![Graphic][15] which is the limiting value of the generating function before the observation. How we transform the generating function depends on the type of ![Graphic][16]. The expressions for *l**j* and ![Graphic][17] are as follows: * for *λ* events *l**j* := *λ* and ![Graphic][18]; * for *ψ* events *l**j* := *ψ* and ![Graphic][19]; * for *ω* events ![Graphic][20] and ![Graphic][21]; * for *ρ* events when Δ*K**j* individuals were sampled and there are *K**j* lineages in the reconstructed tree just after the event, ![Graphic][22] and ![Graphic][23]; * and for *ν* events when Δ*H**j* cases were observed, ![Graphic][24] and ![Graphic][25] When co-estimating the prevalence, there is an additional event corresponding to a pseudo-observation of the number of hidden lineages. When we condition on ![Graphic][26], then ![Graphic][27] (which is the coefficient of ![Graphic][28] in ![Graphic][29] and ![Graphic][30], i.e. the generating function of the degenerate distribution corresponding to *H**j* hidden lineages. Note that while the ℋ*j* are parameters of this model, we still include the corresponding *l**j* because we are also evaluating their prior distribution under the birth-death process. A novel contribution from this paper is the co-estimation of prevalence through time: the prevalence is treated as proper random variable under the posterior distribution. ### Timtam We can compute the *c**j* analytically, however, we lack a closed form for the *l**j*. In Zarebski et al., 2022, we describe the time series integration method through approximation of moments (Timtam). Timtam matches moments to approximate the relevant distribution with a negative binomial distribution. The generating function of the negative binomial distribution allows us to efficiently and accurately approximate the *l**j* and hence the likelihood of the model. ### The effective reproduction number The reproduction number describes the average number of secondary infections: there are multiple ways to make this definition precise. We choose to define the effective reproduction number ℛe(*t*) as the expected number of secondary infections generated by a newly infected individual from time *t* onward. Without scheduled sampling, the value of ℛe in the birth-death model is *λ/*(*μ* + *ψ* + *ω*). Including scheduled sampling complicates matters because it combines continuous and discrete sampling. We derive a closed form expression for *ℛ*e in the Supplementary Information. However the result is unwieldy so we will instead make use of a simple approximation. ### An approximation to ℛe for scheduled data Consider the case of unscheduled sequenced and scheduled unsequenced samples at regular intervals of duration Δ*t*. From the perspective of an infectious individual, given they are removed during some scheduled sample, the number of intervals until this occurs, *W*, has a geometric distribution with probability *ν*. Given the scheduled samples occur at regular intervals of duration Δ*t*, the waiting time is approximately Δ*t*(*W* + 1*/*2) (where the half has come from a continuity correction). Provided Δ*t* and *ν* are small, this distribution will be similar to an exponential distribution. The rate of an exponential distribution with the same mean is 2*ν/*(2Δ*t* *− ν*Δ*t*). This suggests the following approximation: we replace the scheduled unsequenced sampling (which complicate ℛe calculations) with unscheduled unsequenced sampling at rate ![Graphic][31](for which it is simple to calculate the ℛe). I.e. we approximate the scheduled sampling with unscheduled sampling at a comparable rate, ![Graphic][32], obtained by matching the geometric and exponential distributions as above. With unscheduled sampling at this rate, ℛe can be written as ![Graphic][33]. Figure 2 shows the effective reproduction number calculated using both the recursive method described in the Supplementary Information and the approximation that results from expressing the scheduled sampling as a rate ![Graphic][34]. The values of ℛe are greater for longer intervals between scheduled samples, Δ*t*, because there is a longer duration during which the individual can infect others before being removed in a scheduled sample. ![Figure 2:](http://medrxiv.org/http://medrxiv.stage.highwire.org/content/medrxiv/early/2024/04/19/2023.08.03.23293620/F2.medium.gif) [Figure 2:](http://medrxiv.org/content/early/2024/04/19/2023.08.03.23293620/F2) Figure 2: The approximation smooths out the saw-tooth value of the effective reproduction number in the case of scheduled samples. The parameters used for this figure are birth rate of 0.4, death rate of 0.1, sampling rate of 0.02 and a scheduled unsequenced sampling probability of 0.08 (at varying intervals). The solid lines indicate the values obtained with our approximation and the dashed lines indicate the true values accounting for scheduled sampling. ### Model parameterizations There are multiple ways to parameterize this process. We refer to the parameterization in terms of the rates *λ, ψ, ω*, and probabilities *ρ*, and *ν* as the *canonical parameterization*. We derive the approximate likelihood in terms of these parameters. In an epidemiological context, with a time series of confirmed cases and point process sequence data, we prefer to parameterize the process in terms of the effective reproduction number, ℛe, the net removal rate, ![Graphic][35] (where ![Graphic][36] is as described above), and the observed proportion of infections captured by the time series, ![Graphic][37], and the point process, *ψ/σ*, respectively. Given the focus on the use of time series data, we refer to this parameterization as the *time series parameterization*. Note that when we use the time series parameterization in the SARS-CoV-2 and poliomyelitis analyses, we use the approximation of ![Graphic][38] to simplify the model specification. This avoids the issue of having to adjust for future scheduled sampling in ℛe(*t*). ### Sampled ancestors A natural extension to this model is the inclusion of sampled ancestors (Gavryushkina et al., 2014), which Manceau et al., 2020 and Andréoletti et al., 2022 have already considered. Including sampled ancestors involves a probability *r* that an infected individual is removed upon (unscheduled) observation. Currently we assume all individuals are removed upon observation. We have not yet implemented this extension in Timtam, however we include the relevant expressions and the explanation of some additional details in the Supplementary Information, and leave the implementation as an exercise for the future. ## Results ### Calibration study To assess the calibration of Timtam and the validity of our approximation of ℛe, we carried out a simulation study. We sampled 100 epidemics from a birth-death process using remaster (Vaughan, 2024). Each epidemic ran for 56 days with the birth rate decreasing on day 42, (i.e. boom-bust dynamics), and two types of surveillance: sequenced and unsequenced with fixed rates, (see Table 1.) We assume a known removal (death) rate. The prevalence of infection in each of the simulated epidemics is shown in Fig. S1. There is a substantial amount of variability in the prevalence across the simulations, but the boom-bust dynamics can be seen in the average of the simulation trajectories. View this table: [Table 1:](http://medrxiv.org/content/early/2024/04/19/2023.08.03.23293620/T1) Table 1: The simulated data for the calibration study was sampled from a birth-death process with two types of sampling and a change in birth rate leading to “boom-bust” dynamics. A final sequence sample is collected at the end of the simulation to ensure a consistent duration across the 100 replicates. Each simulation was conditioned to have at least two sequenced samples and a positive final prevalence of infection. From each simulation we constructed two data sets: one with unsequenced samples treated as a point process, and a second with these samples aggregated into a time series of daily case counts. The parameters used are similar to those used in Zarebski et al., 2022 with an extension for the change in birth rate; we based the parameter values on the early dynamics of SARS-CoV-2 in Australia. The code implementing this simulation and the subsequent inference is available at [https://github.com/aezarebski/timtam-calibration-study](https://github.com/aezarebski/timtam-calibration-study). We sampled the posterior distribution of the model parameters for each simulated data set and compared the resulting estimates to the true values from the simulations. Figure 3 shows the estimates of prevalence and reproduction numbers across the simulations, ordered by the final prevalence in the simulation in the case where the unsequenced data is modelled as a point process. Figure 4 shows the corresponding results when the unsequenced data are aggregated into a daily time series of counts. ![Figure 3:](http://medrxiv.org/http://medrxiv.stage.highwire.org/content/medrxiv/early/2024/04/19/2023.08.03.23293620/F3.medium.gif) [Figure 3:](http://medrxiv.org/content/early/2024/04/19/2023.08.03.23293620/F3) Figure 3: Parameter estimates converge to true values as the data set gets larger. The solid black lines display the HPD intervals, and points indicate the point estimates; the point is filled if the HPD interval contains the true value and empty if it does not. The green points and the green dashed lines indicate the true values of the final prevalence and the reproduction number in the boom and bust portions of the simulation. We ordered the replicates by the final prevalence in each simulation. ![Figure 4:](http://medrxiv.org/http://medrxiv.stage.highwire.org/content/medrxiv/early/2024/04/19/2023.08.03.23293620/F4.medium.gif) [Figure 4:](http://medrxiv.org/content/early/2024/04/19/2023.08.03.23293620/F4) Figure 4: The estimated quantities and their true values from the simulation as shown in Figure 3 when the unsequenced observations were aggregated into a time series of daily case counts. Comparing the simulations with a small final prevalence to those with a large final prevalence we see that for simulations with a larger prevalence the estimates of the reproduction number have less uncertainty and are less biased. We attribute this to the strong correlation between the final prevalence and the total number of data points (as shown in Fig. S2), as the reconstructed tree is likely to be larger for simulations with a larger final prevalence. The credible interval is distinct from the confidence interval. (We have used the highest posterior density interval (HPD interval) as our credible interval, so have referred to them as “HPD intervals” rather than the less specific “credible interval”.) Due to the influence of the prior distribution, we do not necessarily expect 95% of the posterior distributions to contain the true parameters, however, we would like it to be close to this. We performed a hypothesis test of the null hypothesis that 95% of the HPD intervals contain the true parameter. Of course, the truth of this null depends upon the choice of prior distribution, nonetheless, we would like it to be difficult to falsify such a null hypothesis for plausible prior distributions. In our hypothesis test, of the null hypothesis that the intervals are well-calibrated, we expect 91–99 of the HPD intervals to contain the true parameter value (out of the total 100 replicates). When interpreting the hypothesis test of whether the intervals are well calibrated at 95%, we need to bear in mind that the sampling of the limits of this interval are sparse (by construction) so one would ideally want a large effective sample size (ESS). Kruschke, 2014, p. 184 suggests an ESS *≥* 10000 is desirable for reliable 95% limits, while for each of our analyses the ESS was *≥* 200 for all variables. Table 2 contains a summary of the rate parameter estimates from the first set of simulations (i.e. the ones with point process data) and Table 3 contains the corresponding summary for the second set of simulations (i.e. with unsequenced samples aggregated into a time series). For the estimates based on the point process data, the HPD intervals of both the reproduction number and the prevalence at the time of the last sequenced sample have a coverage that is consistent with the desired level (95%). This suggests the estimation method is well-calibrated. For the estimates based on the aggregated data, the coverage for ![Graphic][39] is lower than desired, however for both ![Graphic][40] and *H* the coverage is suitable. This suggests that, despite the model misspecification due to aggregating the point process data, we are still able to generate good HPD intervals for the reproduction number and prevalence. View this table: [Table 2:](http://medrxiv.org/content/early/2024/04/19/2023.08.03.23293620/T2) Table 2: Posterior parameter estimates and accuracy in the 100 simulations. There are boom-bust dynamics, for the first 42 days of the simulation the birth rate is *λ*1 after which it changes to *λ*2 for the subsequent 14 days. The death rate is assumed known. View this table: [Table 3:](http://medrxiv.org/content/early/2024/04/19/2023.08.03.23293620/T3) Table 3: Posterior parameter estimates and accuracy in the 100 simulations after we aggregated the unsequenced observations into daily counts and used the resulting time series as data. ### SARS-CoV-2 on the Diamond Princess cruise ship To demonstrate the utility of our new approach we replicated the analysis of a SARS-CoV-2 outbreak onboard the Diamond Princess cruise ship initially reported by Andréoletti et al., 2022. This outbreak is particularly well-suited to analysis because it occurred on an isolated cruise ship (with 3711 people onboard) in a carefully monitored population with detailed accounts of isolation and testing measures. The outbreak appears to have originated from a single introduction of the virus (Sekizuka et al., 2020). Figure 5 displays the cases and sequencing effort across the duration of the quarantine. We obtained a time series of daily confirmed cases from Dong et al., 2020 to use as 𝒟cases and an alignment of 70 pathogen genomes (Sekizuka et al., 2020) was used as 𝒟MSA. The accession numbers for the sequences are available in the Supplementary Information. ![Figure 5:](http://medrxiv.org/http://medrxiv.stage.highwire.org/content/medrxiv/early/2024/04/19/2023.08.03.23293620/F5.medium.gif) [Figure 5:](http://medrxiv.org/content/early/2024/04/19/2023.08.03.23293620/F5) Figure 5: Sequences were collected across three days and testing varied throughout the quarantine period. The stacked bar chart shows the daily number of confirmed cases and sequenced samples. We indicate the timing of changes to surveillance and quarantine with lines at the top of the figure. #### Model We made minor adjustments to the model to better match standard epidemiological workflows for ℛe estimation, as described in the Supplementary Information. Importantly, we modelled daily case counts of confirmed cases as scheduled samples (i.e. a time series) instead of unscheduled samples (i.e. a point process of occurrences.) Additionally, we put an explicit prior on the reproduction number. Table S1 lists the prior distributions used in the model. The XML file specifying the analysis and post-processing are available from [https://github.com/azwaans/timtam-diamond-princess](https://github.com/azwaans/timtam-diamond-princess). #### Results Figure 6 shows the estimates of the reproduction number through time along with the 95% HPD intervals. The estimates of the effective reproduction number are consistent with those from previous analyses of these data (Andréoletti et al., 2022, Figure 5). Our estimates differ from those of (Vaughan et al., 2024, Fig. S3). The discrepancy between the estimates from Vaughan et al., 2024 and ours may be due to the different data sets used: our analysis used both the time series of confirmed cases and pathogen genomes, while Vaughan et al., 2024’s estimates are based on genomic data alone. ![Figure 6:](http://medrxiv.org/http://medrxiv.stage.highwire.org/content/medrxiv/early/2024/04/19/2023.08.03.23293620/F6.medium.gif) [Figure 6:](http://medrxiv.org/content/early/2024/04/19/2023.08.03.23293620/F6) Figure 6: Estimates of the reproduction number and the 95% HPD intervals. In addition to our estimates (shown in green) estimates from Andréoletti et al., 2022 (purple) and Vaughan et al., 2024 (orange) are shown. Figure 7 shows the estimates of the prevalence of infection and the 95% HPD intervals along with the corresponding values from Andréoletti et al., 2022. Our estimates suggest a larger prevalence of infection than the estimates from Andréoletti et al., 2022. Estimates from Vaughan et al., 2024 are not included as they estimated the cumulative number of infections, instead of the prevalence. ![Figure 7:](http://medrxiv.org/http://medrxiv.stage.highwire.org/content/medrxiv/early/2024/04/19/2023.08.03.23293620/F7.medium.gif) [Figure 7:](http://medrxiv.org/content/early/2024/04/19/2023.08.03.23293620/F7) Figure 7: Estimates of the prevalence of infection and the 95% HPD intervals onboard the Diamond Princess. In addition to our estimates (green) estimates from Andréoletti et al., 2022 are shown (purple). The MCMC chain to sample the posterior distribution (of both the tree and model parameters) ran in approximately an hour on a mid-range laptop. The effective sample size of each variable was *>* 300. ### Poliomyelitis in Tajikistan Poliomyelitis, polio, is caused by infection with the poliovirus, an RNA virus spread through the fecal-oral route. While most poliovirus infections are asymptomatic, it has the potential to cause permanent paralysis. Polio has a long history but since the introduction of vaccines in the 1950s incidence has declined and there are sustained efforts towards eradication. In 2010 there was an outbreak of wild poliovirus type 1 (WPV1) in Tajikistan. We re-analysed the genomic and time series data collected during the outbreak. These data had previously been jointly analysed by Li et al., 2017 using an age-structured model from Blake et al., 2014. A previous genomic analysis by Yakovenko et al., 2014 suggests the outbreak of WPV1 stemmed from a single importation in August–December 2009. However, substantial increases in the incidence of acute flaccid paralysis (AFP) did not occur until early 2010. A vaccination campaign was launched in May and the outbreak abated after that. Figure 8A shows a time series of cases and sequences generated; the timing of the rounds of vaccination is also shown. ![Figure 8:](http://medrxiv.org/http://medrxiv.stage.highwire.org/content/medrxiv/early/2024/04/19/2023.08.03.23293620/F8.medium.gif) [Figure 8:](http://medrxiv.org/content/early/2024/04/19/2023.08.03.23293620/F8) Figure 8: An outbreak of poliomyelitis in Tajikistan in 2010: **A**. Sequences were collected throughout the outbreak. The stacked bar chart shows the weekly number of confirmed cases and sequenced samples. We indicate the hypothesised origin time and the timing of vaccination rounds at the top of the figure. **B**. Estimates of the prevalence of infection (on a logarithmic scale) and the 95% HPD intervals at 30 day intervals across the outbreak. **C**. Estimates of the reproduction number and the 95% HPD intervals as constants before and after the start of vaccination. #### Model We modelled the transmission of poliovirus with a birth-death process with time varying effective reproduction number and surveillance rates to explain the effect of vaccination and heightened surveillance once the outbreak was recognised. We extracted the weekly case counts of laboratory confirmed polio infections with paralysis as reported by the Centers for Disease Control and Prevention (CDC), 2010 (with WebPlotDigitiser (Rohatgi, 2021)) to use as 𝒟cases, and obtained an alignment of publicly available sequences from Li et al., 2017 (originally sequenced by Yakovenko et al., 2014) to use as 𝒟MSA. We subtracted the number of sequences from the time series to avoid duplication. As part of the sensitivity analysis we re-ran the analysis without this subtraction step and obtained similar estimates, (see Table S4.) Accession numbers for the sequences are available in the Supplementary Information. Since case counts were only available at a weekly resolution, we distributed them uniformly across the days of the week and the sequenced samples uniformly within the date associated with them (when more than one genome was associated with the same date). I.e. cases were modelled as a daily time series of unsequenced samples and a point process of sequenced samples. Further details are available in the Supplementary Information and Table S2 lists the prior distributions used in the model. The XML files specifying the full analysis and post-processing are available from [https://github.com/aezarebski/timtam-tajikistan](https://github.com/aezarebski/timtam-tajikistan). #### Results Figure 8B shows the estimates of the prevalence of infection and the 95% HPD intervals at 13 dates separated by 21 day intervals. Note that the estimates of the absolute prevalence extend before the first observed case. For example, we estimate that before February 2010 the prevalence was below 100. Even adjusting for a change in surveillance, there is little evidence of widespread transmission before February in the estimates of the prevalence of infection. Figure 8C shows the estimates of the effective reproduction number through time along with the 95% HPD intervals. A full summary of parameter estimates can be found in Table S3 of the Supplementary Information. The estimates in Figure 8C suggest the effective reproduction number may have already started to decline before the beginning of the vaccination rounds, potentially due to public awareness. A comparison of these estimates with previous age-structured estimates is given in Figure S3. The MCMC chain to sample the posterior distribution (of both the tree and model parameters) ran in approximately four days on a mid-range laptop and the effective sample size of each variable was *>* 200. ## Discussion We implemented a model, which can also act as a phylodynamic tree prior to facilitate the co-estimation of the prevalence and the effective reproduction number. The resulting model can draw on both sampled pathogen sequence data and an epidemic time series of confirmed cases (i.e. observations of infection for which the pathogen genome was not sequenced). The algorithm used to compute the (approximate) log-likelihood is fast, requiring a number of steps linear in the number of sequences and length of the time series of unsequenced cases (Zarebski et al., 2022). The implementation is available as a BEAST2 package and tutorials on the usage of the package are bundled with the source code: [https://github.com/aezarebski/timtam2](https://github.com/aezarebski/timtam2). We extended the method previously developed in Zarebski et al., 2022 to estimate historical prevalence, by explicitly modelling prevalence as a model parameter. This differs from several previous approaches, in which estimates of the prevalence come from intermediate steps in the likelihood calculation or from posthoc simulation. Treating the prevalence as a bona fide parameter also means we can incorporate additional data concerning prevalence into the analysis. For example, if survey data on infection in a random sample from the population was available for specific dates (e.g. from seroprevalence surveys) we could condition the model on this as additional data. We performed a simulation study to demonstrate that the method is well-calibrated, i.e. that approximately 95% of the 95% HPD intervals do contain the true value. The simulation study also demonstrated that the performance of the method does not degrade substantially when we aggregated the occurrence data into a time series. We used the validated method to replicate two analyses of limited single-source outbreaks. The first, carried out by Andréoletti et al., 2022, is of an outbreak of SARS-CoV-2 aboard the Diamond Princess cruise ship. The second, empirical analysis of the 2010 outbreak of poliomyelitis in Tajikistan, uses data from Yakovenko et al., 2014 and the Centers for Disease Control and Prevention (CDC), 2010. The outbreak of SARS-CoV-2 aboard the Diamond Princess cruise ship was a relatively small, well-contained outbreak, for which where the majority of infections were ascertained. However, only a small number of sequenced samples exist, all dating from a period of only three days (Figure 5). Our estimates of the reproduction number (displayed in Figure 6) are consistent with the values from Andréoletti et al., 2022 and are broadly similar to those from Vaughan et al., 2024. However, Vaughan et al., 2024 only used genomic data, which may explain the difference in the *ℛ*e estimates. Our prevalence estimates are greater than those from Andréoletti et al., 2022 (Figure 7). We attribute this difference to their implementation having an upper limit of 40 on the number of hidden lineages, which was necessitated by the computational complexity of the numerical integration algorithm used to compute the likelihood. As such, their estimates should be interpreted as lower bounds on the prevalence and not absolute estimates. Timtam overcomes this limitation by a negative binomial approximation of the the number of hidden lineages, making it efficient at estimating large numbers of hidden lineages and applicable to real-world epidemic scenarios. We modelled the sequenced SARS-CoV-2 infections as a point process, consistent with previous analyses of the data. Where multiple samples were available for a particular day, we uniformly spaced the sequenced samples across the day the samples were collected. A more nuanced analysis would have modelled these samples as scheduled sequenced samples, however this would make the resulting estimates harder to compare to previous results and complicate the interpretation. The empirical analysis of the 2010 outbreak of poliomyelitis in Tajikistan uses data from Yakovenko et al., 2014 and the Centers for Disease Control and Prevention (CDC), 2010. This is a much larger outbreak over a period of months instead of weeks. Although a large proportion of the ascertained cases (all presenting with AFP) were sequenced across the entire reporting period of the outbreak (Figure 8A), we expect that most infections were not ascertained, since the majority of poliovirus infections are asymptomatic. It is not possible to directly compare our estimates of the effective reproduction number of poliomyelitis in Tajikistan to previous work. Timtam does not support structured populations yet, so we were not able to obtain age-specific ℛe estimates such as those reported in Li et al., 2017. However, our estimates of the effective reproduction number during the central four weeks of the outbreak are similar to a demographically weighted average of the estimates from Li et al., 2017. In addition, Timtam allows us to obtain estimates of the outbreak prevalence through time. Our estimates suggest more than a hundred asymptomatic infections for every AFP case, which is consistent with previous estimates (Nathanson et al., 2010). To the best of our knowledge, prevalence estimates for this outbreak have not been reported elsewhere. Our implementation does not yet support the use of *sampled ancestors* (Gavryushkina et al., 2014). Extending the approximation to handle this case seems feasible, however there are substantial engineering challenges involved in implementing this in the BEAST2 platform. As the model and its implementation are useful without this extension we present it as is, and include the expressions required for including sampled ancestors in the Supplementary Information. In summary, the Timtam package is an efficient implementation of our model within the BEAST2 framework, where it can be combined with a multitude of other model components. The model is suitable as a tree prior or demographic model for unstructured outbreaks and provides similar functionality to the model presented in Andréoletti et al., 2022, with the added advantages of being able to incorporate unsequenced cases (observations) as a time series, being able to condition on historical prevalence estimates and being efficient enough to handle large trees. ## Supporting information Supplementary information [[supplements/293620_file02.pdf]](pending:yes) ## Data Availability All data produced are available online as described in the manuscript [https://github.com/aezarebski/timtam-tajikistan](https://github.com/aezarebski/timtam-tajikistan) [https://github.com/azwaans/timtam-diamond-princess](https://github.com/azwaans/timtam-diamond-princess) ## Acknowledgements We thank Dr Timothy Vaughan for patiently answering many questions during the implementation of the Timtam package. We thank Dr David Jorgensen for helpful comments on the analysis of the poliomyelitis data set. AEZ, BG and OGP are supported by The Oxford Martin Programme on Pandemic Genomics. AZ is supported by the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme grant agreement no. 101001077. ## Footnotes * a new analysis has been added * Received August 3, 2023. * Revision received April 18, 2024. * Accepted April 19, 2024. * © 2024, Posted by Cold Spring Harbor Laboratory This pre-print is available under a Creative Commons License (Attribution-NoDerivs 4.0 International), CC BY-ND 4.0, as described at [http://creativecommons.org/licenses/by-nd/4.0/](http://creativecommons.org/licenses/by-nd/4.0/) ## References 1. Andréoletti, Jérémy, Antoine Zwaans, Rachel C M Warnock, Gabriel Aguirre-Fernández, Joëlle Barido-Sottani, Ankit Gupta, Tanja Stadler, and Marc Manceau (May 2022). “The Occurrence Birth-Death Process for combined-evidence analysis in macroevolution and epidemiology”. In: Systematic Biology. doi: 10.1093/sysbio/syac037. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/sysbio/syac037&link_type=DOI) 2. Blake, Isobel M., Rebecca Martin, Ajay Goel, Nino Khetsuriani, Johannes Everts, Christopher Wolff, Steven Wassilak, R. Bruce Aylward, and Nicholas C. Grassly (2014). “The role of older children and adults in wild poliovirus transmission”. In: Proceedings of the National Academy of Sciences 111.29, pp. 10604–10609. doi: 10.1073/pnas.1323688111. [Abstract/FREE Full Text](http://medrxiv.org/lookup/ijlink/YTozOntzOjQ6InBhdGgiO3M6MTQ6Ii9sb29rdXAvaWpsaW5rIjtzOjU6InF1ZXJ5IjthOjQ6e3M6ODoibGlua1R5cGUiO3M6NDoiQUJTVCI7czoxMToiam91cm5hbENvZGUiO3M6NDoicG5hcyI7czo1OiJyZXNpZCI7czoxMjoiMTExLzI5LzEwNjA0IjtzOjQ6ImF0b20iO3M6NTA6Ii9tZWRyeGl2L2Vhcmx5LzIwMjQvMDQvMTkvMjAyMy4wOC4wMy4yMzI5MzYyMC5hdG9tIjt9czo4OiJmcmFnbWVudCI7czowOiIiO30=) 3. Bouckaert, Remco, Timothy G. Vaughan, Joëlle Barido-Sottani, Sebastián Duchêne, Mathieu Fourment, Alexandra Gavryushkina, Joseph Heled, Graham Jones, Denise Kühnert, Nicola De Maio, Michael Matschiner, Fábio K. Mendes, Nicola F. Müller, Huw A. Ogilvie, Louis du Plessis, Alex Popinga, Andrew Rambaut, David Rasmussen, Igor Siveroni, Marc A. Suchard, Chieh-Hsi Wu, Dong Xie, Chi Zhang, Tanja Stadler, and Alexei J. Drummond (Apr. 2019). “BEAST 2.5: An advanced software platform for Bayesian evolutionary analysis”. In: PLOS Computational Biology 15.4, pp. 1–28. doi: 10.1371/journal.pcbi.1006650. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1371/journal.pcbi.1006650&link_type=DOI) 4. Brito, Anderson F., Elizaveta Semenova, Gytis Dudas, et al. (2022). “Global disparities in SARS-CoV-2 genomic surveillance”. In: Nature Communications 13.1, p. 7003. doi: 10.1038/s41467-022-33713-y. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1038/s41467-022-33713-y&link_type=DOI) 5. Centers for Disease Control and Prevention (CDC) (2010). “Outbreaks following wild poliovirus importations — Europe, Africa, and Asia, January 2009-September 2010”. In: Morbidity and Mortality Weekly Report 59.43. 6. Dong, Ensheng, Hongru Du, and Lauren Gardner (2020). “An interactive web-based dashboard to track COVID-19 in real time”. In: The Lancet Infectious Diseases 20.5, pp. 533–534. doi: 10.1016/S1473-3099(20)30120-1. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/S1473-3099(20)30120-1&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=32087114&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F04%2F19%2F2023.08.03.23293620.atom) 7. Felsenstein, Joseph (Nov. 1981). “Evolutionary trees from DNA sequences: A maximum likelihood approach”. en. In: Journal of Molecular Evolution 17.6, pp. 368–376. doi: 10.1007/BF01734359. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1007/BF01734359&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=7288891&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F04%2F19%2F2023.08.03.23293620.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=A1981MG91100007&link_type=ISI) 8. Gavryushkina, Alexandra, David Welch, Tanja Stadler, and Alexei J. Drummond (Dec. 2014). “Bayesian Inference of Sampled Ancestor Trees for Epidemiology and Fossil Calibration”. In: PLOS Computational Biology 10.12, pp. 1–15. doi: 10.1371/journal.pcbi.1003919. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1371/journal.pcbi.1003919&link_type=DOI) 9. Judge, Ciara, Timothy Vaughan, Timothy Russell, Sam Abbott, Louis du Plessis, Tanja Stadler, Oliver Brady, and Sarah Hill (2023). “EpiFusion: Joint inference of the effective reproduction number by integrating phylodynamic and epidemiological modelling with particle filtering”. In: bioRxiv. doi: 10.1101/2023.12.18.572106. [Abstract/FREE Full Text](http://medrxiv.org/lookup/ijlink/YTozOntzOjQ6InBhdGgiO3M6MTQ6Ii9sb29rdXAvaWpsaW5rIjtzOjU6InF1ZXJ5IjthOjQ6e3M6ODoibGlua1R5cGUiO3M6NDoiQUJTVCI7czoxMToiam91cm5hbENvZGUiO3M6NzoiYmlvcnhpdiI7czo1OiJyZXNpZCI7czoxOToiMjAyMy4xMi4xOC41NzIxMDZ2MSI7czo0OiJhdG9tIjtzOjUwOiIvbWVkcnhpdi9lYXJseS8yMDI0LzA0LzE5LzIwMjMuMDguMDMuMjMyOTM2MjAuYXRvbSI7fXM6ODoiZnJhZ21lbnQiO3M6MDoiIjt9) 10. Kendall, David G. (1948). “On the Generalized “Birth- and-Death” Process”. In: The Annals of Mathematical Statistics 19.1, pp. 1–15. doi: 10.1214/aoms/1177730285. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1214/aoms/1177730285&link_type=DOI) 11. Kruschke, John (2014). Doing Bayesian Data Analysis: A Tutorial with R, JAGS, and Stan. 2nd ed. Elsevier Science & Technology. 12. Kühnert, Denise, Tanja Stadler, Timothy G. Vaughan, and Alexei J. Drummond (2014). “Simultaneous reconstruction of evolutionary history and epidemiological dynamics from viral sequences with the birth-death SIR model”. In: Journal of The Royal Society Interface 11.94, p. 20131106. doi: 10.1098/rsif.2013.1106. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1098/rsif.2013.1106&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=24573331&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F04%2F19%2F2023.08.03.23293620.atom) 13. Li, Lucy M., Nicholas C. Grassly, and Christophe Fraser (July 2017). “Quantifying Transmission Heterogeneity Using Both Pathogen Phylogenies and Incidence Time Series”. In: Molecular Biology and Evolution 34.11, pp. 2982–2995. doi: 10.1093/molbev/msx195. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/molbev/msx195&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=28981709&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F04%2F19%2F2023.08.03.23293620.atom) 14. Manceau, Marc, Ankit Gupta, Timothy Vaughan, and Tanja Stadler (2020). “The probability distribution of the ancestral population size conditioned on the reconstructed phylogenetic tree with occurrence data”. In: Journal of Theoretical Biology, p. 110400. doi: 10.1016/j.jtbi.2020.110400. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.jtbi.2020.110400&link_type=DOI) 15. Nathanson, Neal and Olen M. Kew (Oct. 2010). “From Emergence to Eradication: The Epidemiology of Poliomyelitis Deconstructed”. In: American Journal of Epidemiology 172.11, pp. 1213–1229. doi: 10.1093/aje/kwq320. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/aje/kwq320&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=20978089&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F04%2F19%2F2023.08.03.23293620.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000284634900001&link_type=ISI) 16. Nee, Sean, Robert Mccredie May, and Paul H. Harvey (1994). “The reconstructed evolutionary process”. In: Philosophical Transactions of the Royal Society of London. Series B: Biological Sciences 344.1309, pp. 305–311. doi: 10.1098/rstb.1994.0068. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1098/rstb.1994.0068&link_type=DOI) 17. Parag, Kris V, Louis du Plessis, and Oliver G Pybus (Jan. 2020). “Jointly Inferring the Dynamics of Population Size and Sampling Intensity from Molecular Sequences”. In: Molecular Biology and Evolution 37.8, pp. 2414–2429. doi: 10.1093/molbev/msaa016. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/molbev/msaa016&link_type=DOI) 18. Pybus, Oliver G, Andrew Rambaut, and Paul H Harvey (July 2000). “An Integrated Framework for the Inference of Viral Population History From Reconstructed Genealogies”. In: Genetics 155.3, pp. 1429–1437. doi: 10.1093/genetics/155.3.1429. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/genetics/155.3.1429&link_type=DOI) 19. Rasmussen, David A., Oliver Ratmann, and Katia Koelle (Aug. 2011). “Inference for Nonlinear Epidemiological Models Using Genealogies and Time Series”. In: PLOS Computational Biology 7.8, pp. 1–11. doi: 10.1371/journal.pcbi.1002136. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1371/journal.pcbi.1002136&link_type=DOI) 20. Rohatgi, Ankit (2021). WebPlotDigitizer: Version 4.5. url: [https://automeris.io/WebPlotDigitizer](https://automeris.io/WebPlotDigitizer). 21. Sekizuka, Tsuyoshi, Kentaro Itokawa, Tsutomu Kageyama, Shinji Saito, Ikuyo Takayama, Hideki Asanuma, Naganori Nao, Rina Tanaka, Masanori Hashino, Takuri Takahashi, Hajime Kamiya, Takuya Yamagishi, Kensaku Kakimoto, Motoi Suzuki, Hideki Hasegawa, Takaji Wakita, and Makoto Kuroda (2020). “Haplotype networks of SARS-CoV-2 infections in the Diamond Princess cruise ship outbreak”. In: Proceedings of the National Academy of Sciences 117.33, pp. 20198– 20201. doi: 10.1073/pnas.2006824117. [Abstract/FREE Full Text](http://medrxiv.org/lookup/ijlink/YTozOntzOjQ6InBhdGgiO3M6MTQ6Ii9sb29rdXAvaWpsaW5rIjtzOjU6InF1ZXJ5IjthOjQ6e3M6ODoibGlua1R5cGUiO3M6NDoiQUJTVCI7czoxMToiam91cm5hbENvZGUiO3M6NDoicG5hcyI7czo1OiJyZXNpZCI7czoxMjoiMTE3LzMzLzIwMTk4IjtzOjQ6ImF0b20iO3M6NTA6Ii9tZWRyeGl2L2Vhcmx5LzIwMjQvMDQvMTkvMjAyMy4wOC4wMy4yMzI5MzYyMC5hdG9tIjt9czo4OiJmcmFnbWVudCI7czowOiIiO30=) 22. Stadler, Tanja (2010). “Sampling-through-time in birth-death trees”. In: Journal of Theoretical Biology 267.3, pp. 396–404. doi: 10.1016/j.jtbi.2010.09.010. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.jtbi.2010.09.010&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=20851708&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F04%2F19%2F2023.08.03.23293620.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000283825200015&link_type=ISI) 23. Stadler, Tanja, Roger Kouyos, Viktor von Wyl, Sabine Yerly, Jürg Böni, Philippe Bürgisser, Thomas Klimkait, Beda Joos, Philip Rieder, Dong Xie, Huldrych F. Günthard, Alexei J. Drummond, and Sebastian Bonhoeffer (2012). “Estimating the Basic Reproductive Number from Viral Sequence Data”. In: Molecular Biology and Evolution 29.1, pp. 347– 357. doi: 10.1093/molbev/msr217. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/molbev/msr217&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=21890480&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F04%2F19%2F2023.08.03.23293620.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000298383900039&link_type=ISI) 24. Stadler, Tanja, Denise Kühnert, Sebastian Bonhoeffer, and Alexei J. Drummond (2013). “Birth-death skyline plot reveals temporal changes of epidemic spread in HIV and hepatitis C virus (HCV)”. In: Proceedings of the National Academy of Sciences 110.1, pp. 228–233. doi: 10.1073/pnas.1207965110. [Abstract/FREE Full Text](http://medrxiv.org/lookup/ijlink/YTozOntzOjQ6InBhdGgiO3M6MTQ6Ii9sb29rdXAvaWpsaW5rIjtzOjU6InF1ZXJ5IjthOjQ6e3M6ODoibGlua1R5cGUiO3M6NDoiQUJTVCI7czoxMToiam91cm5hbENvZGUiO3M6NDoicG5hcyI7czo1OiJyZXNpZCI7czo5OiIxMTAvMS8yMjgiO3M6NDoiYXRvbSI7czo1MDoiL21lZHJ4aXYvZWFybHkvMjAyNC8wNC8xOS8yMDIzLjA4LjAzLjIzMjkzNjIwLmF0b20iO31zOjg6ImZyYWdtZW50IjtzOjA6IiI7fQ==) 25. Vaughan, Timothy G (Jan. 2024). “ReMASTER: Improved phylodynamic simulation for BEAST 2.7”. In: Bioinformatics, btae015. doi: 10.1093/bioinformatics/btae015. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/bioinformatics/btae015&link_type=DOI) 26. Vaughan, Timothy G, Gabriel E Leventhal, David A Rasmussen, Alexei J Drummond, David Welch, and Tanja Stadler (May 2019). “Estimating Epidemic Incidence and Prevalence from Genomic Data”. In: Molecular Biology and Evolution 36.8, pp. 1804– 1816. doi: 10.1093/molbev/msz106. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/molbev/msz106&link_type=DOI) 27. Vaughan, Timothy G., Jérémie Scire, Sarah A. Nadeau, and Tanja Stadler (Jan. 2024). “Estimates of early outbreak-specific SARS-CoV-2 epidemiological parameters from genomic data”. In: Proceedings of the National Academy of Sciences 121.2. Publisher: Proceedings of the National Academy of Sciences, e2308125121. doi: 10.1073/pnas.2308125121. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1073/pnas.2308125121&link_type=DOI) 28. Volz, Erik M. (2012). “Complex Population Dynamics and the Coalescent Under Neutrality”. In: Genetics 190.1, pp. 187–201. doi: 10.1534/genetics.111.134627. [Abstract/FREE Full Text](http://medrxiv.org/lookup/ijlink/YTozOntzOjQ6InBhdGgiO3M6MTQ6Ii9sb29rdXAvaWpsaW5rIjtzOjU6InF1ZXJ5IjthOjQ6e3M6ODoibGlua1R5cGUiO3M6NDoiQUJTVCI7czoxMToiam91cm5hbENvZGUiO3M6ODoiZ2VuZXRpY3MiO3M6NToicmVzaWQiO3M6OToiMTkwLzEvMTg3IjtzOjQ6ImF0b20iO3M6NTA6Ii9tZWRyeGl2L2Vhcmx5LzIwMjQvMDQvMTkvMjAyMy4wOC4wMy4yMzI5MzYyMC5hdG9tIjt9czo4OiJmcmFnbWVudCI7czowOiIiO30=) 29. Volz, Erik M., Katia Koelle, and Trevor Bedford (Mar. 2013). “Viral Phylodynamics”. In: PLOS Computational Biology 9.3, pp. 1–12. doi: 10.1371/journal.pcbi.1002947. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1371/journal.pcbi.1003143&link_type=DOI) 30. Yakovenko, M L, A P Gmyl, O E Ivanova, T P Eremeeva, A P Ivanov, M A Prostova, O Y Baykova, O V Isaeva, G Y Lipskaya, A K Shakaryan, O M Kew, J M Deshpande, and V I Agol (2014). “The 2010 outbreak of poliomyelitis in Tajikistan: epidemiology and lessons learnt”. In: Eurosurveillance 19.7. doi: 10.2807/1560-7917.ES2014.19.7.20706. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.2807/1560-7917.ES2014.19.7.20706&link_type=DOI) 31. Zarebski, Alexander Eugene, Louis du Plessis, Kris Varun Parag, and Oliver George Pybus (Feb. 2022). “A computationally tractable birth-death model that combines phylogenetic and epidemiological data”. In: PLOS Computational Biology 18.2, pp. 1–22. doi: 10.1371/journal.pcbi.1009805. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1371/journal.pcbi.1009805&link_type=DOI) [1]: /embed/inline-graphic-1.gif [2]: /embed/inline-graphic-2.gif [3]: /embed/graphic-2.gif [4]: /embed/inline-graphic-3.gif [5]: /embed/inline-graphic-4.gif [6]: /embed/inline-graphic-5.gif [7]: /embed/graphic-3.gif [8]: /embed/graphic-4.gif [9]: /embed/graphic-5.gif [10]: /embed/inline-graphic-6.gif [11]: /embed/graphic-6.gif [12]: /embed/inline-graphic-7.gif [13]: /embed/inline-graphic-8.gif [14]: /embed/inline-graphic-9.gif [15]: /embed/inline-graphic-10.gif [16]: /embed/inline-graphic-11.gif [17]: /embed/inline-graphic-12.gif [18]: /embed/inline-graphic-13.gif [19]: /embed/inline-graphic-14.gif [20]: /embed/inline-graphic-15.gif [21]: /embed/inline-graphic-16.gif [22]: /embed/inline-graphic-17.gif [23]: /embed/inline-graphic-18.gif [24]: /embed/inline-graphic-19.gif [25]: /embed/inline-graphic-20.gif [26]: /embed/inline-graphic-21.gif [27]: /embed/inline-graphic-22.gif [28]: /embed/inline-graphic-23.gif [29]: /embed/inline-graphic-24.gif [30]: /embed/inline-graphic-25.gif [31]: /embed/inline-graphic-26.gif [32]: /embed/inline-graphic-27.gif [33]: /embed/inline-graphic-28.gif [34]: /embed/inline-graphic-29.gif [35]: /embed/inline-graphic-30.gif [36]: /embed/inline-graphic-31.gif [37]: /embed/inline-graphic-32.gif [38]: /embed/inline-graphic-33.gif [39]: /embed/inline-graphic-34.gif [40]: /embed/inline-graphic-35.gif