Description Usage Arguments Details Value References See Also
View source: R/elicit_priors.R
Returns minimum value for degrees of freedom such that the Inverted Wishart has a well-defined expected value.
1 |
p |
number of variables |
Uses \insertCitePress2012Appliedbayessource parametrization.
X ~ IW(n_w, S)
with S = pxp matrix, ν_w > 2p (the degrees of freedom).
Then:
E[X] = S / (n_w - 2(p + 1))
Finally, the minimum dof n_w are: n_w = 2*(p + 1) + 1.
minimum dof n_w
Other core functions:
bayessource-package
,
make_priors_and_init()
,
marginalLikelihood_internal()
,
marginalLikelihood()
,
mcmc_postproc()
,
samesource_C()
,
two.level.multivariate.calculate.UC()
Other Wishart functions:
diwishart_inverse_R()
,
diwishart_inverse()
,
diwishart()
,
dwishart()
,
riwish_Press()
,
rwish()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.