IDEAS home Printed from
   My bibliography  Save this paper

FIML estimation of an endogenous switching model for count data


  • Alfonso Miranda Caso Luengo

    () (Warwick University)


We develop FIML code for estimating a Poisson Count data model with lognormal unobserved heterogeneity and an endogenous dummy variable as proposed by Terza (1998). Gauss-Hermite quadrature is used for calculating the log-likelihood and a -ml d0- method is employed. We present an example and discuss the problems found during the development of the code.

Suggested Citation

  • Alfonso Miranda Caso Luengo, 2003. "FIML estimation of an endogenous switching model for count data," United Kingdom Stata Users' Group Meetings 2003 07, Stata Users Group.
  • Handle: RePEc:boc:usug03:07

    Download full text from publisher

    File URL:
    Download Restriction: no

    Other versions of this item:

    References listed on IDEAS

    1. Terza, Joseph V., 1998. "Estimating count data models with endogenous switching: Sample selection and endogenous treatment effects," Journal of Econometrics, Elsevier, vol. 84(1), pages 129-154, May.
    2. Gurmu, Shiferaw, 1997. "Semi-Parametric Estimation of Hurdle Regression Models with an Application to Medicaid Utilization," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 12(3), pages 225-243, May-June.
    3. Windmeijer, F A G & Silva, J M C Santos, 1997. "Endogeneity in Count Data Models: An Application to Demand for Health Care," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 12(3), pages 281-294, May-June.
    4. Wiji Arulampalam & Alison L. Booth, 1997. "Who gets over the training hurdle? A study of the training experiences of young men and women in Britain," Journal of Population Economics, Springer;European Society for Population Economics, vol. 10(2), pages 197-217.
    5. Francisco Covas & J.M.C. Santos Silva, 2000. "A modified hurdle model for completed fertility," Journal of Population Economics, Springer;European Society for Population Economics, vol. 13(2), pages 173-188.
    6. Weiren Wang & Felix Famoye, 1997. "Modeling household fertility decisions with generalized Poisson regression," Journal of Population Economics, Springer;European Society for Population Economics, vol. 10(3), pages 273-283.
    Full references (including those not matched with items on IDEAS)


    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.

    Cited by:

    1. Bratti, Massimiliano & Miranda, Alfonso, 2010. "Endogenous Treatment Effects for Count Data Models with Sample Selection or Endogenous Participation," IZA Discussion Papers 5372, Institute for the Study of Labor (IZA).
    2. Andrés Ramírez Hassan & Johnatan Cardona Jimenez & Ramiro Cadavid Montoya, 2011. "The impact of subsidized health insurance on the poor in Colombia: Evaluating the case of Medellin," DOCUMENTOS DE TRABAJO CIEF 010602, UNIVERSIDAD EAFIT.
    3. Vondolia, Godwin Kofi & Eggert, Håkan & Stage, Jesper, "undated". "Nudging Boserup? The Impact of Fertilizer Subsidies on Investment in Soil and Water Conservation," Discussion Papers dp-12-08-efd, Resources For the Future.
    4. Kevin E. Staub, 2009. "Simple tests for exogeneity of a binary explanatory variable in count data regression models," SOI - Working Papers 0904, Socioeconomic Institute - University of Zurich.
    5. Geraci, A. & Fabbri, D. & Monfardini, C., 2014. "Testing exogeneity of multinomial regressors in count data models: does two stage residual inclusion work?," Health, Econometrics and Data Group (HEDG) Working Papers 14/03, HEDG, c/o Department of Economics, University of York.
    6. Alfonso Miranda & Sophia Rabe-Hesketh, 2006. "Maximum likelihood estimation of endogenous switching and sample selection models for binary, ordinal, and count variables," Stata Journal, StataCorp LP, vol. 6(3), pages 285-308, September.
    7. Michael J. Peel, 2014. "Addressing unobserved endogeneity bias in accounting studies: control and sensitivity methods by variable type," Accounting and Business Research, Taylor & Francis Journals, vol. 44(5), pages 545-571, October.
    8. Francois Degeorge & Francois Derrien & Kent L. Womack, 2007. "Analyst Hype in IPOs: Explaining the Popularity of Bookbuilding," Review of Financial Studies, Society for Financial Studies, vol. 20(4), pages 1021-1058.
    9. Emilio Parrado & Chenoa Flippen & Chris McQuiston, 2005. "Migration and relationship power among mexican women," Demography, Springer;Population Association of America (PAA), vol. 42(2), pages 347-372, May.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:


    Access and download statistics


    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:usug03:07. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F Baum). General contact details of provider: .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.