Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dot-dmvnorm_arma

Multivariate normal density function


Description

This function returns the log-density for a multivariate Gaussian distribution. The data must be imputed as a matrix, using e.g., as.matrix, with each row representing an observation.

Usage

.dmvnorm_arma(x, mu, sigma, logd = FALSE)

Arguments

x

matrix of observations

mu

mean vector

sigma

positive definite covariance matrix

logd

logical; whether log-density should be returned (default to FALSE)

Value

density or log-density of the nrow(x) sample


TruncatedNormal

Truncated Multivariate Normal and Student Distributions

v2.2
GPL-3
Authors
Zdravko Botev [aut] (<https://orcid.org/0000-0001-9054-3452>), Leo Belzile [aut, cre] (<https://orcid.org/0000-0002-9135-014X>)
Initial release
2020-05-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.