logpdf_matrix_gaussian


function logpdf_matrix_gaussian(X:Real[_,_], M:Real[_,_], U:LLT, V:LLT) -> Real

Observe a matrix Gaussian distribution.

  • X: The variate.
  • M: Mean.
  • U: Among-row covariance.
  • V: Among-column covariance.

Returns: the log probability density.

function logpdf_matrix_gaussian(X:Real[_,_], M:Real[_,_], U:LLT, σ2:Real[_]) -> Real

Observe a matrix Gaussian distribution with independent columns.

  • X: The variate.
  • M: Mean.
  • U: Among-row covariance.
  • σ2: Among-column variances.

Returns: the log probability density.

function logpdf_matrix_gaussian(X:Real[_,_], M:Real[_,_], V:LLT) -> Real

Observe a matrix Gaussian distribution with independent rows.

  • X: The variate.
  • M: Mean.
  • V: Among-column covariance.

Returns: the log probability density.

function logpdf_matrix_gaussian(X:Real[_,_], M:Real[_,_], σ2:Real[_]) -> Real

Observe a matrix Gaussian distribution with independent elements.

  • X: The variate.
  • M: Mean.
  • σ2: Among-column variances.

Returns: the log probability density.

function logpdf_matrix_gaussian(X:Real[_,_], M:Real[_,_], σ2:Real) -> Real

Observe a matrix Gaussian distribution with independent elements of identical variance.

  • X: The variate.
  • M: Mean.
  • σ2: Variance.

Returns: the log probability density.