@riwish |



density function.![]() | (18.8) |
and
are symmetric
matrices, and
.
. The forms are distinguished by different suffixes that are applied to the base “@rwish” command and how they change the interpretation of the S matrix argument:@riwish | “” | Supply . |
@riwishc | “c” | Supply the Cholesky decomposition of . This form is more efficient when performing multiple draws from the same distribution (compute the Cholesky once, but sample many times). |
@riwishi | “i” | Supply . This form is more efficient than explicitly inverting to supply . |
@riwishic | “ic” | Supply the Cholesky decomposition of . This form combines the efficiencies of the Cholesky and inverse forms. |
is an inverse Wishart random variable, then
is follows a Wishart distribution:
distribution.