Learn R Programming

clustMD (version 1.0)

z.moments: Calculates the first and second moments of the latent data.

Description

Internal function.

Usage

z.moments(D, G, N, CnsIndx, OrdIndx, zlimits, mu, Sigma, Y, J, K, norms, nom.ind.Z)

Arguments

D
Dimension of the latent data.
G
Number of mixture components.
N
Number of observations.
CnsIndx
The number of continuous variables.
OrdIndx
The number of continuous and ordinal (including binary) variables.
zlimits
The truncation points for the latent data.
mu
A D x G matrix of means.
Sigma
A D x D x G array of covariance parameters.
Y
An N x J data matrix.
J
The number of variables.
K
The number of levels for each variable.
norms
A matrix of standard normal deviates.
nom.ind.Z
The latent dimensions corresponding to each nominal variable.

Value

  • Output required for clustMD function.

Details

z.moments: an internal function.

References

McParland, D. and Gormley, I.C. (2014). Model based clustering for mixed data: clustMD. Technical report, University College Dublin.

See Also

clustMD