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

View source: R/bootstrap.R

summary.MclustBootstrapR Documentation

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 class '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


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")


mclust documentation built on May 29, 2024, 8:06 a.m.