Multivariate normal density function
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.
.dmvnorm_arma(x, mu, sigma, logd = FALSE)
x |
matrix of observations |
mu |
mean vector |
sigma |
positive definite covariance matrix |
logd |
logical; whether log-density should be returned (default to |
density or log-density of the nrow(x)
sample
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.