Description Usage Arguments Author(s)
Element (i, j) of the returned matrix is the log of pi_j N(x_i | 0, v_j v_j^T + S_i)
1 | get_llike_mat(x_mat, s_mat, v_mat, pi_vec)
|
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. |
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.