Home  >>  Archives  >>  Volume 4 Number 1  >>  st0057

The Stata Journal
Volume 4 Number 1: pp. 40-49



Subscribe to the Stata Journal
cover

FIML estimation of an endogenous switching model for count data

Alfonso Miranda
Economics Department
University of Warwick
Abstract.   This paper presents code for fitting a FIML endogenous switching Poisson count model for cross-sectional data in Stata 7: the espoisson command. The Poisson process depends on an unobserved heterogeneity term, ε; a set of explanatory variables, x; and an endogenous dummy, d. The endogenous dummy depends on an unobserved random term, v. Correlation between ε and v is allowed. If a model with exogenous d is fitted instead, correlation between ε and v will result in simultaneous equation bias. The endogenous switching model corrects this problem. After describing the underlying econometric theory behind the command, an example is discussed.
Terms of use     View this article (PDF)

View all articles by this author: Alfonso Miranda

View all articles with these keywords: count models, endogenous switch, sample selection

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS