lpYNODE {BLSM} | R Documentation |
Network log-likelihood for individual updates
Description
Compute the log-likelihood of the whole observed network based on the latent positions estimates and the model assumptions. The function follows almost the same approach as lpY, but it is more suitable for the individual updates occurring during the simulation.
Usage
lpYNODE(Y, Z, alpha, node, diag, W)
Arguments
Y |
Adjacency matrix of the observed network |
Z |
Latent positions matrix |
alpha |
Model variable |
node |
Specific node in the network corresponding to the latent coordinate which will be used as reference |
diag |
Diagonal from |
W |
BLSM Weights matrix of the observed network |
Value
Log-likelihood of the observed network
[Package BLSM version 0.1.0 Index]