Learn R Programming

gmvarkit (version 1.4.1)

dlogmultinorm: Calculate logarithms of multiple multivariate normal densities with varying mean and constant covariance matrix

Description

dlogmultinorm calculates logarithms of multiple multivariate normal densities with varying mean and constant covariance matrix.

Usage

dlogmultinorm(y, mu, Omega)

Arguments

y

dimension \((T x k)\) matrix where each row is a k-dimensional random vector

mu

dimension \((T x k)\) matrix where each row is the mean of the k-dimensional random vector in corresponding row of y.

Omega

the \((k x k)\) covariance matrix Omega.

Value

Returns a size \((T x 1)\) vector containing the multinormal densities in logarithm.