pc_stable: MGM PC Stable

Description Usage Arguments Value Author(s) References Examples

Description

Implements the PC-stable search algorithm () algorithm and returns the directed graph. Also outputs the graph to a .txt file

Usage

1
mgm.pc_stable(ds, graph)

Arguments

ds

DataSet object

graph

Graph object of DataSet

Value

pcs_graph

Directed graph

Author(s)

AJ Sedgewick, Neha Abraham, Panagiotis Benos

References

Andrew J Sedgewick, Joseph D. Ramsey, Peter Spirtes, Clark Glymour, Panayiotis V. Benos, "Mixed Graphical Models for Causal Analysis of Multi-modal Variables", 2017, arXiv:1704.02621 https://arxiv.org/abs/1704.02621

Examples

1
2
3
4
5
library(rJava)
mgm_init()
ds <- loadSampleData()
graph <- mgm(ds)
mgm.pc_stable(ds, graph)

nehaabraham/causalMGM documentation built on May 24, 2019, 6:11 a.m.