Description Usage Arguments Details Value References See Also
View source: R/sumOfScaledInverseWisharts.R
Approximate the distribution of a sum of inverse Wishart matrices or a sum of quadratic forms in inverse Wishart matrices with a single inverse Wishart.
1 2 | approximateInverseWishart(invWishartList, method = "trace",
scaleMatrixList = NULL, cell = NULL)
|
invWishartList |
the list of inverse Wishart matrices in the sum |
method |
the moment-matching approach to use. Valid
values are |
scaleMatrixList |
optional, list of scale matrices
to form a sum of quadratic forms. There must be one scale
matrix for each inverse Wishart in the
|
cell |
optional, a vector containing the row and
column of the cell used for variance matching when using
|
Three approximation methods are currently supported
trace
: The default method which
matches the expectation of the sum and the variance of the
trace of the sum
logDeterminant:
A method
which matches the expectation of the sum and the
expectation of the log determinant of the sum
cell
: A method which matches the expectation
of the sum and the variance of a specified cell of the sum
For quadratic forms, a list of scale matrices should be
specified which will be pre- and post- multiplied onto each
inverse Wishart. For example, for the inputs
invWishartList = c(X1, X2)
and scaleMatrixList
= c(A,B)
, the function will calculate the approximate
distribution of A'X1A + B'X2B
the approximating inverse Wishart object
The trace
method implements the approach of:
Kreidler, S. M., Muller, K. E., & Glueck, D. H. An
Approximation to the Distribution of the Sum of Inverse
Wishart Matrices, In review.
The logDeterminant
method is based on the approach
of:
Granstrom, K., & Orguner, U. (2012). On the
reduction of Gaussian inverse Wishart mixtures. In 2012
15th International Conference on Information Fusion
(FUSION) (pp. 2162-2169).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.