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 |
|
---|---|
Author | Sam 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>) |
Maintainer | Sam Abbott <contact@samabbott.co.uk> |
License | MIT + file LICENSE |
Version | 1.1.0 |
URL | https://primarycensored.epinowcast.org https://github.com/epinowcast/primarycensored |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.