E step in EM algorithm.
1 | unif_update_pi(pi_old, Y, sig_diag, alpha, a_seq, b_seq, Z_old, lambda)
|
pi_old |
A vector of numerics. The old pi values. |
Y |
A matrix of dimension |
sig_diag |
A vector of length |
alpha |
A matrix. This is of dimension |
a_seq |
A vector of negative numerics containing the left endpoints of the mixing uniforms. |
b_seq |
A vector of positiv numerics containing the right endpoints of the mixing uniforms. |
Z_old |
A vector of numerics. The old confounders. |
lambda |
A vector. This is a length |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.