sBIC: Compute the sBIC.

Description Usage Arguments Value

View source: R/sBIC-Function.R

Description

Computes the sBIC for a given collection of models.

Usage

1
sBIC(X, mod)

Arguments

X

the data for which the maximum likelihood estimates will be computed for the given collection of models. To see how this data should be formatted check the documentation for setData.YourModelName (e.g. setData.LCAs). If X is NULL then it is assumed that data for the model has already been set, this can be useful if you want to compute the sBIC with the same model and data several times (perhaps after changing some parameter of the model) without having to reset the data and thus recompute maximum log-likelihoods.

mod

an object representing a poset of models of the same type, e.g. a collection of binomial mixture models. The currently implemented models include:

  • Binomial mixtures, see BinomialMixtures.

  • Factor analysis, see FactorAnalyses.

  • Latent class analysis, see LCAs.

  • Latent gaussian forests, see LatentForests.

  • Reduced rank regression, see ReducedRankRegressions.

  • 1-dimensional gaussian mixtures, see GaussianMixtures.

Value

A named list containing the components


Lucaweihs/sBIC documentation built on June 3, 2017, 3:34 a.m.