Other packages > Find by keyword >

BiDAG  

Bayesian Inference for Directed Acyclic Graphs
View on CRAN: Click here


Download and install BiDAG package within the R console
Install from CRAN:
install.packages("BiDAG")

Install from Github:
library("remotes")
install_github("cran/BiDAG")

Install by package version:
library("remotes")
install_version("BiDAG", "2.1.4")



Attach the package and use:
library("BiDAG")
Maintained by
Polina Suter
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2017-07-19
Latest Update: 2023-05-16
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) , N. Friedman and D. Koller (2003) , J. Kuipers and G. Moffa (2017) , M. Kalisch et al. (2012) , D. Geiger and D. Heckerman (2002) , P. Suter, J. Kuipers, G. Moffa, N.Beerenwinkel (2023) .
How to cite:
Polina Suter (2017). BiDAG: Bayesian Inference for Directed Acyclic Graphs. R package version 2.1.4, https://cran.r-project.org/web/packages/BiDAG. Accessed 06 Mar. 2026.
Previous versions and publish date:
1.0.0 (2017-07-19 23:44), 1.0.1 (2017-07-26 17:35), 1.0.2 (2017-09-08 16:07), 1.1.1 (2018-03-16 11:48), 1.1.2 (2018-05-24 13:16), 1.2.0 (2019-08-19 10:00), 1.3.0 (2020-02-19 14:40), 1.3.4 (2020-04-12 11:50), 1.4.1 (2020-07-14 13:40), 2.0.0 (2021-02-15 16:20), 2.0.1 (2021-04-28 07:30), 2.0.2 (2021-04-30 06:10), 2.0.3 (2021-07-28 07:00), 2.0.4 (2021-11-30 09:00), 2.0.5 (2022-04-13 09:42), 2.0.6 (2022-05-09 09:30), 2.0.7 (2022-05-16 12:20), 2.0.9 (2022-06-20 12:20), 2.1.0 (2022-06-27 10:40), 2.1.1 (2022-08-05 13:50), 2.1.2 (2022-12-21 09:40), 2.1.3 (2023-01-23 16:00)
Other packages that cited BiDAG R package
View BiDAG citation profile
Other R packages that BiDAG depends, imports, suggests or enhances
Complete documentation for BiDAG
Functions, R codes and Examples using the BiDAG R package
Some associated functions: Asia . Asiamat . Boston . DAGscore . DBNdata . DBNmat . DBNscore . DBNunrolled . bidag2coda . bidag2codalist . compact2full . compareDAGs . compareDBNs . connectedSubGraph . edgep . full2compact . getDAG . getMCMCscore . getRuntime . getSpace . getSubGraph . getTrace . graph2m . gsim . gsim100 . gsimmat . interactions . iterativeMCMC . iterativeMCMCclass . itercomp . kirc . kirp . learnBN . m2graph . mapping . modelp . orderMCMC . orderMCMCclass . partitionMCMC . partitionMCMCclass . plot2in1 . plotDBN . plotdiffs . plotdiffsDBN . plotpcor . plotpedges . sampleBN . samplecomp . scoreagainstDAG . scoreagainstDBN . scoreparameters . scorespace . scorespaceclass . string2mat . 
Some associated R codes: Asiaadj.R . DBNdata.R . DBNfns.R . DBNmat.R . DBNunrolled.R . KIRC.R . KIRP.R . RcppExports.R . WeightedCI.R . bidag2coda.R . corescore.R . dataSTRING.R . extractors.R . graphhelpfns.R . gsimadj.R . initpar.R . iterativeMCMC.R . learnBN.R . learningdata.R . main.R . newbinaryscoring.R . newcatscoring.R . orderMCMCbase.R . orderMCMCbasemax.R . orderMCMCmain.R . orderMCMCplus1.R . orderMCMCplus1max.R . orderposetfns.R . orderscore.R . orderscoremax.R . other.R . othercnstr.R . partitionMCMC.R . partitionMCMCmain.R . partitionfns.R . partitionmoves.R . partitionposetfns.R . partitionscore.R . performanceassess.R . plotS3.R . plotfns.R . plotusingrgraphviz.R . printmethods.R . sampleBN.R . samplefns.R . scoreagainstDBN.R . scoreagainstdag.R . scorefns.R . spacefns.R . summary.R . usrscorefns.R . wrappers.R .  Full BiDAG package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
DatabionicSwarm  
Swarm Intelligence for Self-Organized Clustering
Algorithms implementing populations of agents that interact with one another and sense their environ ...
Download / Learn more Package Citations See dependency  
solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
mlr3viz  
Visualizations for 'mlr3'
Visualization package of the 'mlr3' ecosystem. It features plots for mlr3 objects such as tasks, le ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA