Deviance information criterion

From HandWiki
Revision as of 19:27, 8 February 2024 by John Stpola (talk | contribs) (change)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The deviance information criterion (DIC) is a hierarchical modeling generalization of the Akaike information criterion (AIC). It is particularly useful in Bayesian model selection problems where the posterior distributions of the models have been obtained by Markov chain Monte Carlo (MCMC) simulation. DIC is an asymptotic approximation as the sample size becomes large, like AIC. It is only valid when the posterior distribution is approximately multivariate normal.

Definition

Define the deviance as [math]\displaystyle{ D(\theta)=-2 \log(p(y|\theta))+C\, }[/math], where [math]\displaystyle{ y }[/math] are the data, [math]\displaystyle{ \theta }[/math] are the unknown parameters of the model and [math]\displaystyle{ p(y|\theta) }[/math] is the likelihood function. [math]\displaystyle{ C }[/math] is a constant that cancels out in all calculations that compare different models, and which therefore does not need to be known.

There are two calculations in common usage for the effective number of parameters of the model. The first, as described in (Spiegelhalter Best), is [math]\displaystyle{ p_D=\overline{D(\theta)}-D(\bar{\theta}) }[/math], where [math]\displaystyle{ \bar{\theta} }[/math] is the expectation of [math]\displaystyle{ \theta }[/math]. The second, as described in (Gelman Carlin), is [math]\displaystyle{ p_D = p_V = \frac{1}{2}\overline{\operatorname{var}\left(D(\theta)\right)} }[/math]. The larger the effective number of parameters is, the easier it is for the model to fit the data, and so the deviance needs to be penalized.

The deviance information criterion is calculated as

[math]\displaystyle{ \mathrm{DIC} = p_D+\overline{D(\theta)}, }[/math]

or equivalently as

[math]\displaystyle{ \mathrm{DIC} = D(\bar{\theta})+2 p_D. }[/math]

From this latter form, the connection with AIC is more evident.

Motivation

The idea is that models with smaller DIC should be preferred to models with larger DIC. Models are penalized both by the value of [math]\displaystyle{ \bar{D} }[/math], which favors a good fit, but also (similar to AIC) by the effective number of parameters [math]\displaystyle{ p_D }[/math]. Since [math]\displaystyle{ \bar D }[/math] will decrease as the number of parameters in a model increases, the [math]\displaystyle{ p_D }[/math] term compensates for this effect by favoring models with a smaller number of parameters.

An advantage of DIC over other criteria in the case of Bayesian model selection is that the DIC is easily calculated from the samples generated by a Markov chain Monte Carlo simulation. AIC requires calculating the likelihood at its maximum over [math]\displaystyle{ \theta }[/math], which is not readily available from the MCMC simulation. But to calculate DIC, simply compute [math]\displaystyle{ \bar{D} }[/math] as the average of [math]\displaystyle{ D(\theta) }[/math] over the samples of [math]\displaystyle{ \theta }[/math], and [math]\displaystyle{ D(\bar{\theta}) }[/math] as the value of [math]\displaystyle{ D }[/math] evaluated at the average of the samples of [math]\displaystyle{ \theta }[/math]. Then the DIC follows directly from these approximations. Claeskens and Hjort (2008, Ch. 3.5) show that the DIC is large-sample equivalent to the natural model-robust version of the AIC.

Assumptions

In the derivation of DIC, it is assumed that the specified parametric family of probability distributions that generate future observations encompasses the true model. This assumption does not always hold, and it is desirable to consider model assessment procedures in that scenario.

Also, the observed data are used both to construct the posterior distribution and to evaluate the estimated models. Therefore, DIC tends to select over-fitted models.

Extensions

A resolution to the issues above was suggested by (Ando 2007), with the proposal of the Bayesian predictive information criterion (BPIC). Ando (2010, Ch. 8) provided a discussion of various Bayesian model selection criteria. To avoid the over-fitting problems of DIC, (Ando 2011) developed Bayesian model selection criteria from a predictive view point. The criterion is calculated as

[math]\displaystyle{ \mathit{IC} =\bar{D}+2p_D=-2\mathbf{E}^\theta[ \log(p(y|\theta))]+2p_D. }[/math]

The first term is a measure of how well the model fits the data, while the second term is a penalty on the model complexity. Note that the p in this expression is the predictive distribution rather than the likelihood above.

See also

References

External links