Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
1.0.1 2026-04-09 windows/windows R-4.5 BayesianMediationA_1.0.1.zip 217.0 KiB

Dependencies (latest)

Depends

Imports

Suggests