Learn R Programming

emax.glm (version 0.1.2)

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

Description

Calculate the BIC of the em.glm model

Usage

# S3 method for em.glm
BIC(object, ...)

Arguments

object

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

...

optionally more fitted model objects.

Value

The BIC score of the model.

Examples

Run this code
# NOT RUN {
y <- c(AirPassengers)
n <- length(y)
x <- as.matrix(rep(1, n))
m <- em.glm(x = x, y = y, K = 2, b.init = "random")
BIC(m)

# }

Run the code above in your browser using DataLab