my_ICL: Calculate the Integrated Complete Likelihood (ICL)

Description Usage Arguments Value

View source: R/my_ICL.R

Description

Calculate the Integrated Complete Likelihood (ICL)

Usage

1
my_ICL(data, col_id, nb_cluster, nb_param, logl, val_tau, nb_obs)

Arguments

data

A dataframe

col_id

A character value corresponding to id column name

nb_cluster

A numeric value of number of clusters chosen for the mixture

nb_param

The number of paramaters estimated by the EM

logl

A numeric value which is the maximum value from Incomplete Loglikelihood

val_tau

A matrix of probability which rows number is the K clusters, columns number is the number of distinct id levels

nb_obs

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

Value

ICL The numeric value of the ICL


binomialMix documentation built on March 23, 2020, 5:09 p.m.