Learn R Programming

binomialMix (version 1.0.1)

my_BIC: Calculate the Bayesian Information Criterion (BIC)

Description

Calculate the Bayesian Information Criterion (BIC)

Usage

my_BIC(nb_param, logl, nb_obs)

Arguments

nb_param

The number of paramaters estimated by the EM

logl

A numeric value which is the maximum value from Incomplete Loglikelihood

nb_obs

A numeric value corresponding to the rows number of the whole dataframe

Value

BIC The numeric value of the BIC