View source: R/all_functions.R
msep | R Documentation |
msep
determines whether two set of nodes are m-separated
by a third set of nodes.
msep(a, alpha, beta, C = c())
a |
An adjacency matrix, or a graph that can be a |
alpha |
A subset of the node set of |
beta |
Another disjoint subset of the node set of |
C |
A third disjoint subset of the node set of |
A logical value. TRUE
if alpha
and beta
are m-separated given C
.
FALSE
otherwise.
Kayvan Sadeghi
Richardson, T.S. and Spirtes, P. (2002) Ancestral graph Markov models. Annals of Statistics, 30(4), 962-1030.
Sadeghi, K. and Lauritzen, S.L. (2014). Markov properties for loopless mixed graphs. Bernoulli 20(2), 676-696.
dSep
, MarkEqMag
H <-matrix(c(0,0,0,0,
1,0,0,1,
0,1,0,0,
0,0,0,0),4,4)
msep(H,1,4, 2)
msep(H,1,4, c())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.