Skip to content

BayesGmed

Bayesian Causal Mediation Analysis using 'Stan'

v0.0.3 · Jan 31, 2024 · MIT + file LICENSE

Description

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>.

Downloads

173

Last 30 days

19357th

386

Last 90 days

386

Last year

Trend: -18.8% (30d vs prior 30d)

CRAN Check Status

5 NOTE
9 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (17 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 123.0Mb
  sub-directories of 1Mb or more:
    libs  122.5Mb
NOTE r-oldrel-macos-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 126.4Mb
  sub-directories of 1Mb or more:
    libs  125.9Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  7.2Mb
  sub-directories of 1Mb or more:
    libs   6.8Mb
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 123.0Mb
  sub-directories of 1Mb or more:
    libs  122.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 126.4Mb
  sub-directories of 1Mb or more:
    libs  125.9Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  7.2Mb
  sub-directories of 1Mb or more:
    libs   6.8Mb

Dependency Network

Dependencies Reverse dependencies Rcpp RcppParallel rstan (>= 2.18.1) rstantools BayesGmed

Version History

new 0.0.3 Mar 9, 2026