EconPapers    
Economics at your fingertips  
 

mixmcm: A community-contributed command for fitting mixtures of Markov chain models using maximum likelihood and the EM algorithm

Legrand Saint-Cyr and Laurent Piet ()

Stata Journal, 2019, vol. 19, issue 2, 294-334

Abstract: Markov chain models and finite mixture models have been widely applied in various strands of the academic literature. Several studies analyzing dynamic processes have combined both modeling approaches to account for un- observed heterogeneity within a population. In this article, we describe mixmcm, a community-contributed command that fits the general class of mixed Markov chain models, accounting for the possibility of both entries into and exits from the population. To account for the possibility of incomplete information within the data (that is, unobserved heterogeneity), the model is fit with maximum like- lihood using the expectation-maximization algorithm. mixmcm enables users to fit the mixed Markov chain models parametrically or semiparametrically, depending on the specifications chosen for the transition probabilities and the mixing distri- bution. mixmcm also allows for endogenous identification of the optimal number of homogeneous chains, that is, unobserved types or “components”. We illustrate mixmcm’s usefulness through three examples analyzing farm dynamics using an unbalanced panel of commercial French farms. Copyright 2019 by StataCorp LP.

Keywords: mixmcm; Markov chain model; finite mixture model; EM algorithm; mlogit; fmlogit (search for similar items in EconPapers)
Date: 2019
References: Add references at CitEc
Citations: View citations in EconPapers (1)

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0556 link to article purchase
http://www.stata-journal.com/software/sj19-2/st0556/ (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:19:y:2019:i:2:p:294-334

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

DOI: 10.1177/1536867X19854015

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-31
Handle: RePEc:tsj:stataj:v:19:y:2019:i:2:p:294-334