Compute the entropic measure information criterion for model selection.

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

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.

Value

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

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

data("NPreg", package = "flexmix")
ex1 <- flexmix(yn ~ x + I(x^2), data = NPreg, k = 2)
EIC(ex1)
#> [1] 0.8005378