calc_dens_ind_2d {csmGmm} | R Documentation |
calc_dens_ind.R
Description
Calculate J bivariate normal densities (both dimensions are independent) under fitted csmGmm.
Usage
calc_dens_ind_2d(x, Zmat)
Arguments
x |
2*1 vector of means. |
Zmat |
J*2 matrix of test statistics. |
Value
A J*1 vector of densities for each row of Zmat.
Examples
x <- c(0, 0)
Zmat <- cbind(rnorm(10^5), rnorm(10^5))
calc_dens_ind_2d(x, Zmat)
[Package csmGmm version 0.3.0 Index]