
Log density of the matrix-T distribution with inverse-gamma right covariance
Source:R/func_lppd_ana.R
dMTig.RdEvaluates the log (or raw) density of the matrix-T distribution that arises when the right covariance is \(\sigma^2 R\) and \(\sigma^2 \sim IG(\nu, d)\).
Arguments
- Y
Numeric matrix. Observation matrix (\(p \times S\)).
- m
Numeric matrix. Mean matrix (\(p \times S\)).
- M
Numeric matrix. Left covariance matrix (\(p \times p\), positive definite).
- nu
Numeric scalar. Degrees of freedom (shape parameter of the inverse-gamma on \(\sigma^2\)).
- d
Numeric scalar. Rate parameter of the inverse-gamma on \(\sigma^2\)).
- R
Numeric matrix. Right correlation matrix (\(S \times S\), positive definite).
- log
Logical. If
TRUE(default), returns the log density.