Description Usage Arguments Author(s)
R version of the EM algorithm.
1 2 |
x_mat |
A matrix of data. The rows index the observations and the columns index the variables. |
s_mat |
A matrix of variances (NOT standard deviations). The rows index the observations and the columns index the variables. |
v_mat |
A matrix of initial values for the low-rank mixture covariances. |
pi_vec |
A vector of initial values of the mixing proportions. |
itermax |
The maximum number of fixed-point iterations for the EM to run. |
tol |
The tolerance for the stopping criterion. The current stopping criterion is the ratio of successive likelihoods minus 1. |
plot_iter |
A logical. Should we plot the likelihood at
each step ( |
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.