Description Usage Arguments Details Value Author(s) See Also Examples
Draws random deviates from a Wishart pdf.
1 |
N |
Number of random deviates to draw. |
df |
Degrees of freedom for Wishart distribution |
Sigma |
Mean of the Wishart from which to draw the deviates |
Draws N matrices of draws from a Wishart with mean Sigma. This is used to draw error covariances for the VAR and BVAR models which are distributed inverse Wisharts deviates.
Returns an N dimensional array of dim(Sigma) square matrices for the Wishart random deviates. If N=1, it returns a single matrix.
Patrick T. Brandt
See also as rmultnorm
for multivariate normal
deviates, rgamma
for the univariate analog to drawing
Wishart deviates, and ldwishart
for computing the log
density for a Wishart variate.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.