BIC-methods function

BIC criterion.

BIC criterion.

This function gives the BIC criterion of an instance of VSLCMresults. BIC is computed according to the formula [REMOVE_ME]BIC=loglikelihood0.5νlog(n)[REMOVEME2] BIC=log-likelihood - 0.5*\nu*log(n) [REMOVE_ME_2]

where ν\nu denotes the number of parameters in the fitted model and nn represents the sample size. methods

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

Arguments

  • object: instance of VSLCMresults.

Description

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

BIC=loglikelihood0.5νlog(n) BIC=log-likelihood - 0.5*\nu*log(n)

where ν\nu denotes the number of parameters in the fitted model and nn represents the sample size.

Examples

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

References

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