EIC | R Documentation |
Compute the entropic measure information criterion for model selection.
## S4 method for signature 'flexmix'
EIC(object, ...)
## S4 method for signature 'stepFlexmix'
EIC(object, ...)
object |
See Methods section below |
... |
Some methods for this generic function may take additional, optional arguments. At present none do. |
Returns a numeric vector with the corresponding EIC value(s).
Compute the EIC of a flexmix
object.
Compute the EIC of all
models contained in the stepFlexmix
object.
Bettina Gruen
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.
data("NPreg", package = "flexmix")
ex1 <- flexmix(yn ~ x + I(x^2), data = NPreg, k = 2)
EIC(ex1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.