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.zip(r-4.5)primarycensored_1.0.0.zip(r-4.4)primarycensored_1.0.0.zip(r-4.3)
primarycensored_1.0.0.tgz(r-4.4-any)primarycensored_1.0.0.tgz(r-4.3-any)
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://epinowcast.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

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

Pkgdown:https://primarycensored.epinowcast.org

On CRAN:

censoringdistributionsmc-stantruncation

6.51 score 8 stars 8 scripts 474 downloads 21 exports 1 dependencies

Last updated 2 months agofrom:e723b2bd66 (on v1.0.0). Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 27 2024
R-4.5-winERRORNov 27 2024
R-4.5-linuxERRORNov 27 2024
R-4.4-winERRORNov 27 2024
R-4.4-macERRORNov 27 2024
R-4.3-winERRORNov 27 2024
R-4.3-macERRORNov 27 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 Nov 27 2024.

Last update: 2024-10-09
Started: 2024-09-24

Getting Started with primarycensored

Rendered fromprimarycensored.Rmdusingknitr::rmarkdownon Nov 27 2024.

Last update: 2024-10-09
Started: 2024-10-09

Why it works

Rendered fromwhy-it-works.Rmdusingknitr::rmarkdownon Nov 27 2024.

Last update: 2024-10-09
Started: 2024-09-18