Description Usage Arguments Value
Complete one iteration of the EM-algorithm (combines E-step and M-step). Calculate posterior expectations given current estimate for π,the proportion of observations (e.g. SNPs) coming from each association pattern (i.e. E-Step). Re-estimate the π vector that maximizes the posterior expectations (i.e. M-step).
1 | em_iter(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 estimating the proportion of observations coming from each association pattern.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.