TY - JOUR AU - Suter, Polina AU - Kuipers, Jack AU - Moffa, Giusi AU - Beerenwinkel, Niko PY - 2023/01/28 Y2 - 2024/03/28 TI - Bayesian Structure Learning and Sampling of Bayesian Networks with the R Package BiDAG JF - Journal of Statistical Software JA - J. Stat. Soft. VL - 105 IS - 9 SE - Articles DO - 10.18637/jss.v105.i09 UR - https://www.jstatsoft.org/index.php/jss/article/view/v105i09 SP - 1 - 31 AB - <p>The R package BiDAG implements Markov chain Monte Carlo (MCMC) methods for structure learning and sampling of Bayesian networks. The package includes tools to search for a maximum a posteriori (MAP) graph and to sample graphs from the posterior distribution given the data. A new hybrid approach to structure learning enables inference in large graphs. In the first step, we define a reduced search space by means of the PC algorithm or based on prior knowledge. In the second step, an iterative order MCMC scheme proceeds to optimize the restricted search space and estimate the MAP graph. Sampling from the posterior distribution is implemented using either order or partition MCMC. The models and algorithms can handle both discrete and continuous data. The BiDAG package also provides an implementation of MCMC schemes for structure learning and sampling of dynamic Bayesian networks.</p> ER -