Learn R Programming

binomialMix (version 1.0.1)

Incomplete_Loglikelihood_binomiale: Calculate the incomplete loglikelihood from mixture of binomial

Description

Calculate the incomplete loglikelihood from mixture of binomial

Usage

Incomplete_Loglikelihood_binomiale(df, col_id = "id", target,
  var_weights, df_id, matrix_id, lamb, b_hk, K)

Arguments

df

A dataframe

col_id

A character value corresponding to id column name

target

A character value corresponding to the target variable

var_weights

A character value corresponding to the weights variable

df_id

A list of dataframe filter by id levels

matrix_id

A list of design matrices filter by id levels

lamb

A numeric vector of proportion into the different clusters

b_hk

A matrix of estimated beta

K

A numeric value of number of clusters chosen for the mixture

Value

result A numeric value of incomplete loglikelihood