graphical_models.classes.mags.ancestral_graph.AncestralGraph.is_imap
- AncestralGraph.is_imap(other, certify: bool = False) bool [source]
Check if this graph is an IMAP of the graph
other
, i.e., all m-separation statements in this graph are also m-separation statements inother
.- Parameters
other – Another DAG.
certify – TODO
See also
Examples
>>> from graphical_models import AncestralGraph >>> g = AncestralGraph(arcs={(1, 2), (3, 2)}) TODO