EconPapers    
Economics at your fingertips  
 

lclogit2: An enhanced command to fit latent class conditional logit models

Hong Il Yoo ()
Additional contact information
Hong Il Yoo: Durham University Business School

Stata Journal, 2020, vol. 20, issue 2, 405-425

Abstract: In this article, I describe the lclogit2 command, an enhanced version of lclogit (Pacifico and Yoo, 2013, Stata Journal 13: 625–639). Like its predeces- sor, lclogit2 uses the expectation-maximization algorithm to fit latent class conditional logit (LCL) models. But it executes the expectation-maximization algorithm’s core algebraic operations in Mata, so it runs considerably faster as a result. It also allows linear constraints on parameters to be imposed more conveniently and flexibly. It comes with the parallel command lclogitml2, a new stand-alone command that uses gradient-based algorithms to fit LCL models. Both lclogit2 and lclogitml2 are supported by a new postestimation command, lclogitwtp2, that evaluates willingness-to-pay measures implied by fitted LCL models.

Keywords: lclogit2; lclogitml2; lclogitpr2; lclogitcov2; lclogitwtp2; latent class model; conditional logit; expectation-maximization algorithm; lclogit; fmm; finite mixture; mixlogit; mixed logit; willingness to pay (search for similar items in EconPapers)
Date: 2020
References: Add references at CitEc
Citations: View citations in EconPapers (22)

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0601 link to article purchase
http://www.stata-journal.com/software/sj20-2/st0601/ (text/html)

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:20:y:2019:i:2:p:405-425

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

DOI: 10.1177/1536867X20931003

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-24
Handle: RePEc:tsj:stataj:v:20:y:2019:i:2:p:405-425