Description Usage Arguments Value Author(s) References Examples
The function computes posterior edge appearance probabilities in a random tree from a (log-)weight matrix.
The (log-)weight matrix can be obtained from one of the functions lweights_multinomial
, lweights_gaussian
or weights_gausscopula
.
The function can also account for prior edge appearance probability.
1 |
W |
(log-)weight matrix |
log |
|
account.prior |
|
q0 |
Desired prior edge appearance probability. |
prob |
Posterior edge appearance probability matrix. |
Lo<c3><af>c Schwaller
This package implements the method described in the paper "Bayesian Inference of Graphical Model Structures Using Trees" by L. Schwaller, S. Robin, M. Stumpf, 2015 (submitted and availavable on arXiv).
1 2 3 4 5 | library('saturnin')
data(data_gaussian)
W <- lweights_gaussian(data_gaussian)
prob <- edge.prob(W, log = TRUE, account.prior = TRUE, q0 = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.