Learn R Programming

mixdist (version 0.5-5)

summary.mix: Summarizing Mixture Model Fits

Description

summary method for class "mix". It is called via the generic function summary.

Usage

# S3 method for mix
summary(object, digits = 4, …)

Arguments

object

an object of class "mix", usually, the results returned by the model fitting function mix.

digits

how many significant digits are to be used.

additional arguments affecting the summary produced.

Value

A list containing the following items:

parameters

a data frame containing the values for parameters of component distributions, which are, in order, the proportions, means, and standard deviations.

standard errors

a data frame giving the standard errors of estimated parameters.

anova table

analysis of variance table for the mixobj, that is, the results from the function anova.mix.

See Also

mix for model fitting, summary for summarizing other kinds of object. anova.mix for information about anova table.

Examples

Run this code
# NOT RUN {
data(pike65)
data(pikepar)
fit <- mix(pike65, pikepar, "lnorm", mixconstr(consigma = "CCV"), emsteps = 3)
fit
summary(fit)
# }

Run the code above in your browser using DataLab