calc_dens_ind_multiple {csmGmm}R Documentation

Calculate the density of K-dimensional multivariate normal (all dimensions are independent) under fitted acsGmm.

Description

Calculate the density of K-dimensional multivariate normal (all dimensions are independent) under fitted acsGmm.

Usage

calc_dens_ind_multiple(x, Zmat)

Arguments

x

K*1 vector of means.

Zmat

J*K 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), rnorm(10^5), rnorm(10^5))
calc_dens_ind_multiple(x, Zmat)


[Package csmGmm version 0.3.0 Index]