Cluster-weighted models using Stata
Daniele Spinelli,
Salvatore Ingrassia and
Giorgio Vittadini ()
Stata Journal, 2024, vol. 24, issue 4, 711-745
Abstract:
The cluster-weighted model (CWM) is a member of the family of mixtures of regression models and is also known as a mixture of regressions with random covariates. CWMs refer to the framework of model-based clustering and naturally apply when the research interest requires modeling the relationship be- tween a response variable and a set of covariates using a regression-based approach such as a generalized linear model with the sample being suspected of compris- ing heterogeneous latent classes. A command for fitting these models is not yet available in Stata, so the aim of this article is to introduce the package cwmglm, which fits CWMs based on the most common generalized linear models with ran- dom covariates. Moreover, cwmglm allows the estimation of parsimonious models of Gaussian distributions, with the parameterization of the variance–covariance matrix based on the eigenvalue decomposition. These features are completely new for Stata users. The cwmglm package features goodness-of-fit, bootstrapping, and model-selection tools. We illustrate the use of cwmglm with real and simulated datasets.
Keywords: cluster-weighted model; finite mixtures of regressions with random covariates; model-based clustering; saturated mixture regression model; Gaussian parsimonious models; postestimation (search for similar items in EconPapers)
Date: 2024
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj24-4/st0762/
References: Add references at CitEc
Citations:
Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0762 link to article purchase
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:tsj:stataj:v:24:y:2024:i:4:p:711-745
Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html
DOI: 10.1177/1536867X241297922
Access Statistics for this article
Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins
More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().