BICMultiFunctions: BIC score for multiple functions

View source: R/conditional.R

BICMultiFunctionsR Documentation

BIC score for multiple functions

Description

Compute the BIC score using more than one probability functions.

Usage

BICMultiFunctions(Px, X)

Arguments

Px

A list of objects of class "motbf".

X

A list with as many "numeric" vectors as densities in Px, used to compute the BIC score for each density.

Value

The "numeric" BIC value.

See Also

univMoTBF

Examples

## Data
X <- rnorm(500)
Y <- rnorm(500, mean=1)
data <- data.frame(X=X, Y=Y)
## Data as a "list"
Xlist <- sapply(data, list)

## Learning as a "list"
Plist <- lapply(data, univMoTBF, POTENTIAL_TYPE="MOP")
Plist

## BIC value
BICMultiFunctions(Px=Plist, X=Xlist)


MoTBFs documentation built on April 18, 2022, 5:06 p.m.