comp_postprob
compute the posterior prob that each observation came from each component of the mixture m,output a k by n vector of probabilities computed by weighting the component densities by pi and then normalizing
comp_postprob(m, data)
m
data
Useful links