primarycensored: Primary Event Censored Distributions

Provides functions for working with primary event censored distributions and 'Stan' implementations for use in Bayesian modeling. Primary event censored distributions are useful for modeling delayed reporting scenarios in epidemiology and other fields (Charniga et al. (2024) <doi:10.48550/arXiv.2405.08841>). It also provides support for arbitrary delay distributions, a range of common primary distributions, and allows for truncation and secondary event censoring to be accounted for (Park et al. (2024) <doi:10.1101/2024.01.12.24301247>). A subset of common distributions also have analytical solutions implemented, allowing for faster computation. In addition, it provides multiple methods for fitting primary event censored distributions to data via optional dependencies.

Package details

AuthorSam Abbott [aut, cre, cph] (<https://orcid.org/0000-0001-8057-8037>), Sam Brand [aut] (<https://orcid.org/0000-0003-0645-5367>), Adam Howes [ctb] (<https://orcid.org/0000-0003-2386-4031>), James Mba Azam [ctb] (<https://orcid.org/0000-0001-5782-7330>), Carl Pearson [aut] (<https://orcid.org/0000-0003-0701-7860>), Sebastian Funk [aut] (<https://orcid.org/0000-0002-2842-3406>), Kelly Charniga [aut] (<https://orcid.org/0000-0002-7648-7041>)
MaintainerSam Abbott <contact@samabbott.co.uk>
LicenseMIT + file LICENSE
Version1.1.0
URL https://primarycensored.epinowcast.org https://github.com/epinowcast/primarycensored
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("primarycensored")

Try the primarycensored package in your browser

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

primarycensored documentation built on April 3, 2025, 6:24 p.m.