Description Usage Arguments Value References See Also
A Metropolis-Hastings update step for the latent locations.
1 2 |
n |
The number of nodes. |
z |
The n x d matrix of latent locations. |
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. |
beta |
Vector of regression coefficients in the link probabilities. |
y |
Vector version of the adjacency matrix, with the diagonal removed. |
mu |
The G x d matrix of cluster means. |
K |
The cluster membership vector |
sigma2 |
The covariance of each cluster. |
Id |
A d dimensional identity matrix. |
pis |
A vector of length n^2 - n providing the link probabilities between all pairs of nodes. |
iter |
Iteration number. |
uphill |
Number of iterations for which uphill only steps in the MCMC chain should be run. |
countz |
Counter for number of steps for which the proposed z value was accepted. |
delete |
Index of the terms to be deleted in order to delete the diagonal terms from the vector version of the adjacency matrix. |
d |
The dimension of the latent space. |
n.tilde |
Length of the vector version of the adjacency matrix, with the diagonal removed i.e. n^2 - n. |
A list:
The returned matrix of latent locations.
Vector of Euclidean distances between locations in the latent space of all pairs of nodes.
A vector of length n^2 - n providing the link probabilities between all pairs of nodes.
Counter for z acceptance rate.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.