doi:10.1016/j.csda.2006.08.014
Copyright © 2006 Elsevier B.V. All rights reserved.
Fitting finite mixtures of generalized linear regressions in R
References and further reading may be available for this article. To view references and further reading you must
purchase this article.
Bettina Grüna,
,
and Friedrich Leischb, 
aDepartment of Statistics and Probability Theory, Vienna University of Technology, Wiedner Hauptstraße 8-10/1071, A-1040 Wien, Austria
bDepartment of Statistics, University of Munich, Ludwigstraße 33, D-80539 München, Germany
Available online 31 August 2006.
Abstract
R package flexmix provides flexible modelling of finite mixtures of regression models using the EM algorithm. Several new features of the software such as fixed and nested varying effects for mixtures of generalized linear models and multinomial regression for a priori probabilities given concomitant variables are introduced. The use of the software in addition to model selection is demonstrated on a logistic regression example.
Keywords: Concomitant variable; Finite mixture; Fixed effect; Generalized linear model; 
Fig. 1. Sample with 200 observations from a mixture of binomial regression models. The plotting symbols correspond to the true component memberships and the lines are the fitted values.
Fig. 2. Fitting mixtures of binomial regression models without constraints (Model.1) and with grouped varying effects (Model.2).
Fig. 3. Coefficients of the larger Model.1.
Fig. 4. Summary and parameters of the model with nested varying effects.

Corresponding author. Tel.: +43 1 58801 10716; fax: +43 1 58801 10798.