loglikelihood: Negative loglikelihood of a multivariate normal

Description Usage Arguments Value

View source: R/glasso_util.R

Description

Negative loglikelihood of a multivariate normal

Usage

1
loglikelihood(x, mu, cov_mat_inv)

Arguments

x

A design matrix

mu

Mean of the multivariate Gaussian distribution

cov_mat_inv

precision matrix of the multivariate Gaussian distribution

Value

An array with the negative log-likelihoods of the observations in x given the Gaussian model specified.


mlondschien/hdcd documentation built on Jan. 5, 2021, 11:26 p.m.