View source: R/helpers_inclusion.R
| expectedLogTheta | R Documentation |
Computes E[\log\theta] and E[\log(1-\theta)] for a
\text{Beta}(a_1, a_2) distribution. These terms appear in the
variational updates for the inclusion indicators Z_{ki}.
expectedLogTheta(a1_ki, a2_ki)
a1_ki |
shape1 parameter of the Beta distribution. |
a2_ki |
shape2 parameter of the Beta distribution. |
Numeric expected values (scalar).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.