calc_dens_ind_3d {csmGmm}R Documentation

Calculate J trivariate normal densities (all dimensions are independent) under fitted csmGmm.

Description

Calculate J trivariate normal densities (all dimensions are independent) under fitted csmGmm.

Usage

calc_dens_ind_3d(x, Zmat)

Arguments

x

3*1 vector of means.

Zmat

J*3 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))
calc_dens_ind_3d(x, Zmat)


[Package csmGmm version 0.3.0 Index]