Description Usage Arguments Value
Function to compute the log full conditional density for all patterns of the l-th column of Q. This function is used in update_Q_col_block.
| 1 | log_pr_Qml_cond_enum(Yl, eta_star, Ql_enumerate, thetal, psil)
 | 
| Yl | a column of the binary data matrix | 
| eta_star | a matrix of machine usage indicators, rows for clusters, columns for M machines | 
| Ql_enumerate | l-th column of the Q matrix | 
| thetal, psil | True and false positive rates. Both are vectors of length L | 
a vector of log conditional probability of column Q_l taking each of
2^nrow(Ql_enumerate) given other unknown parameters,
the dimension will be identical to 2^nrow(Ql_enumerate).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.