update_w: M-step : Update the diagonal matrix W from beta iterative...

Description Usage Arguments Value

View source: R/update_w.R

Description

M-step : Update the diagonal matrix W from beta iterative equation

Usage

1
update_w(df, col_id = "id", var_weights, beta_up, df_id, matrix_id)

Arguments

df

A dataframe

col_id

A character value corresponding to id column name

var_weights

A character value corresponding to the weights variable

beta_up

A matrix of estimated beta in a specific cluster k

df_id

A list of dataframe filter by id levels

matrix_id

A list of design matrices filter by id levels

Value

omega_inv An up-to-date diagonal matrix W


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