| computeDIC_ASV | R Documentation |
Function for calculating DIC and Pb (Bayesian measures of model complexity and fit by Spiegelhalter et al. 2002)
computeDIC_ASV(y, beta, post_sigma2, post_loglike)
y |
the |
beta |
the known mean of the process. 0 by default. |
post_sigma2 |
posterior samples of the variance, i.e. exp(h) |
post_loglike |
log likelihood based on the posterior sample. |
a list containing DIC and p_d. Two options for estimating both DIC and p_d, which are both included.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.