View source: R/calc_dens_ind.R
calc_dens_ind_multiple | R Documentation |
Calculate the density of K-dimensional multivariate normal (all dimensions are independent) under fitted acsGmm.
calc_dens_ind_multiple(x, Zmat)
x |
K*1 vector of means. |
Zmat |
J*K matrix of test statistics. |
A J*1 vector of densities for each row of Zmat.
x <- c(0, 0)
Zmat <- cbind(rnorm(10^5), rnorm(10^5), rnorm(10^5), rnorm(10^5))
calc_dens_ind_multiple(x, Zmat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.