Computes the Deviance Information Criterion for individual level models
epidic (burnin, niter, LLchain, LLpostmean)
Burnin period for MCMC
Number of MCMC iterations
Loglikelihood values from the MCMC output
Loglikelihood value of the model with posterior mean of estimates
Spiegelhalter, D., Best, N., Carlin, B., Van der Linde, A. (2002). Bayesian Measures of Model Complexity and Fit. Journal of the Royal Statistical Society. Series B (Statistical Methodology), 64(4), 583-639.