BIC-methods: BIC criterion.

Description Usage Arguments References Examples

Description

This function gives the BIC criterion of an instance of VSLCMresults. BIC is computed according to the formula

BIC=log-likelihood - 0.5*ν*log(n)

where ν denotes the number of parameters in the fitted model and n represents the sample size.

Usage

1
2
## S4 method for signature 'VSLCMresults'
BIC(object)

Arguments

object

instance of VSLCMresults.

References

Schwarz, G. (1978). Estimating the dimension of a model. Annals of Statistics, 6(2), 461-464.

Examples

1
2
3
4
5
6
7
8
# Data loading:
data(heart)

# Cluster analysis without variable selection (number of clusters between 1 and 3)
res<- VarSelCluster(heart[,-13], 2, vbleSelec = FALSE)

# Get the BIC value
BIC(res)

VarSelLCM documentation built on May 2, 2019, 4:59 p.m.