View source: R/conf.edge.lower.R
Lower limit of the confidence of an edge | R Documentation |
Lower limit of the confidence of an edge.
conf.edge.lower(p)
p |
A numerical vector with the proportion of times an edge was found in the bootstrapped PC algorithm or the confidence of the edge returned by |
After having performed PC algorithm many times in the bootstrap samples (using mmhc.skel.boot
for example) you get a symmetric matrix with the proportion of times an edge was discovered. Take the lower (or upper) triangular elements of that matrix and pass them as input in this function. This will tell you the minimum proportion required to be confident that an edge is trully significant.
The estimated cutoff limit above which an edge can be deemed significant.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
Scutari M. and Nagarajan R. (2013). Identifying significant edges in graphical models of molecular networks. Artifficial Intelligence in Medicine, 57: 207–217.
pchc.skel.boot, mmhc.skel.boot, fedhc.skel.boot
y <- pchc::rbn2(200, p = 30, nei = 3)
x <- y$x
g <- pchc::pchc.skel.boot(x, B = 100)$Gboot
a <- g[ lower.tri(g) ]
pchc::conf.edge.lower(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.