powered by
Calculate the density of K-dimensional multivariate normal (all dimensions are independent) under fitted acsGmm.
calc_dens_ind_multiple(x, Zmat)
A J*1 vector of densities for each row of Zmat.
K*1 vector of means.
J*K matrix of test statistics.
x <- c(0, 0) Zmat <- cbind(rnorm(10^5), rnorm(10^5), rnorm(10^5), rnorm(10^5)) calc_dens_ind_multiple(x, Zmat)
Run the code above in your browser using DataLab