BIC.NormalBlockCollection: Bayesian Information Criterion for a Collection of...

View source: R/NormalBlockCollection-S3methods.R

BIC.NormalBlockCollectionR Documentation

Bayesian Information Criterion for a Collection of Normal-Block Models

Description

Returns the (variational) BIC of every model in a collection of normal-block models.

Usage

## S3 method for class 'NormalBlockCollection'
BIC(object, ...)

Arguments

object

An object inheriting from NormalBlockCollection.

...

not used, only here for S3 compatibility

Value

A numeric vector of BIC values, one per model in the collection.

Examples

ex_data <- generate_normal_block_var_data(n = 50, p = 20, d = 1, q = 3)
data <- NormalBlockData$new(ex_data$Y, ex_data$X)
models <- normal_block(data, blocks = 2:5, control = NB_control(verbose = FALSE))
BIC(models)

normalblockr documentation built on Nov. 24, 2026, 1:06 a.m.