MoTBFs (version 1.4.1)

BICMultiFunctions: 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

Run this code
# NOT RUN {
## 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)

# }

Run the code above in your browser using DataLab