Learn R Programming

mixtools (version 1.0.1)

summary.mixEM: Summarizing EM mixture model fits

Description

summary method for class mixEM.

Usage

## S3 method for class 'mixEM':
summary(object, digits=6, \dots)

Arguments

object
an object of class mixEM such as a result of a call to normalmixEM
digits
Significant digits for printing values
...
further arguments passed to print method.

Value

  • The function summary.mixEM prints the final loglikelihood value at the solution as well as a matrix of values for each component that could include:
  • lambdaThe estimated mixing weights
  • muThe estimated mean parameters
  • sigmaThe estimated standard deviations
  • thetaThe estimated multinomial parameters
  • betaThe estimated regression parameters

Details

summary.mixEM prints parameter estimates for each component of a fitted mixture model. The estimates printed vary with the type of model.

See Also

normalmixEM, logisregmixEM, multmixEM, mvnormalmixEM, poisregmixEM, regmixEM, regmixEM.lambda, regmixEM.loc, regmixEM.mixed, regmixEM.chgpt, repnormmixEM

Examples

Run this code
data(faithful)
attach(faithful)
set.seed(100)
out <- normalmixEM(waiting, mu=c(50,80), sigma=c(5,5), lambda=c(.5,.5))
summary(out)

Run the code above in your browser using DataLab