Description Usage Arguments Value
calculate the marginal likelihood for a node for samplers using conjugate models
1 | marglike_bern(znoi, ei, parammod)
|
znoi |
a matrix of block assignments without node i |
ei |
edge-states incident to i |
parammod |
a |
log-probability of node i belonging to each block
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.