Learn R Programming

BGVAR (version 2.2.0)

DIC: Deviance Information Criterion

Description

Computes the Deviance information criterion for an object bgvar.

Usage

DIC(object, ...)

Arguments

object

an object of class bgvar.

...

additional arguments.

Value

Returns a numeric value with the corresponding DIC.

References

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.

Examples

Run this code
# NOT RUN {
library(BGVAR)
data(eerDatasmall)
model.mn <- bgvar(Data=eerDatasmall,W=W.trade0012.small,plag=2,draws=100,burnin=100,prior="MN")
DIC(model.mn)
# }

Run the code above in your browser using DataLab