Package: primarycensored 1.0.0

Sam Abbott

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.

Authors:Sam Abbott [aut, cre, cph], Sam Brand [aut], Adam Howes [ctb], Sebastian Funk [ctb]

primarycensored_1.0.0.tar.gz
primarycensored_1.0.0.tar.gz(r-4.5-noble)primarycensored_1.0.0.tar.gz(r-4.4-noble)
primarycensored_1.0.0.tgz(r-4.4-emscripten)primarycensored_1.0.0.tgz(r-4.3-emscripten)
primarycensored.pdf |primarycensored.html
primarycensored/json (API)
NEWS

# Install 'primarycensored' in R:
install.packages('primarycensored', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/epinowcast/primarycensored/issues

3.18 score 7 scripts 21 exports 1 dependencies

Last updated 2 days agofrom:50f6ce3a82. Checks:OK: 1 ERROR: 1. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-linuxERROROct 29 2024

Exports:check_dprimarycheck_pdistcheck_truncationdexpgrowthdpcensdprimarycensoredfitdistdoublecensnew_pcenspcd_as_stan_datapcd_cmdstan_modelpcd_load_stan_functionspcd_stan_filespcd_stan_functionspcd_stan_pathpcens_cdfpexpgrowthppcenspprimarycensoredrexpgrowthrpcensrprimarycensored

Dependencies:pracma

Analytic solutions for censored delay distributions

Rendered fromanalytic-solutions.Rmdusingknitr::rmarkdownon Oct 29 2024.

Last update: 2024-10-28
Started: 2024-10-28

Getting Started with primarycensored

Rendered fromprimarycensored.Rmdusingknitr::rmarkdownon Oct 29 2024.

Last update: 2024-10-28
Started: 2024-10-28

Why it works

Rendered fromwhy-it-works.Rmdusingknitr::rmarkdownon Oct 29 2024.

Last update: 2024-10-28
Started: 2024-10-28