Learn R Programming

EpiILM (version 1.2)

epidic:

Description

Computes the Deviance Information Criterion for individual level models

Usage

epidic(burnin, niter, LLchain, LLpostmean)

Arguments

burnin
Burnin period for MCMC
niter
Number of MCMC iterations
LLchain
Loglikelihood values from the MCMC output
LLpostmean
Loglikelihood value of the model with posterior mean of estimates

References

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.