marglike_bern {SBMSplitMerge} | R Documentation |
Marginal likelihood model for Bernoulli distributed edges
Description
calculate the marginal likelihood for a node for samplers using conjugate models
Usage
marglike_bern(znoi, ei, parammod)
Arguments
znoi |
a matrix of block assignments without node i |
ei |
edge-states incident to i |
parammod |
a |
Value
log-probability of node i belonging to each block
[Package SBMSplitMerge version 1.1.1 Index]