The Wishart distribution over positive-definite matrices. Used as a prior for covariance or precision matrices.
Note
Latent (sampled) Wishart variables are not yet supported because a
correct positive-definite-matrix transform (Cholesky factor with
positive diagonal plus the matching Jacobian) is not yet implemented.
model() will error if a Wishart variable is reachable as a free
parameter. The distribution can still be evaluated (log_prob);
sampler-ready support is planned for v0.3.
Examples
if (FALSE) { # \dontrun{
Sigma <- wishart(df = 5, scale_matrix = diag(3))
} # }
