BayesianMediationA
Bayesian Mediation Analysis
Description
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.
Downloads
239
Last 30 days
13495th
504
Last 90 days
504
Last year
Trend: -9.8% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | NOTE |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| r-devel-macos-arm64 | NOTE |
| r-devel-windows-x86_64 | NOTE |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | NOTE |
| r-release-linux-x86_64 | NOTE |
| r-release-macos-arm64 | NOTE |
| r-release-macos-x86_64 | NOTE |
| r-release-windows-x86_64 | NOTE |
Check details (14 non-OK)
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Check History
NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^
Rd files
checkRd: (-1) bma.bx.cy.Rd:69: Lost braces
69 | the initial values for parameters in models. For example, inits<-function(){list(alpha=0,beta=0,c=0,var1=0.5,r=1,lamda=0.01)}.
| ^