Learn R Programming

ramps (version 0.6.18)

DIC: Deviance Information Criterion

Description

Calculates the Deviance Information Criterion (DIC) for comparisons of georamps model fits.

Usage

# S3 method for ramps
DIC(object, ...)

Value

An numeric vector with the following two elements:

DIC

value of the Deviance Information Criterion.

pD

effective number of model parameters.

Arguments

object

object returned by georamps.

...

some methods for this generic require additional arguments. None are used in this method.

Author

Brian Smith brian-j-smith@uiowa.edu

References

Spiegelhalter, D.J., Best, N.G., Carlin, B.P., and van der Linde, A. (2002) “Bayesian Measures of Model Complexity and Fit”, Journal of the Royal Statistical Society - Series B, 64, 583-639.

See Also

georamps

Examples

Run this code
## DIC calculation for georamps example results

if (FALSE) {
DIC(NURE.fit)
}

Run the code above in your browser using DataLab