IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v4y2004i1p40-49.html
   My bibliography  Save this article

FIML estimation of an endogenous switching model for count data

Author

Listed:
  • 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, epsilon; a set of explanatory variables, x; and an endogenous dummy, d. The endogenous dummy depends on an unobserved random term, nu. Correlation between epsilon and nu is allowed. If a model with exogenous d is fitted instead, correlation between epsilon and nu 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.

Suggested Citation

  • Alfonso Miranda, 2004. "FIML estimation of an endogenous switching model for count data," Stata Journal, StataCorp LP, vol. 4(1), pages 40-49, March.
  • Handle: RePEc:tsj:stataj:v:4:y:2004:i:1:p:40-49
    Note: Windows users should not attempt to download these files with a web browser.
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/software/sj4-1/st0057/
    Download Restriction: no

    File URL: http://www.stata-journal.com/sjpdf.html?articlenum=st0057
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. 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.
    2. 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.
    3. 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.
    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

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


    Cited by:

    1. Nonkululeko Thandeka Brightness Zondi & Mjabuliseni Simon Cloapas Ngidi & Temitope Oluwaseun Ojo & Simphiwe Innocentia Hlatshwayo, 2022. "Impact of Market Participation of Indigenous Crops on Household Food Security of Smallholder Farmers of South Africa," Sustainability, MDPI, vol. 14(22), pages 1-19, November.
    2. AZUMAH, Shaibu Baanni & MAHAMA, Abass & DONKOH, Samuel A., 2020. "Modelling The Determinants Of Adoption Of Multiple Climate Change Coping And Adaptation Strategies. A Micro Analysis Of Smallholder Farmers In Northern Ghana," Review of Agricultural and Applied Economics (RAAE), Faculty of Economics and Management, Slovak Agricultural University in Nitra, vol. 23(1), March.
    3. Massimiliano Bratti & Alfonso Miranda, 2011. "Endogenous treatment effects for count data models with endogenous participation or sample selection," Health Economics, John Wiley & Sons, Ltd., vol. 20(9), pages 1090-1109, September.
    4. Karol Wyszynski & Giampiero Marra, 2018. "Sample selection models for count data in R," Computational Statistics, Springer, vol. 33(3), pages 1385-1412, September.
    5. Vondolia, Godwin Kofi & Eggert, HÃ¥kan & Stage, Jesper, "undated". "Nudging Boserup? The Impact of Fertilizer Subsidies on Investment in Soil and Water Conservation," RFF Working Paper Series dp-12-08-efd, Resources for the Future.
    6. 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.
    7. 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.
    8. Zakaria, Abraham & Azumah, Shaibu Baanni & Appiah-Twumasi, Mark & Dagunga, Gilbert, 2020. "Adoption of climate-smart agricultural practices among farm households in Ghana: The role of farmer participation in training programmes," Technology in Society, Elsevier, vol. 63(C).
    9. Bratti, M. & Miranda, A, 2010. "Endogenous Treatment Effects for Count Data Models with Sample Selection or Endogenous Participation," Health, Econometrics and Data Group (HEDG) Working Papers 10/19, HEDG, c/o Department of Economics, University of York.
    10. 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 10602, Universidad EAFIT.
    11. Hong, Jinhyun & Thakuriah, Piyushimita Vonu, 2018. "Examining the relationship between different urbanization settings, smartphone use to access the Internet and trip frequencies," Journal of Transport Geography, Elsevier, vol. 69(C), pages 11-18.
    12. 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.
    13. Geraci Andrea & Fabbri Daniele & Monfardini Chiara, 2018. "Testing Exogeneity of Multinomial Regressors in Count Data Models: Does Two-stage Residual Inclusion Work?," Journal of Econometric Methods, De Gruyter, vol. 7(1), pages 1-19, January.
    14. 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.
    15. 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.
    16. Feleke, S. & Manyong, V. & Abdoulaye, T. & Alene, A. & Wossen, T. & Dontsop, P., 2018. "Are agricultural technologies pro-poor? The case of improved cassava varieties in sub-Saharan Africa," 2018 Conference, July 28-August 2, 2018, Vancouver, British Columbia 277196, International Association of Agricultural Economists.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Echávarri Aguinaga, Rebeca, 2009. "Education and the dynamics of family decisions," DFAEII Working Papers 1988-088X, University of the Basque Country - Department of Foundations of Economic Analysis II.
    2. Michael Creel, 2002. "Hausman Tests for Inefficient Estimators: Application to Demand for Health Care Service (revised)," UFAE and IAE Working Papers 509.02, Unitat de Fonaments de l'Anàlisi Econòmica (UAB) and Institut d'Anàlisi Econòmica (CSIC).
    3. Andrés Romeu & Marcos Vera-Hernández, 2005. "Counts with an endogenous binary regressor: A series expansion approach," Econometrics Journal, Royal Economic Society, vol. 8(1), pages 1-22, March.
    4. 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 10602, Universidad EAFIT.
    5. Andr? Romeu-Santana & ?gel M. Vera-Hern?dez, "undated". "A Semi-Nonparametric Estimator For Counts With An Endogenous Dummy. Variable," UFAE and IAE Working Papers 452.00, Unitat de Fonaments de l'Anàlisi Econòmica (UAB) and Institut d'Anàlisi Econòmica (CSIC).
    6. Alfonso Miranda, 2003. "Socio-economic characteristics, completed fertility, and the transition from low to high order parities in Mexico," Labor and Demography 0308001, University Library of Munich, Germany.
    7. repec:ebl:ecbull:v:3:y:2008:i:42:p:1-13 is not listed on IDEAS
    8. Greene, William, 2007. "Functional Form and Heterogeneity in Models for Count Data," Foundations and Trends(R) in Econometrics, now publishers, vol. 1(2), pages 113-218, August.
    9. Stefano Mainardi, 2003. "Testing convergence in life expectancies: count regression models on panel data," Prague Economic Papers, Prague University of Economics and Business, vol. 2003(4), pages 350-370.
    10. Stiebale, Joel, 2016. "Cross-border M&As and innovative activity of acquiring and target firms," Journal of International Economics, Elsevier, vol. 99(C), pages 1-15.
    11. Massimiliano Bratti & Alfonso Miranda, 2010. "Endogenous Treatment Effects for Count Data Models with Sample Selection or Endogenous Participation," DoQSS Working Papers 10-05, Quantitative Social Science - UCL Social Research Institute, University College London, revised 10 Dec 2010.
    12. Martin Schellhorn, 2001. "The effect of variable health insurance deductibles on the demand for physician visits," Health Economics, John Wiley & Sons, Ltd., vol. 10(5), pages 441-456, July.
    13. Alison L. Booth & Hiau Joo Kee, 2009. "Intergenerational Transmission of Fertility Patterns," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 71(2), pages 183-208, April.
    14. Massimiliano Bratti & Alfonso Miranda, 2011. "Endogenous treatment effects for count data models with endogenous participation or sample selection," Health Economics, John Wiley & Sons, Ltd., vol. 20(9), pages 1090-1109, September.
    15. Mohamed Amara, 2015. "Multilevel Modelling of Individual Fertility Decisions in Tunisia: Household and Regional Contextual Effects," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 124(2), pages 477-499, November.
    16. Peter Egger & Mario Larch & Kevin E. Staub & Rainer Winkelmann, 2011. "The Trade Effects of Endogenous Preferential Trade Agreements," American Economic Journal: Economic Policy, American Economic Association, vol. 3(3), pages 113-143, August.
    17. Kajal Lahiri & Guibo Xing, 2002. "An Empirical Analysis of Medicare-eligible Veterans' Demand for Outpatient Health Care Services," Discussion Papers 02-01, University at Albany, SUNY, Department of Economics.
    18. Stephan Klasen & Andrey Launov, 2006. "Analysis of the determinants of fertility decline in the Czech Republic," Journal of Population Economics, Springer;European Society for Population Economics, vol. 19(1), pages 25-54, February.
    19. Koen Jochmans & Vincenzo Verardi, 2022. "Instrumental‐variable estimation of exponential‐regression models with two‐way fixed effects with an application to gravity equations," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 37(6), pages 1121-1137, September.
    20. Toni Mora, 2008. "The relevance of satisfaction with coverage for health care utilization: evidence from Catalonia," Hacienda Pública Española / Review of Public Economics, IEF, vol. 184(1), pages 99-116, April.

    Corrections

    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:tsj:stataj:v:4:y:2004:i:1:p:40-49. See general information about how to correct material in RePEc.

    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 bibliographic 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.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

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

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.