rtestim: Estimate the Effective Reproductive Number with Trend Filtering

Use trend filtering, a type of regularized nonparametric regression, to estimate the instantaneous reproduction number, also called Rt. This value roughly says how many new infections will result from each new infection today. Values larger than 1 indicate that an epidemic is growing while those less than 1 indicate decline. For more details about this methodology, see Liu, Cai, Gustafson, and McDonald (2024) <doi:10.1371/journal.pcbi.1012324>.

Package details

AuthorDaniel J. McDonald [aut, cre, cph], Jiaping Liu [aut], Zhenglun Cai [ctb]
MaintainerDaniel J. McDonald <daniel@stat.ubc.ca>
LicenseMIT + file LICENSE
Version1.0.0
URL https://github.com/dajmcdon/rtestim https://dajmcdon.github.io/rtestim/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("rtestim")

Try the rtestim package in your browser

Any scripts or data that you put into this service are public.

rtestim documentation built on Aug. 8, 2025, 6:21 p.m.