mcmcabn: Flexible Implementation of a Structural MCMC Sampler for DAGs

Flexible implementation of a structural MCMC sampler for Directed Acyclic Graphs (DAGs). It supports the new edge reversal move from Grzegorczyk and Husmeier (2008) <doi:10.1007/s10994-008-5057-7> and the Markov blanket resampling from Su and Borsuk (2016) <>. It supports three priors: a prior controlling for structure complexity from Koivisto and Sood (2004) <>, an uninformative prior and a user-defined prior. The three main problems that can be addressed by this R package are selecting the most probable structure based on a cache of pre-computed scores, controlling for overfitting, and sampling the landscape of high scoring structures. It allows us to quantify the marginal impact of relationships of interest by marginalizing out over structures or nuisance dependencies. Structural MCMC seems an elegant and natural way to estimate the true marginal impact, so one can determine if it's magnitude is big enough to consider as a worthwhile intervention.

Version: 0.6
Depends: R (≥ 3.5.0)
Imports: abn (≥ 3.0.0), coda, gRbase, ggplot2, cowplot, ggpubr
Suggests: bnlearn, knitr, rmarkdown, ggdag, testthat
Published: 2023-09-28
Author: Gilles Kratzer ORCID iD [aut], Reinhard Furrer ORCID iD [ctb], Annina Cincera [cre]
Maintainer: Annina Cincera <annina.cincera at>
License: GPL-3
NeedsCompilation: no
Citation: mcmcabn citation info
CRAN checks: mcmcabn results


Reference manual: mcmcabn.pdf
Vignettes: mcmcabn


Package source: mcmcabn_0.6.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): mcmcabn_0.6.tgz, r-oldrel (arm64): mcmcabn_0.6.tgz, r-release (x86_64): mcmcabn_0.6.tgz, r-oldrel (x86_64): mcmcabn_0.6.tgz
Old sources: mcmcabn archive


Please use the canonical form to link to this page.