Skip to content

BiDAG

Bayesian Inference for Directed Acyclic Graphs

v2.1.4 · May 16, 2023 · GPL (>= 2)

Description

Implementation of a collection of MCMC methods for Bayesian structure learning of directed acyclic graphs (DAGs), both from continuous and discrete data. For efficient inference on larger DAGs, the space of DAGs is pruned according to the data. To filter the search space, the algorithm employs a hybrid approach, combining constraint-based learning with search and score. A reduced search space is initially defined on the basis of a skeleton obtained by means of the PC-algorithm, and then iteratively improved with search and score. Search and score is then performed following two approaches: Order MCMC, or Partition MCMC. The BGe score is implemented for continuous data and the BDe score is implemented for binary data or categorical data. The algorithms may provide the maximum a posteriori (MAP) graph or a sample (a collection of DAGs) from the posterior distribution given the data. All algorithms are also applicable for structure learning and sampling for dynamic Bayesian networks. References: J. Kuipers, P. Suter, G. Moffa (2022) <doi:10.1080/10618600.2021.2020127>, N. Friedman and D. Koller (2003) <doi:10.1023/A:1020249912095>, J. Kuipers and G. Moffa (2017) <doi:10.1080/01621459.2015.1133426>, M. Kalisch et al. (2012) <doi:10.18637/jss.v047.i11>, D. Geiger and D. Heckerman (2002) <doi:10.1214/aos/1035844981>, P. Suter, J. Kuipers, G. Moffa, N.Beerenwinkel (2023) <doi:10.18637/jss.v105.i09>.

Downloads

436

Last 30 days

8702nd

1.4K

Last 90 days

6.4K

Last year

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

CRAN Check Status

4 NOTE
10 OK
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 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 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 OK
Check details (4 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Polina Suter <polina.suter@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Polina",
                      family = "Suter",
                      role = c("aut", "cre"),
                      email = "polina.suter@gmail.com"),
               person(given = "Jack",
                      family = "Kuipers",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Polina Suter <polina.suter@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Polina",
                      family = "Suter",
                      role = c("aut", "cre"),
                      email = "polina.suter@gmail.com"),
               person(given = "Jack",
                      family = "Kuipers",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

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

dependencies in R code

Namespace in Imports field not imported from: ‘RBGL’
  All declared Imports should be used.

Check History

NOTE 10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Polina Suter <polina.suter@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Polina",
                      family = "Suter",
                      role = c("aut", "cre"),
                      email = "polina.suter@gmail.com"),
               person(given = "Jack",
                      family = "Kuipers",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Polina Suter <polina.suter@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Polina",
                      family = "Suter",
                      role = c("aut", "cre"),
                      email = "polina.suter@gmail.com"),
               person(given = "Jack",
                      family = "Kuipers",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

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

dependencies in R code

Namespace in Imports field not imported from: ‘RBGL’
  All declared Imports should be used.

Reverse Dependencies (2)

imports

Dependency Network

Dependencies Reverse dependencies Rcpp graph Rgraphviz RBGL pcalg Matrix coda Bestie clustNet BiDAG

Version History

new 2.1.4 Mar 10, 2026
updated 2.1.4 ← 2.1.3 diff May 15, 2023
updated 2.1.3 ← 2.1.2 diff Jan 22, 2023
updated 2.1.2 ← 2.1.1 diff Dec 20, 2022
updated 2.1.1 ← 2.1.0 diff Aug 4, 2022
updated 2.1.0 ← 2.0.9 diff Jun 26, 2022
updated 2.0.9 ← 2.0.7 diff Jun 19, 2022
updated 2.0.7 ← 2.0.6 diff May 15, 2022
updated 2.0.6 ← 2.0.5 diff May 8, 2022
updated 2.0.5 ← 2.0.4 diff Apr 12, 2022
updated 2.0.4 ← 2.0.3 diff Nov 29, 2021
updated 2.0.3 ← 2.0.2 diff Jul 27, 2021
updated 2.0.2 ← 2.0.1 diff Apr 29, 2021
updated 2.0.1 ← 2.0.0 diff Apr 27, 2021
updated 2.0.0 ← 1.4.1 diff Feb 14, 2021
updated 1.4.1 ← 1.3.4 diff Jul 13, 2020
updated 1.3.4 ← 1.3.0 diff Apr 11, 2020
updated 1.3.0 ← 1.2.0 diff Feb 18, 2020
updated 1.2.0 ← 1.1.2 diff Aug 18, 2019
updated 1.1.2 ← 1.1.1 diff May 23, 2018