dat: An n×p matrix where each row represents an individual observation
n: Number of observations.
p: Dimension of observation vecor.
g: Number of multivariate normal classes.
pi: A g-dimensional vector for the initial values of the mixing proportions.
mu: A p×g matrix for the initial values of the location parameters.
sigma: A p×p covariance matrix if ncov=1, or a list of g covariance matrices with dimension p×p×g if ncov=2.
ncov: Options of structure of sigma matrix; the default value is 2; ncov = 1 for a common covariance matrix; ncov = 2 for the unequal covariance/scale matrices.
Returns
clusprobs: The posterior probabilities of the i-th entity that belongs to the j-th group.
Details
The concept of information entropy was introduced by shannon1948mathematical . The entropy of yj is formally defined as