Hello Dr. Ramsey and Dr. Glymour,
I am trying to build a causal model in Tetrad (alpha=0.05, D=-1) on a binary data set.
When I select the PC-stable algorithm to build the model, it keeps executing and does not run till completion.
However, when I tried to build causal model on the same data set in R using the following command, it runs successfully.
pc.result <- pc(suffStat.data, indepTest, labels=climIndices, alpha=0.05, skel.method="stable")
where suffStat.data <- list(binaryData, adaptDF=FALSE); binaryData is the input data and adaptDF is a logical specifying if the degrees of freedom should be lowered by 1 for each zero count.
indepTest <- binCItest; binCItest is a wrapper for G Square test which test conditional independence between two variables
labels <- variable names
skel.method="stable" <- build skeleton using its stable version
alpha=0.05
I haven't been able to find the reason for this since I believe that I am running the same algorithms in R and Tetrad, though R returns an output but Tetrad does not complete its execution. Am I missing something?
Thank you for your time.
Regards,
Mandar