I found a way to manually calculate the ICL for a betamix() result, using the
entropy.empirical() command from the 'entropy' package. Here is the code:

model=betamix(y~x)
BIC(model)+entropy.empirical(posterior(model))

Cheers,
Chris



--
View this message in context: 
http://r.789695.n4.nabble.com/ICL-for-betamix-tp4691328p4691671.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to