mlpY {BLSM}R Documentation

Network (positive) log-likelihood

Description

Compute the (positive) log-likelihood of the whole observed network based on the latent positions estimates and the model assumptions. The inputs are slightly different from those of lpY, so the function basically applies some preprocessing before calling lpY and returning its value with the opposite sign.

Usage

mlpY(avZ, Y, W)

Arguments

avZ

Vector containing the \alpha value and the latent positions

Y

Adjacency matrix of the observed network

W

BLSM Weights matrix of the observed network

Value

Log-likelihood of the observed network


[Package BLSM version 0.1.0 Index]