Deviance Information Criterion
Computes the Deviance information criterion for an object bgvar.
bgvar
dic(object, ...) ## S3 method for class 'bgvar' dic(object, ...)
object
...
Returns a numeric value with the corresponding DIC.
library(BGVAR) data(testdata) model.mn <- bgvar(Data=testdata,W=W.test,plag=1,draws=100,burnin=100,prior="MN") dic(model.mn)
Spiegelhalter, D. J. and Best, N. G., Carlin, B. P. and Linde, A. (2002) Bayesian measures of model complexity and fit. Journal of the Royal Statistical Society, Series B, Vol. 64(4), pp. 583-639.
bgvar for estimation of a bgvar object.
Maximilian Boeck
Useful links