is.separated {lcd} | R Documentation |
Checks whether two vertices u
and v
are
c-separated by a set sep
on the given chain graph.
is.separated(u, v, sep, amat)
u |
one vertex under investigation. |
v |
the other vertex under investigation. |
sep |
the candidate separator. |
amat |
the adjacency matrix of a chain graph. |
The actual function uses the moralization criterion instead of the separation criterion. They are equivalent and the former is easier to implement.
A boolean value indicating whether separation holds or not.
Zongming Ma and Xiangrui Meng
Lauritzen, S. L. (1996). Graphical Models. Clarendon Press, Oxford.
Studeny, M. and Bouckaert, R. R. (1998). On chain graph models for description of conditional independence structures. Annals of Statistics 26 1434-1495.
is.separated("a", "d", c("b","c"), toy.graph)