calcpis {MEclustnet}R Documentation

Calculate link probabilities.

Description

Function calculates link probabilities between nodes.

Usage

calcpis(beta, x.link, delta, n.tilde)

Arguments

beta

Vector of regression coefficients in the link probabilities.

x.link

Matrix, with n^2 - n rows and the same number of columns as covariates (including the intercept), giving the differences in covariates for all pairs of nodes.

delta

Vector of Euclidean distances between locations in the latent space of all pairs of nodes.

n.tilde

Length of the vector version of the adjacency matrix, with the diagonal removed i.e. n^2 - n.

Value

A vector of length n^2 - n providing the link probabilities between all pairs of nodes.

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.

See Also

MEclustnet


[Package MEclustnet version 1.2.2 Index]