extractAIC: Extract AIC from a Fitted Model

extractAICR Documentation

Extract AIC from a Fitted Model

Description

Computes the (generalized) AIC for a fitted robmixglm model. Used in step, otherwise use AIC.

Usage

## S3 method for class 'robmixglm'
extractAIC(fit,  scale,  k  =  2,  ...)

Arguments

fit

fitted robmixglm model.

scale

ignored.

k

numeric specifying the ‘weight’ of the equivalent degrees of freedom ( = : edf) part in the AIC formula.

...

further arguments (currently unused).

Author(s)

Ken Beath

See Also

extractAIC, step

Examples

library(MASS)
data(forbes)
forbes.robustmix <- robmixglm(bp~pres, data = MASS::forbes, cores = 1)
extractAIC(forbes.robustmix)

robmixglm documentation built on May 9, 2022, 9:08 a.m.