bamlss (version 1.1-2)

DIC: Deviance Information Criterion

Description

Generic function returning the deviance information criterion (DIC) of a fitted model object.

Usage

DIC(object, ...)

Arguments

object

A fitted model object for which there exists a DIC method.

Optionally more fitted model objects.

Examples

Run this code
# NOT RUN {
d <- GAMart()
b1 <- bamlss(num ~ s(x1), data = d)
b2 <- bamlss(num ~ s(x1) + s(x2), data = d)
DIC(b1, b2)
# }

Run the code above in your browser using DataLab