Description Usage Arguments Value
Calculate posterior expectations given maximized estimate for π (the proportion of observations coming from each association pattern). Return column sums of the posterior expectations. This allows the M-step to be completed in chunks (dividing a running sum by the total number of rows at the end to obtain the mean), alleviating potential memory issues.
1 | e_step_withColSums(old_pi, Dmat)
|
old_pi |
vector of association pattern proportions, fit through maximization. |
Dmat |
matrix of conditional joint densities under each association pattern. |
A row vector of column sums of posterior expectations (allows M-step to be performed in chunks).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.