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

On CRAN:

censoringdistributionsmc-stantruncation

5.45 score 7 stars 7 scripts 21 exports 1 dependencies

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

TargetResultDate
Doc / VignettesOKOct 28 2024
R-4.5-winERROROct 28 2024
R-4.5-linuxERROROct 28 2024
R-4.4-winERROROct 28 2024
R-4.4-macERROROct 28 2024
R-4.3-winERROROct 28 2024
R-4.3-macERROROct 28 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 28 2024.

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

Getting Started with primarycensored

Rendered fromprimarycensored.Rmdusingknitr::rmarkdownon Oct 28 2024.

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

Why it works

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

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