BayesGmed: Bayesian Causal Mediation Analysis using 'Stan'

Performs parametric mediation analysis using the Bayesian g-formula approach for binary and continuous outcomes. The methodology is based on Comment (2018) <doi:10.5281/zenodo.1285275> and a demonstration of its application can be found at Yimer et al. (2022) <doi:10.48550/arXiv.2210.08499>.

Version: 0.0.3
Depends: R (≥ 3.4.0)
Imports: methods, Rcpp (≥ 0.12.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), rstantools (≥ 2.1.1)
LinkingTo: BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥, RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), StanHeaders (≥ 2.18.0)
Suggests: knitr, rmarkdown
Published: 2024-01-31
DOI: 10.32614/CRAN.package.BayesGmed
Author: Belay Birlie Yimer ORCID iD [aut, cre], Mark Lunt [aut], Marcus Beasley [aut], Gary J Macfarlane [aut], John McBeth [aut]
Maintainer: Belay Birlie Yimer <belaybirlie.yimer at>
License: MIT + file LICENSE
NeedsCompilation: yes
SystemRequirements: GNU make
Materials: README NEWS
CRAN checks: BayesGmed results


Reference manual: BayesGmed.pdf
Vignettes: Introduction to BayesGmed


Package source: BayesGmed_0.0.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): BayesGmed_0.0.3.tgz, r-oldrel (arm64): BayesGmed_0.0.3.tgz, r-release (x86_64): BayesGmed_0.0.3.tgz, r-oldrel (x86_64): BayesGmed_0.0.3.tgz
Old sources: BayesGmed archive


Please use the canonical form to link to this page.