dmvstud: Density of the multivariate Student density

View source: R/gaussian.R

dmvstudR Documentation

Density of the multivariate Student density

Description

The function is adapted from mvtnorm package and computes the (log)-density of the whole sample.

Usage

dmvstud(x, mu = rep(0, p), sigma = diag(p), df = 1, logd = TRUE)

Arguments

x

vector or matrix of observations

mu

centrality parameter

sigma

covariance matrix

df

degrees of freedom parameter, default to 1 (Cauchy distribution)

logd

logical; should log-density be returned? default to TRUE


lbelzile/mgp documentation built on Aug. 5, 2023, 2:34 a.m.