Euclidean distance latent space, with optional clustering
Euclidean distance latent space, with optional clustering
Adds a term to the model equal to the negative Eucledean distance −dist(Z[i],Z[j]), where Z[i] and Z[j] are the positions of their respective actors in an unobserved social space. These positions may optionally have a finite spherical Gaussian mixture clustering structure. This term was previously called latent.
Important: This term works in list("latentnet")'s ergmm() only. Using it in ergm() will result in an error.
var.mul: In the absence of var, this argument will be used as a scaling factor for a function of average cluster size and latent space dimension to set var. To set it in the prior argument to ergmm, use Z.var.mul.
var: If given, the scale parameter for the scale-inverse-chi-squared prior distribution of the within-cluster variance. To set it in the prior argument to ergmm, use Z.var.
var.df.mul: In the absence of var.df, this argument is the multiplier for the square root of average cluster size, which serves in place of var.df. To set it in the prior
argument to ergmm, use Z.var.df.mul.
var.df: The degrees of freedom parameter for the scale-inverse-chi-squared prior distribution of the within-cluster variance. To set it in the prior argument to ergmm, use Z.var.df.
mean.var.mul: In the absence of mean.var, the multiplier for a function of number of vertices and latent space dimension to set mean.var. To set it in the prior
argument to ergmm, use Z.mean.var.mul.
mean.var: The variance of the spherical Gaussian prior distribution of the cluster means. To set it in the prior
argument to ergmm, use Z.mean.var.
pK.mul: In the absence of pK, this argument is the multiplier for the square root of the average cluster size, which is used as pK. To set it in the prior argument to ergmm, use Z.pK.
pK: The parameter of the Dirichilet prior distribution of cluster assignment probabilities. To set it in the prior
argument to ergmm, use Z.pK.
Details
The following parameters are associated with this term:
Z: Numeric matrix with rows being latent space positions.
Z.K (when \codeG>0): Integer vector of cluster assignments.
Z.mean (when \codeG>0): Numeric matrix with rows being cluster means.
Z.var (when \codeG>0): Depending on the model, either a numeric vector with within-cluster variances or a numeric scalar with the overal latent space variance.
Z.pK (when \codeG>0): Numeric vector of probabilities of a vertex being in a particular cluster.
See Also
ergmTerm for index of model terms currently visible to the package.