graphical_models.classes.mags.ancestral_graph.AncestralGraph.markov_equivalent
- AncestralGraph.markov_equivalent(other) bool [source]
Check if this graph is Markov equivalent to the graph
other
. Two graphs are Markov equivalent iff. they have the same skeleton, same v-structures, and if whenever there is the same discriminating path for some node in both graphs, the node is a collider on that path in one graph iff. it is a collider on that path in the other graph.- Parameters
other – another AncestralGraph.
Examples
TODO