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.
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.
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.