Learn R Programming

mixtools (version 1.0.4)

summary.mixEM: Summarizing EM mixture model fits

Description

summary method for class mixEM.

Usage

"summary"(object, digits=6, ...)

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:
lambda
The estimated mixing weights
mu
The estimated mean parameters
sigma
The estimated standard deviations
theta
The estimated multinomial parameters
beta
The 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