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:
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')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:d429b5547f. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 195 | ||
| source / vignettes | OK | 206 | ||
| linux-release-x86_64 | OK | 164 | ||
| macos-release-arm64 | OK | 170 | ||
| macos-oldrel-arm64 | OK | 185 | ||
| windows-devel | OK | 151 | ||
| windows-release | OK | 160 | ||
| windows-oldrel | OK | 136 | ||
| wasm-release | OK | 129 |
Exports:causal_estimand_inferencecausal_inference_modeldata_generation
Dependencies:BHcaretclasscliclockcodetoolscpp11crayondata.tablediagramdigestdplyre1071farverforeachfuturefuture.applygenericsggplot2GIGrvgglmnetglobalsgluegowergtablehardhathmsipredisobanditeratorsKernSmoothlabelinglatticelavalifecyclelistenvlubridatemagrittrMASSMatrixModelMetricsnlmennetnumDerivparallellypbmcapplypillarpkgconfigplyrprettyunitspROCprodlimprogressprogressrproxypurrrR6RColorBrewerRcppRcppArmadilloRcppEigenrecipesreshape2rlangrpartS7scalesshapeSoftBartsparsevctrsSQUAREMstochtreestringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetruncnormtzdbutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| The 'BayesPocket' package. | BayesPocket-package BayesPocket |
| Iterate Causal Estimand Calculations Over a Grid | causal_estimand_inference |
| Bayesian Mixed Treatment-State Causal Model (MTSCM) | causal_inference_model |
| Data Generation Program | data_generation |
