calcloglikelihood: Calculate the log likelihood function of the data.
Description
This function calculates the log likelihood function of the data.
Usage
calcloglikelihood(pis, y)
Arguments
pis
Vector of link probabilities.
y
Vector version of the adjacency matrix, with the diagonal removed.
Value
The value of the log likelihood function.
References
Isobel Claire Gormley and Thomas Brendan Murphy. (2010) A Mixture of Experts Latent Position Cluster Model for Social Network Data. Statistical Methodology, 7 (3), pp.385-405.