Learn R Programming

mclust (version 1.1-7)

mstep.VI: M-step for spherical, varying volume MVN mixture models

Description

M-step for estimating parameters given conditional probabilities in an MVN mixture model having varying spherical variances and possibly one Poisson noise term.

Usage

mstep.VI(data, z, eps, equal = F, noise = F, Vinv)

Arguments

data
matrix of observations.
z
matrix of conditional probabilities. z should have a row for each observation in data, and a column for each component of the mixture.
eps
Lower bound on the estimated values of sigma-squared. Default : .Machine$double.eps
equal
Logical variable indicating whether or not to assume equal proportions in the mixture. Default : F.
noise
Logical variable indicating whether or not to include a Poisson noise term in the model. Default : F.
Vinv
An estimate of the inverse hypervolume of the data region (needed only if noise = T). Default : determined by function hypvol

Value

  • A list whose components are the parameter estimates corresponding to z:
  • mumatrix whose columns are the Gaussian group means.
  • sigmagroup variance matrix.
  • probprobabilities (mixing proportions) for each group (present only when equal = T). The loglikelihood and reciprocal condition estimate are returned as attributes.

References

G. Celeux and G. Govaert, Gaussian parsimonious clustering models, Pattern Recognition,28:781-793 (1995).

A. P. Dempster, N. M. Laird and D. B. Rubin, Maximum Likelihood from Incomplete Data via the EM Algorithm, Journal of the Royal Statistical Society, Series B,39:1-22 (1977).

G. J. MacLachlan and K. E. Basford, The EM Algorithm and Extensions, Wiley, (1997).

See Also

mstep, me.VI, estep.VI

Examples

Run this code
data(iris)
cl <- mhclass(mhtree(iris[,1:4], modelid = "VI"),3)
z <- me.VI( iris[,1:4], ctoz(cl))
Mstep <- mstep.VI(iris[,1:4], z)
estep.VI( iris[,1:4], Mstep$mu, Mstep$sigma, Mstep$prob)

Run the code above in your browser using DataLab