IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v011i08.html
   My bibliography  Save this article

FlexMix: A General Framework for Finite Mixture Models and Latent Class Regression in R

Author

Listed:
  • Leisch, Friedrich

Abstract

FlexMix implements a general framework for fitting discrete mixtures of regression models in the R statistical computing environment: three variants of the EM algorithm can be used for parameter estimation, regressors and responses may be multivariate with arbitrary dimension, data may be grouped, e.g., to account for multiple observations per individual, the usual formula interface of the S language is used for convenient model specification, and a modular concept of driver functions allows to interface many different types of regression models. Existing drivers implement mixtures of standard linear models, generalized linear models and model-based clustering. FlexMix provides the E-step and all data handling, while the M-step can be supplied by the user to easily define new models.

Suggested Citation

  • Leisch, Friedrich, 2004. "FlexMix: A General Framework for Finite Mixture Models and Latent Class Regression in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 11(i08).
  • Handle: RePEc:jss:jstsof:v:011:i08
    DOI: http://hdl.handle.net/10.18637/jss.v011.i08
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v011i08/v11i08.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v011i08/flexmix_1.0-0.tar.gz
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v011.i08?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Wayne DeSarbo & William Cron, 1988. "A maximum likelihood methodology for clusterwise linear regression," Journal of Classification, Springer;The Classification Society, vol. 5(2), pages 249-282, September.
    2. Michel Wedel & Wayne DeSarbo, 1995. "A mixture likelihood approach for generalized linear models," Journal of Classification, Springer;The Classification Society, vol. 12(1), pages 21-55, March.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Pennings, Joost M.E. & Garcia, Philip & Irwin, Scott H. & Good, Darrel L., 2003. "How To Group Market Participants? Heterogeneity In Hedging Behavior," 2003 Annual meeting, July 27-30, Montreal, Canada 21963, American Agricultural Economics Association (New Name 2008: Agricultural and Applied Economics Association).
    2. Heungsun Hwang & Marc Tomiuk, 2010. "Fuzzy clusterwise quasi-likelihood generalized linear models," Advances in Data Analysis and Classification, Springer;German Classification Society - Gesellschaft für Klassifikation (GfKl);Japanese Classification Society (JCS);Classification and Data Analysis Group of the Italian Statistical Society (CLADAG);International Federation of Classification Societies (IFCS), vol. 4(4), pages 255-270, December.
    3. Pennings, Joost M.E. & Garcia, Philip & Irwin, Scott H., 2011. "Accounting for Heterogeneity in Hedging Behavior: Comparing & Evaluating Grouping Methods," 2011 International Congress, August 30-September 2, 2011, Zurich, Switzerland 114787, European Association of Agricultural Economists.
    4. Salvatore Ingrassia & Simona Minotti & Giorgio Vittadini, 2012. "Local Statistical Modeling via a Cluster-Weighted Approach with Elliptical Distributions," Journal of Classification, Springer;The Classification Society, vol. 29(3), pages 363-401, October.
    5. David F. Larcker & Scott A. Richardson, 2004. "Fees Paid to Audit Firms, Accrual Choices, and Corporate Governance," Journal of Accounting Research, Wiley Blackwell, vol. 42(3), pages 625-658, June.
    6. Salvatore Ingrassia & Antonio Punzo, 2020. "Cluster Validation for Mixtures of Regressions via the Total Sum of Squares Decomposition," Journal of Classification, Springer;The Classification Society, vol. 37(2), pages 526-547, July.
    7. Michele Battisti & Filippo Belloc & Massimo Del Gatto, 2015. "Unbundling Technology Adoption and tfp at the Firm Level: Do Intangibles Matter?," Journal of Economics & Management Strategy, Wiley Blackwell, vol. 24(2), pages 390-414, June.
    8. Chen, Cathy W.S. & Chan, Jennifer S.K. & So, Mike K.P. & Lee, Kevin K.M., 2011. "Classification in segmented regression problems," Computational Statistics & Data Analysis, Elsevier, vol. 55(7), pages 2276-2287, July.
    9. Martínez-Zarzoso, Inmaculada & Maruotti, Antonello, 2011. "The impact of urbanization on CO2 emissions: Evidence from developing countries," Ecological Economics, Elsevier, vol. 70(7), pages 1344-1353, May.
    10. Ana Oliveira-Brochado & Francisco Vitorino Martins, 2008. "Determining the Number of Market Segments Using an Experimental Design," FEP Working Papers 263, Universidade do Porto, Faculdade de Economia do Porto.
    11. Réal Carbonneau & Gilles Caporossi & Pierre Hansen, 2014. "Globally Optimal Clusterwise Regression By Column Generation Enhanced with Heuristics, Sequencing and Ending Subset Optimization," Journal of Classification, Springer;The Classification Society, vol. 31(2), pages 219-241, July.
    12. Larcker, David F., 2003. "Discussion of "are executive stock options associated with future earnings?"," Journal of Accounting and Economics, Elsevier, vol. 36(1-3), pages 91-103, December.
    13. Pennings, Joost M. E. & Garcia, Philip, 2004. "Hedging behavior in small and medium-sized enterprises: The role of unobserved heterogeneity," Journal of Banking & Finance, Elsevier, vol. 28(5), pages 951-978, May.
    14. Teague R. Henry & Kathleen M. Gates & Mitchell J. Prinstein & Douglas Steinley, 2020. "Modeling Heterogeneous Peer Assortment Effects Using Finite Mixture Exponential Random Graph Models," Psychometrika, Springer;The Psychometric Society, vol. 85(1), pages 8-34, March.
    15. Tom Frans Wilderjans & Eva Gaer & Henk A. L. Kiers & Iven Mechelen & Eva Ceulemans, 2017. "Principal Covariates Clusterwise Regression (PCCR): Accounting for Multicollinearity and Population Heterogeneity in Hierarchically Organized Data," Psychometrika, Springer;The Psychometric Society, vol. 82(1), pages 86-111, March.
    16. repec:jss:jstsof:11:i08 is not listed on IDEAS
    17. Allen, Eric J. & Larson, Chad R. & Sloan, Richard G., 2013. "Accrual reversals, earnings and stock returns," Journal of Accounting and Economics, Elsevier, vol. 56(1), pages 113-129.
    18. Ana Oliveira-Brochado & Francisco Vitorino Martins, 2014. "Identifying Small Market Segments with Mixture Regression Models," International Journal of Finance, Insurance and Risk Management, International Journal of Finance, Insurance and Risk Management, vol. 4(4), pages 812-812.
    19. Kagie, M. & van der Loos, M.J.H.M. & van Wezel, M.C., 2008. "Including Item Characteristics in the Probabilistic Latent Semantic Analysis Model for Collaborative Filtering," ERIM Report Series Research in Management ERS-2008-053-MKT, Erasmus Research Institute of Management (ERIM), ERIM is the joint research institute of the Rotterdam School of Management, Erasmus University and the Erasmus School of Economics (ESE) at Erasmus University Rotterdam.
    20. Ana Oliveira-Brochado & Francisco Vitorino Martins, 2008. "Segmentação de Mercado e modelos mistura de regressão para variáveis normais," FEP Working Papers 262, Universidade do Porto, Faculdade de Economia do Porto.
    21. El Assaad, Hani & Samé, Allou & Govaert, Gérard & Aknin, Patrice, 2016. "A variational Expectation–Maximization algorithm for temporal data clustering," Computational Statistics & Data Analysis, Elsevier, vol. 103(C), pages 206-228.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:011:i08. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.