AIC.em.glm: Calculate the AIC of the em.glm model

Description Usage Arguments Value Examples

Description

Calculate the AIC of the em.glm model

Usage

1
2
## S3 method for class 'em.glm'
AIC(object, ..., k = 2)

Arguments

object

A 'em.glm' class returned by the em.glm function.

...

optionally more fitted model objects.

k

numeric, the penalty per parameter to be used; the default k = 2 is the classical AIC.

Value

The AIC score of the model.

Examples

1
2
3
4
5
y <- c(AirPassengers)
n <- length(y)
x <- as.matrix(rep(1, n))
m <- em.glm(x = x, y = y, K = 2, b.init = "random")
AIC(m)

emax.glm documentation built on July 4, 2019, 5:04 p.m.