primarycensored: Primary Event Censored Distributions (original) (raw)
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.
Version: | 1.0.0 |
---|---|
Depends: | R (≥ 4.0.0) |
Imports: | pracma |
Suggests: | bookdown, cmdstanr, dplyr, fitdistrplus, knitr, ggplot2, rmarkdown, spelling, testthat (≥ 3.1.9), usethis, withr |
Published: | 2024-10-28 |
DOI: | 10.32614/CRAN.package.primarycensored |
Author: | Sam Abbott [aut, cre, cph], Sam Brand [aut], Adam Howes [ctb], Sebastian Funk [ctb] |
Maintainer: | Sam Abbott |
BugReports: | https://github.com/epinowcast/primarycensored/issues |
License: | MIT + file |
URL: | https://primarycensored.epinowcast.org,https://github.com/epinowcast/primarycensored/ |
NeedsCompilation: | no |
Additional_repositories: | https://stan-dev.r-universe.dev |
Language: | en-GB |
Citation: | primarycensored citation info |
Materials: | README NEWS |
CRAN checks: | primarycensored results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=primarycensoredto link to this page.