Using bnlearn to check for d-separation/d-connectivity

Using bnlearn to check for d-separation/d-connectivity

Postby albert07 » Tue Oct 01, 2019 9:40 am

Hi all,

Attached is my R code to determine d-separation and d-connectivity in R. I have organized it, and explained certain parts in the code. The code is essentially asking if there is d-separation, so the output is either True or False for that.

Since this is all of the code that I have used thus far, I included the code for producing ROC curves, along with showing the AUC and confidence intervals in the plot. Please let me know if you have any questions!

-Albert
Attachments
BNLEARN D Separation Code.R
(11.94 KiB) Downloaded 85 times
albert07
 
Posts: 6
Joined: Mon Aug 20, 2018 2:30 pm

Return to R package for Bayesian network structure learning (BNlearn)

Who is online

Users browsing this forum: No registered users and 1 guest

cron