Description Usage Arguments Value
E-step : update of tau
1 2 | update_tau(df, K, col_id = "id", beta_hk, lambda, m, df_id, n_c,
matrix_id, var_weights, target)
|
df |
A dataframe |
K |
The numeric value of the total number of clusters |
col_id |
A character value corresponding to id column name |
beta_hk |
A matrix of estimated beta |
lambda |
A numeric vector of proportion into the different clusters |
m |
A numeric iterative value |
df_id |
A list of dataframe filter by id levels |
n_c |
A numeric vector containing the number of rows for each distinct id levels |
matrix_id |
A list of design matrices filter by id levels |
var_weights |
A character value corresponding to the weights variable |
target |
A character value corresponding to the target variable |
result_pi Estimated probabilities of tau matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.