powered by
Calculate the BIC of the em.glm model
# S3 method for em.glm BIC(object, ...)
A 'em.glm' class returned by the em.glm function.
optionally more fitted model objects.
The BIC score of the model.
# 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