posterior.Wishart: Posterior based on a Wishart distribution for precision...

Description Usage Arguments Value See Also

View source: R/wishart.R

Description

Combine data and Wishart prior of precision matrix.

Usage

1
posterior.Wishart(n, S, w0, U0)

Arguments

n

Sample size.

S

Sample covariance matrix (MLE).

w0

Degrees of freedom of the Wishart prior.

U0

Scale matrix of the Wishart prior.

Value

The mean and variance of both Wishart and inverse Wishart distribution.

See Also

posterior.iWishart covariance matrix.


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