Learn R Programming

flexmix (version 2.3-19)

EIC: Entropic Measure Information Criterion

Description

Compute the entropic measure information criterion for model selection.

Usage

# S4 method for flexmix
EIC(object, ...)
# S4 method for stepFlexmix
EIC(object, ...)

Value

Returns a numeric vector with the corresponding EIC value(s).

Arguments

object

See Methods section below

...

Some methods for this generic function may take additional, optional arguments. At present none do.

Methods

object = "flexmix":

Compute the EIC of a flexmix object.

object = "stepFlexmix":

Compute the EIC of all models contained in the stepFlexmix object.

Author

Bettina Gruen

References

V. Ramaswamy, W. S. DeSarbo, D. J. Reibstein, and W. T. Robinson. An empirical pooling approach for estimating marketing mix elasticities with PIMS data. Marketing Science, 12(1), 103--124, 1993.

Examples

Run this code
data("NPreg", package = "flexmix")
ex1 <- flexmix(yn ~ x + I(x^2), data = NPreg, k = 2)
EIC(ex1)

Run the code above in your browser using DataLab