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 <>
LicenseGPL (>= 2)
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

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.