dwish {MCMCpack}R Documentation

Evaluate the Density of the Wishart Distribution

Description

This evaluates the density of the Wishart Distribution at the positive definite matrix W.

Usage

   dwish(W, v, S)

Arguments

W Positive definite matrix W (p x p).
v Wishart degrees of freedom (scalar).
S Wishart scale matrix (p x p).

Value

The density evaluated at W.

See Also

rwish

Examples

x <- dwish(matrix(c(2,-.3,-.3,4),2,2), 3, matrix(c(1,.3,.3,1),2,2))

[Package Contents]