Categories &

Functions List

Function Reference: iwishpdf

statistics: y = iwishpdf (W, Tau, df, log_y=false)

Compute the probability density function of the inverse Wishart distribution.

Inputs: A p x p matrix W where to find the PDF and the p x p positive definite scale matrix Tau and scalar degrees of freedom parameter df characterizing the inverse Wishart distribution. (For the density to be finite, need df > (p - 1).) If the flag log_y is set, return the log probability density – this helps avoid underflow when the numerical value of the density is very small.

Output: y is the probability density of Wishart(Sigma, df) at W.

Input arguments must be double or single; integer, logical, and character arrays are rejected. MATLAB accepts a character array and evaluates it at the character codes, which Octave deliberately does not, since a character array is an integer type and integers are refused too.

See also: iwishrnd, wishpdf, wishrnd

Source Code: iwishpdf