findSep | R Documentation |
Implement the algorithms of van der Zander et al. (2014) to find separator sets.
findSep(graph, X, Y, Z = integer(0), R, check = TRUE)
listSep(graph, X, Y, Z = integer(0), R, check = TRUE)
allSep(graph, X, Z = integer(0), R, check = TRUE)
whSep(graph, X, Z, check = TRUE)
graph |
a summary graph of class |
X , Y |
sets to separate |
Z |
set to include in conditioning set |
R |
maximal set to look in |
check |
logical: check that the sets are suitably disjoint? |
findSep
finds a set that m-separates X
and Y
,
that must contain vertices in Z
and may contain vertices in R
.
listSep
exhaustively lists all such sets.
allSep
returns the maximal set m-separated from X
by
Z
. whSep
returns the subset of Z
that is m-separated
from X
by the remainder of Z
.
The algorithms for findSep
and listSep
are taken
from van der Zander et al. (2014).
listSep()
: list all m-separations
allSep()
: give maximal m-separated set
whSep()
: find m-separated subset
van der Zander et al. Constructing Separators and Adjustment Sets in Ancestral Graphs. UAI Workshop on Causal Inference: Learning and Prediction, 2014.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.