skeleton
, pc
and fci
.binCItest(x, y, S, suffStat)
gSquareBin
; see its
help file for details.dsepTest
, gaussCItest
and
disCItest
for similar functions for a d-separation
oracle, a conditional independence test for gaussian variables and
a conditional independence test for discrete variables, respectively.## Simulate data
set.seed(123)
x <- sample(1:2,100,TRUE)
y <- sample(1:2,100,TRUE)
z <- sample(1:2,100,TRUE)
dat <- cbind(x,y,z)
suffStat <- list(dm = dat, adaptDF = FALSE)
binCItest(1,3,2,suffStat)
Run the code above in your browser using DataLab