Usage
E.step(N, G, pi.vec, Y, OrdIndx, CnsIndx, D, perc.cut, mu, Sigma, Ez, J, probs.nom, K)
Arguments
G
Number of mixture components.
OrdIndx
The number of continuous and ordinal (including binary) variables.
CnsIndx
The number of continuous variables.
D
Dimension of the latent data.
perc.cut
Threshold parameters.
mu
A D x G matrix of means.
Sigma
A D x D x G array of covariance parameters.
Ez
A N x D x G array of latent expected values.
J
The number of observed variables.
probs.nom
Probabilities of nominal responses by group.
K
The number of levels for each variable.