EconPapers    
Economics at your fingertips  
 

Identify latent group structures in panel data: The classifylasso command

Yiru Wang

Canadian Stata Conference 2023 from Stata Users Group

Abstract: This presentation introduces a new command, classifylasso, that implements the classifier-lasso method to simultaneously identify and estimate unobserved parameter heterogeneity in panel-data models using penalized techniques. I document the functionality of this command, including penalized least-squares estimation of group-specific coefficients and classification of unknown group membership under a certain number of groups; two lasso-type estimators with robust standard errors, namely classifier-lasso and postlasso; and determination of the number of groups based on a BIC-type information criterion. I further introduce postestimation commands to display and visualize the estimation results.

Date: 2023-08-20
References: Add references at CitEc
Citations: View citations in EconPapers (1)

Downloads: (external link)
http://repec.org/csug2023/Canada23_Wang.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:csug23:02

Access Statistics for this paper

More papers in Canadian Stata Conference 2023 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-19
Handle: RePEc:boc:csug23:02