IDEAS home Printed from https://ideas.repec.org/p/boc/isug22/04.html
   My bibliography  Save this paper

A Stata package for cluster-weighted modeling

Author

Listed:
  • Daniele Spinelli

    (University of Milan–Bicocca)

Abstract

The cluster-weighted model (CWM) is a member of the family of the mixtures of regression models, and is also referred to in the literature as the mixture of regression with random covariates. These models extend finite mixture models by allowing the researcher to model the marginal distribution of regression covariates along with the conditional distribution. The attention on CWMs is increasing; indeed, software for estimating these kinds of models is available to R users but not for Stata users. Thus, the aim of this presentation is to introduce the Stata package cwmglm. This package extends the capabilities of fmm by introducing more advanced mixture models based on maximum likelihood estimation and the expectation maximization (EM) algorithm. cwmglm allows users to fit CWMs based on the most common generalized linear models (GLM) with random covariates. The supported GLM families are Gaussian, Poisson and binomial, while the allowed marginal distributions for the covariates are multivariate normal, multinomial, binomial, and Poisson. cwmglm extends the current capabilities in the estimation of CWMs by allowing users to evaluate model

Suggested Citation

  • Daniele Spinelli, 2022. "A Stata package for cluster-weighted modeling," Italian Stata Users' Group Meetings 2022 04, Stata Users Group.
  • Handle: RePEc:boc:isug22:04
    as

    Download full text from publisher

    File URL: http://repec.org/isug2022/Italy22_Spinelli.pdf
    File Function: presentation materials
    Download Restriction: no
    ---><---

    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:boc:isug22:04. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: https://edirc.repec.org/data/stataea.html .

    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.