Learn R Programming

BLSM (version 0.1.0)

lpY: Network log-likelihood

Description

Compute the log-likelihood of the whole observed network based on the latent positions estimates and the model assumptions. See BLSM for more information.

Usage

lpY(Y, lpz, alpha, W)

Arguments

Y

Adjacency matrix of the observed network

lpz

Matrix containing the negative square root of the Euclidean distances between latent positions (output of lpz_dist)

alpha

Model variable \(\alpha\)

W

BLSM Weights matrix of the observed network

Value

Log-likelihood of the observed network