The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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.

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 ORCID iD [aut, cre, cph], Sam Brand ORCID iD [aut], Adam Howes ORCID iD [ctb], Sebastian Funk ORCID iD [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

Documentation:

Reference manual: primarycensored.pdf
Vignettes: Analytic solutions (source)
Getting Started with primarycensored (source, R code)
Why it works (source)

Downloads:

Package source: primarycensored_1.0.0.tar.gz
Windows binaries: r-devel: primarycensored_1.0.0.zip, r-release: primarycensored_1.0.0.zip, 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

Linking:

Please use the canonical form https://CRAN.R-project.org/package=primarycensored to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.