BayesianMediationA: Bayesian Mediation Analysis

We perform general mediation analysis in the Bayesian setting using the methods described in Yu and Li (2022, ISBN:9780367365479). With the package, the mediation analysis can be performed on different types of outcomes (e.g., continuous, binary, categorical, or time-to-event), with default or user-defined priors and predictive models. The Bayesian estimates and credible sets of mediation effects are reported as analytic results.

Package details

AuthorQingzhao Yu [aut, cre, cph], Bin Li [aut]
MaintainerQingzhao Yu <qyu@lsuhsc.edu>
LicenseGPL (>= 2)
Version1.0.1
URL https://cran.r-project.org/package=BayesianMediationA https://publichealth.lsuhsc.edu/Faculty_pages/qyu/index.html
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("BayesianMediationA")

Try the BayesianMediationA package in your browser

Any scripts or data that you put into this service are public.

BayesianMediationA documentation built on Sept. 25, 2022, 1:05 a.m.