DIC | R Documentation |
Computes the Deviance Information Criterion (DIC), which is a generalization of the Akaike Information Criterion. Models with smaller DIC are considered to fit better than models with larger DIC.
DIC(object, ...)
object |
an instance of class |
... |
further arguments passed to other methods. |
DIC is defined as DIC = 2*\bar{D} - D_θ where: \bar{D} = -2 mean(log-likelihood at parameter samples) D_θ = -2 * log(likelihood at expected value of parameters)
DIC is calculated as: 2 * (-2 * mean(log-likelihood at each element of parameter samples)) - (-2 * log(likelihood at mean parameter sample value))
a numeric value with the corresponding DIC
Note the speed of computation of the DIC in proportional to the number of sampled values of the parameters in the opm object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.