Description Usage Arguments Author(s)
Note that I am changing v_mat and pi_vec by reference, but also returning them in the list.
1 | em_fix_cpp(x_mat, s_mat, v_mat, pi_vec, w_mat, theta_mat, eta_mat)
|
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 square-roots of the rank-1 mixing covariance matrices. The columns index the mixing components, the rows index the variables. |
pi_vec |
A vector of mixture proportions. |
w_mat |
The individual probabilities of being in a particular group. |
theta_mat |
The means of the a_j's given in group k times w_kj's |
eta_mat |
The second (non-central) moment of the a_j's given in group k times the w_kj's |
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.