FractionalWishart

0th

Percentile

Fractional Wishart Helper Function

Fractional Wishart Helper Function

Keywords
internal
Usage
FractionalWishart(df, Sigma, covariance = FALSE)
Arguments
df

numeric parameter, “degrees of freedom”.

Sigma

positive definite (\(p\times p\)) “scale” matrix, the matrix parameter of the distribution.

covariance

logical on whether a covariance matrix should be generated

Details

If X_1, ..., X_m is a sample of m independent multivariate Gaussians with mean vector 0, and covariance matrix Sigma, the distribution of M = X'X is W_p(Sigma, m).

Value

A numeric array of dimension p * p * n, where each array is a positive semidefinite matrix, a realization of the Wishart distribution W_p(Sigma, df)

Aliases
  • FractionalWishart
Examples
# NOT RUN {
FractionalWishart(22.5, diag(1, 20))
# }
Documentation reproduced from package rWishart, version 0.1.1, License: GPL-2

Community examples

Looks like there are no examples yet.