EconPapers    
Economics at your fingertips  
 

Identify latent group structures in panel data: The classifylasso command

Wenxin Huang (), Yiru Wang and Lingyun Zhou ()
Additional contact information
Wenxin Huang: Shanghai Jiao Tong University
Lingyun Zhou: Tsinghua University

Stata Journal, 2024, vol. 24, issue 1, 46-71

Abstract: In this article, we introduce a new command, classifylasso, that implements the classifier-lasso method (Su, Shi, and Phillips, 2016, Econometrica 84: 2215–2264) to simultaneously identify and estimate unobserved parameter heterogeneity in panel-data models using penalized techniques. We document the functionality of this command, including 1) penalized least-squares estimation of group-specific coefficients and classification of unknown group membership under a certain number of groups; 2) two lasso-type estimators with robust standard errors, namely, classifier-lasso and postlasso; and 3) determination of the number of groups based on an information criterion. We further develop some postestimation commands to display and visualize the estimation results.

Keywords: classifylasso; classifylasso postestimation; classoselect; classo- coef; classogroup; unobserved parameter heterogeneity; latent group structures; classifier-lasso; penalized least squares; classification (search for similar items in EconPapers)
Date: 2024
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj24-1/st0739/
References: Add references at CitEc
Citations:

Downloads: (external link)
http://hdl.handle.net/10.1177/1536867X241233642

Related works:
Working Paper: Identify latent group structures in panel data: The classifylasso command (2023) Downloads
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:1:p:46-71

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

DOI: 10.1177/1536867X241233642

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 ().

 
Page updated 2025-03-20
Handle: RePEc:tsj:stataj:v:24:y:2024:i:1:p:46-71