stat.iWishart: Obtain the mean and variance of an inverse Wishart...

Description Usage Arguments Value Examples

View source: R/wishart.R

Description

This function calculates the mean and variance of an inverse Wishart distribution based on the input of a scale matrix and the degrees of freedom.

Usage

1

Arguments

sigma

The scale matrix.

m

Degrees of freedom.

Value

A 3d array of generated matrices.

Examples

1
2
sigma <- array(c(2,0.5,0.5,1), dim=c(2,2))
stat.iWishart(sigma, 10)

johnnyzhz/wishartprior documentation built on Jan. 9, 2021, 12:37 a.m.