Learn R Programming

mclust (version 6.1)

summary.MclustBootstrap: Summary Function for Bootstrap Inference for Gaussian Finite Mixture Models

Description

Summary of bootstrap distribution for the parameters of a Gaussian mixture model providing either standard errors or percentile bootstrap confidence intervals.

Usage

# S3 method for MclustBootstrap
summary(object, what = c("se", "ci", "ave"), conf.level = 0.95, ...)

Arguments

object

An object of class 'MclustBootstrap' as returned by MclustBootstrap.

what

A character string: "se" for the standard errors; "ci" for the confidence intervals; "ave" for the averages.

conf.level

A value specifying the confidence level of the interval.

...

Further arguments passed to or from other methods.

Details

For details about the procedure used to obtain the bootstrap distribution see MclustBootstrap.

See Also

MclustBootstrap.

Examples

Run this code
# \donttest{
data(diabetes)
X = diabetes[,-1]
modClust = Mclust(X) 
bootClust = MclustBootstrap(modClust)
summary(bootClust, what = "se")
summary(bootClust, what = "ci")

data(acidity)
modDens = densityMclust(acidity, plot = FALSE)
modDens = MclustBootstrap(modDens)
summary(modDens, what = "se")
summary(modDens, what = "ci")
# }

Run the code above in your browser using DataLab