EconPapers    
Economics at your fingertips  
 

A Stata package for cluster-weighted modeling

Daniele Spinelli

Italian Stata Users' Group Meetings 2022 from Stata Users Group

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

Date: 2022-07-03
References: Add references at CitEc
Citations:

Downloads: (external link)
http://repec.org/isug2022/Italy22_Spinelli.pdf presentation materials (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:isug22:04

Access Statistics for this paper

More papers in Italian Stata Users' Group Meetings 2022 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-31
Handle: RePEc:boc:isug22:04