dic {BGVAR} | R Documentation |
Computes the Deviance information criterion for an object bgvar
.
dic(object, ...)
## S3 method for class 'bgvar'
dic(object, ...)
object |
An object of class |
... |
Additional arguments. |
Returns a numeric value with the corresponding DIC.
Maximilian Boeck
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.
library(BGVAR)
data(testdata)
model.mn <- bgvar(Data=testdata,W=W.test,plag=2,draws=100,burnin=100,prior="MN")
dic(model.mn)