View source: R/helper_functions.R
Calculate the Bernoulli log likelihood of matrix
1 | log_like_Bernoulli(x, theta, q)
|
x |
matrix with all binary entries |
theta |
estimated natural parameters with same dimensions as x |
q |
instead of x, you can input matrix q which is
-1 if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.