Usage
M.step(tau, N, Elz, J, OrdIndx, D, G, Y, CnsIndx, S2, model, a)
Arguments
tau
An N x G matrix of conditional cluster membership probabilities.
Elz
A N x D x G array of expected values of cluster labels multiplied by the latent data.
J
The number of variables.
OrdIndx
The number of continuous and ordinal (including binary) variables.
D
Dimension of the latent data.
G
The number of mixture components.
CnsIndx
The number of continuous variables.
S2
A N x D x G array of expected values of the latent data squared.
model
Which clustMD model is fitted.
a
A G x D matrix of the entries of A.