DIC: Deviance Information Criterion

View source: R/903_post_hoc_fns.R

DICR Documentation

Deviance Information Criterion

Description

Calculate the Deviance Information Criterion (DIC) through an approximation based solely on the values of the log-likelihood at each iteration of the Markov Chain Monte Carlo results.

Usage

DIC(log_likelihood, burn_in = 0)

Arguments

log_likelihood

A vector of the log-likelihood values

burn_in

A scalar indicating how many of the values should be removed from the beginning of the log_likelihood vector

Value

The DIC approximation value (a scalar)


danieladamspencer/bayestensorreg documentation built on July 23, 2024, 10:14 a.m.