Learn R Programming

MixGHD (version 2.3.7)

MixGHD-class: Class MixGHD.

Description

This class pertains to results of the application of function MGHD,MCGHD,MSGHD,cMSGHD.

Arguments

Slots

Index

Bayesian information criterion value for each combination of G and q.

BIC

Bayesian information criterion value.

gpar

A list of the model parameters.

loglik

The log-likelihood values.

map

A vector of integers indicating the maximum a posteriori classifications for the best model.

z

A matrix giving the raw values upon which map is based.

method

A string indicating the used method: MGHD, MGHFA, MSGHD, cMSGHD, MCGHD.

data

A matrix or data frame such that rows correspond to observations and columns correspond to variables.

par

(only for MCGHD)A list of the model parameters in the rotated space.

Methods

signature(x = "MixGHD", y = "missing")

S4 method for plotting objects of MixGHD-class.

Details

Plot the loglikhelyhood vale for each iteration of the EM algorithm. If p=2 it shows a contour plot. If 2<p<10 shows a splom of the data colored according to the cluster membership.

See Also

MixGHD-class,MGHD,MCGHD,MSGHD,cMSGHD,MGHFA

Examples

Run this code
# NOT RUN {
##loading banknote data
data(bankruptcy)


##model estimation
model=MSGHD(bankruptcy[,2:3],G=2,max.iter=30)

#result
summary(model)
plot(model)
# }

Run the code above in your browser using DataLab