DIC.Rd
Generic function returning the deviance information criterion (DIC) of a fitted model object.
DIC(object, ...)
A fitted model object for which there exists a DIC
method.
Optionally more fitted model objects.
if (FALSE) d <- GAMart()
b1 <- bamlss(num ~ s(x1), data = d)
#> Error in bamlss.model.frame(formula, data, family, weights, subset, offset, na.action, specials, contrasts): object 'd' not found
b2 <- bamlss(num ~ s(x1) + s(x2), data = d)
#> Error in bamlss.model.frame(formula, data, family, weights, subset, offset, na.action, specials, contrasts): object 'd' not found
DIC(b1, b2)
#> Error in DIC(b1, b2): object 'b1' not found