Description Usage Arguments Value Note
View source: R/sumOfScaledInverseWisharts.R
Equation used for optimization when matching the expectation and variance of the trace to approximate the distribution of a sum of inverse Wishart matrices. Optimization occurs across the degrees of freedom, N.
1 | operand.trace(N, dim, g1, g2, g3, g4)
|
N |
the current degrees of freedom |
dim |
the dimension of the inverse Wishart matrices in the sum |
weightedPrecisionSum |
weighted sum of precision matrices |
expectationSum |
sum of the expected values of each inverse Wishart |
will return 0 or near 0 at optimal value of N
THIS FUNCTION IS OBSOLETE SINCE THIS APPROACH HAS A CLOSED-FORM SOLUTION
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.