lpYNODE: Network log-likelihood for individual updates

Description Usage Arguments Value

View source: R/RcppExports.R

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

1
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 t(Z)%*%Z matrix, passed to speed up the process.

W

BLSM Weights matrix of the observed network

Value

Log-likelihood of the observed network


adonizetti/BLSM documentation built on May 25, 2019, 2:24 p.m.