Learn R Programming

ramps (version 0.6-12)

DIC: Deviance Information Criterion

Description

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

Usage

## S3 method for class 'ramps':
DIC(object, \dots)

Arguments

object
object returned by georamps.
...
some methods for this generic require additional arguments. None are used in this method.

Value

  • An numeric vector with the following two elements:
  • DICvalue of the Deviance Information Criterion.
  • pDeffective number of model parameters.

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

DIC(NURE.fit)

Run the code above in your browser using DataLab