Package: BayesPocket 0.1.0

BayesPocket: Bayesian Causal Inference for Periodontal Diseases in Longitudinal Studies

Implements the Mixed Treatment-State Causal Model (MTSCM), a Bayesian framework for estimating causal effects of clinical interventions on bounded continuous outcomes in longitudinal observational studies with irregular visits. The methodology is specifically designed for periodontal disease research, where discrete treatments and continuous disease states (e.g., proportion of periodontal pockets exceeding 3 mm) reciprocally influence one another under dynamic feedback. The package integrates a double-censored Tobit likelihood to handle boundary mass at zero and one, subject-specific random effects to capture within-subject correlation, and flexible tree-based ensemble priors (standard BART and Soft BART) to model complex nonlinear interactions without parametric restrictions. Causal identification is established under the potential outcomes framework via the G-computation formula, with key estimands including the Mixed Average Potential Outcome (MAPO) and the Mixed Probability of Disease Resolution (MPDR). The package provides functions for model fitting, posterior inference, and causal estimand estimation.

Authors:Qingyang Liu [aut, cre], Debdeep Pati [aut], Yang Ni [aut], Dipankar Bandyopadhyay [aut]

BayesPocket_0.1.0.tar.gz
BayesPocket_0.1.0.zip(r-4.7)BayesPocket_0.1.0.zip(r-4.6)BayesPocket_0.1.0.zip(r-4.5)
BayesPocket_0.1.0.tgz(r-4.6-any)BayesPocket_0.1.0.tgz(r-4.5-any)
BayesPocket_0.1.0.tar.gz(r-4.7-any)BayesPocket_0.1.0.tar.gz(r-4.6-any)
BayesPocket_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
BayesPocket/json (API)

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

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 3 exports 86 dependencies

Last updated from:d429b5547f. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK195
source / vignettesOK206
linux-release-x86_64OK164
macos-release-arm64OK170
macos-oldrel-arm64OK185
windows-develOK151
windows-releaseOK160
windows-oldrelOK136
wasm-releaseOK129

Exports:causal_estimand_inferencecausal_inference_modeldata_generation

Dependencies:BHcaretclasscliclockcodetoolscpp11crayondata.tablediagramdigestdplyre1071farverforeachfuturefuture.applygenericsggplot2GIGrvgglmnetglobalsgluegowergtablehardhathmsipredisobanditeratorsKernSmoothlabelinglatticelavalifecyclelistenvlubridatemagrittrMASSMatrixModelMetricsnlmennetnumDerivparallellypbmcapplypillarpkgconfigplyrprettyunitspROCprodlimprogressprogressrproxypurrrR6RColorBrewerRcppRcppArmadilloRcppEigenrecipesreshape2rlangrpartS7scalesshapeSoftBartsparsevctrsSQUAREMstochtreestringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetruncnormtzdbutf8vctrsviridisLitewithr