Bayesian Inference for Causal Networks

An approximate Bayesian method for inferring Directed Acyclic Graphs (DAGs) for continuous, discrete, and mixed data. The algorithm can use the graph inferred by another more efficient graph inference method as input; the input graph may contain false edges or undirected edges but can help reduce the search space to a more manageable size. A Metropolis-Hastings-like sampling algorithm is then used to infer the posterior probabilities of edge direction and edge absence. References: Martin, Patchigolla and Fu (2026) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("baycn")

2.0.0 by Audrey Fu, 7 months ago


Browse source code at https://github.com/cran/baycn


Authors: Evan A Martin [aut] , Venkata Patchigolla [ctb] , Audrey Fu [aut, cre]


Documentation:   PDF Manual  


GPL-3 | file LICENSE license


Imports egg, ggplot2, igraph, MASS, methods, expm

Suggests testthat


See at CRAN