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 <contact at samabbott.co.uk> |
BugReports: | https://github.com/epinowcast/primarycensored/issues |
License: | MIT + file LICENSE |
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 |
Reference manual: | primarycensored.pdf |
Vignettes: |
Analytic solutions (source) Getting Started with primarycensored (source, R code) Why it works (source) |
Package source: | primarycensored_1.0.0.tar.gz |
Windows binaries: | r-devel: primarycensored_1.0.0.zip, r-release: not available, r-oldrel: primarycensored_1.0.0.zip |
macOS binaries: | r-release (arm64): primarycensored_1.0.0.tgz, r-oldrel (arm64): primarycensored_1.0.0.tgz, r-release (x86_64): primarycensored_1.0.0.tgz, r-oldrel (x86_64): primarycensored_1.0.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=primarycensored to link to this page.