EpiLPS: A fast and flexible Bayesian tool for estimation of the time-varying reproduction number
- PMID: 36215319
- PMCID: PMC9584461
- DOI: 10.1371/journal.pcbi.1010618
EpiLPS: A fast and flexible Bayesian tool for estimation of the time-varying reproduction number
Abstract
In infectious disease epidemiology, the instantaneous reproduction number [Formula: see text] is a time-varying parameter defined as the average number of secondary infections generated by an infected individual at time t. It is therefore a crucial epidemiological statistic that assists public health decision makers in the management of an epidemic. We present a new Bayesian tool (EpiLPS) for robust estimation of the time-varying reproduction number. The proposed methodology smooths the epidemic curve and allows to obtain (approximate) point estimates and credible intervals of [Formula: see text] by employing the renewal equation, using Bayesian P-splines coupled with Laplace approximations of the conditional posterior of the spline vector. Two alternative approaches for inference are presented: (1) an approach based on a maximum a posteriori argument for the model hyperparameters, delivering estimates of [Formula: see text] in only a few seconds; and (2) an approach based on a Markov chain Monte Carlo (MCMC) scheme with underlying Langevin dynamics for efficient sampling of the posterior target distribution. Case counts per unit of time are assumed to follow a negative binomial distribution to account for potential overdispersion in the data that would not be captured by a classic Poisson model. Furthermore, after smoothing the epidemic curve, a "plug-in'' estimate of the reproduction number can be obtained from the renewal equation yielding a closed form expression of [Formula: see text] as a function of the spline parameters. The approach is extremely fast and free of arbitrary smoothing assumptions. EpiLPS is applied on data of SARS-CoV-1 in Hong-Kong (2003), influenza A H1N1 (2009) in the USA and on the SARS-CoV-2 pandemic (2020-2021) for Belgium, Portugal, Denmark and France.
Conflict of interest statement
The authors have declared that no competing interests exist.
Figures










Similar articles
-
An approximate Bayesian approach for estimation of the instantaneous reproduction number under misreported epidemic data.Biom J. 2023 Aug;65(6):e2200024. doi: 10.1002/bimj.202200024. Epub 2023 Jan 13. Biom J. 2023. PMID: 36639234
-
Estimating Re and overdispersion in secondary cases from the size of identical sequence clusters of SARS-CoV-2.PLoS Comput Biol. 2025 Apr 15;21(4):e1012960. doi: 10.1371/journal.pcbi.1012960. eCollection 2025 Apr. PLoS Comput Biol. 2025. PMID: 40233303 Free PMC article.
-
Laplacian-P-splines for Bayesian inference in the mixture cure model.Stat Med. 2022 Jun 30;41(14):2602-2626. doi: 10.1002/sim.9373. Epub 2022 Mar 14. Stat Med. 2022. PMID: 35699121 Free PMC article.
-
Inferring epidemiological dynamics with Bayesian coalescent inference: the merits of deterministic and stochastic models.Genetics. 2015 Feb;199(2):595-607. doi: 10.1534/genetics.114.172791. Epub 2014 Dec 19. Genetics. 2015. PMID: 25527289 Free PMC article.
-
Commentary on the use of the reproduction number R during the COVID-19 pandemic.Stat Methods Med Res. 2022 Sep;31(9):1675-1685. doi: 10.1177/09622802211037079. Epub 2021 Sep 27. Stat Methods Med Res. 2022. PMID: 34569883 Free PMC article. Review.
Cited by
-
Real-time estimation of the effective reproduction number of COVID-19 from behavioral data.Sci Rep. 2023 Dec 5;13(1):21452. doi: 10.1038/s41598-023-46418-z. Sci Rep. 2023. PMID: 38052841 Free PMC article.
-
Assessing the role of children in the COVID-19 pandemic in Belgium using perturbation analysis.Nat Commun. 2025 Mar 5;16(1):2230. doi: 10.1038/s41467-025-57087-z. Nat Commun. 2025. PMID: 40044649 Free PMC article.
-
Unjustified Poisson assumptions lead to overconfident estimates of the effective reproductive number.medRxiv [Preprint]. 2025 Jul 31:2025.07.31.25332479. doi: 10.1101/2025.07.31.25332479. medRxiv. 2025. PMID: 40766127 Free PMC article. Preprint.
-
Nonparametric serial interval estimation with uniform mixtures.PLoS Comput Biol. 2025 Aug 4;21(8):e1013338. doi: 10.1371/journal.pcbi.1013338. eCollection 2025 Aug. PLoS Comput Biol. 2025. PMID: 40758749 Free PMC article.
-
Advancements in Defining and Estimating the Reproduction Number in Infectious Disease Epidemiology.China CDC Wkly. 2023 Sep 15;5(37):829-834. doi: 10.46234/ccdcw2023.158. China CDC Wkly. 2023. PMID: 37814634 Free PMC article. No abstract available.
References
-
- Cori A. EpiEstim: estimate time varying reproduction numbers from epidemic curves (CRAN); 2021. Available from: https://cran.r-project.org/web/packages/EpiEstim/index.html.
Publication types
MeSH terms
LinkOut - more resources
Full Text Sources
Medical
Miscellaneous