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

Maximum likelihood estimation of endogenous switching and sample selection models for binary, ordinal, and count variables

Author

Listed:
  • Alfonso Miranda

    (Keele University)

  • Sophia Rabe-Hesketh

    (Graduate School of Education, University of California - Berkeley)

Abstract

Studying behavior in economics, sociology, and statistics often involves fitting models in which the response variable depends on a dummy variable- also known as a regime-switch variable- or in which the response variable is observed only if a particular selection condition is met. In either case, standard regression techniques deliver inconsistent estimators if unobserved factors that affect the re- sponse are correlated with unobserved factors that affect the switching or selection variable. Consistent estimators can be obtained by maximum likelihood estimation of a joint model of the outcome and switching or selection variable. This article describes a “wrapper” program, ssm, that calls gllamm (Rabe-Hesketh, Skrondal, and Pickles, GLLAMM Manual [University of California – Berkeley, Division of Bio- statistics, Working Paper Series, Paper No. 160]) to fit such models. The wrapper accepts data in a simple structure, has a straightforward syntax, and reports out- put that is easily interpretable. One important feature of ssm is that the log likelihood can be evaluated using adaptive quadrature (Rabe-Hesketh, Skrondal, and Pickles, Stata Journal 2: 1–21; Journal of Econometrics 128: 301–323). Copyright 2006 by StataCorp LP.

Suggested Citation

  • 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.
  • Handle: RePEc:tsj:stataj:v:6:y:2006:i:3:p:208-308
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=st0107
    Download Restriction: no

    File URL: http://www.stata-journal.com/software/sj6-3/st0107/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Alfonso Miranda, 2005. "Estimation of ordinal response models, accounting for sample selection bias," United Kingdom Stata Users' Group Meetings 2005 11, Stata Users Group.
    2. Alfonso Miranda, 2004. "FIML estimation of an endogenous switching model for count data," Stata Journal, StataCorp LP, vol. 4(1), pages 40-49, March.
    3. Donald S. Kenkel & Joseph V. Terza, 2001. "The effect of physician advice on alcohol consumption: count regression with an endogenous treatment effect," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 16(2), pages 165-184.
    4. Sophia Rabe-Hesketh & Anders Skrondal & Andrew Pickles, 2003. "Maximum likelihood estimation of generalized linear models with covariate measurement error," Stata Journal, StataCorp LP, vol. 3(4), pages 386-411, December.
    5. Heckman, James J, 1978. "Dummy Endogenous Variables in a Simultaneous Equation System," Econometrica, Econometric Society, vol. 46(4), pages 931-959, July.
    6. Heckman, James, 2013. "Sample selection bias as a specification error," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 31(3), pages 129-137.
    7. Massimiliano Bratti & Alfonso Miranda, 2010. "Non‐pecuniary returns to higher education: the effect on smoking intensity in the UK," Health Economics, John Wiley & Sons, Ltd., vol. 19(8), pages 906-920, August.
    8. 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.
    9. Sophia Rabe-Hesketh, 2002. "Multilevel selection models using gllamm," Dutch-German Stata Users' Group Meetings 2002 1, Stata Users Group.
    10. Francis Vella, 1998. "Estimating Models with Sample Selection Bias: A Survey," Journal of Human Resources, University of Wisconsin Press, vol. 33(1), pages 127-169.
    11. Rabe-Hesketh, Sophia & Skrondal, Anders & Pickles, Andrew, 2005. "Maximum likelihood estimation of limited and discrete dependent variable models with nested random effects," Journal of Econometrics, Elsevier, vol. 128(2), pages 301-323, October.
    12. Sophia Rabe-Hesketh & Anders Skrondal & Andrew Pickles, 2002. "Reliable estimation of generalized linear mixed models using adaptive quadrature," Stata Journal, StataCorp LP, vol. 2(1), pages 1-21, February.
    13. Van de Ven, Wynand P. M. M. & Van Praag, Bernard M. S., 1981. "The demand for deductibles in private health insurance : A probit model with sample selection," Journal of Econometrics, Elsevier, vol. 17(2), pages 229-252, November.
    14. Wilde, Joachim, 2000. "Identification of multiple equation probit models with endogenous dummy regressors," Economics Letters, Elsevier, vol. 69(3), pages 309-312, December.
    15. Sophia Rabe-Hesketh & Anders Skrondal & Andrew Pickles, 2004. "Generalized multilevel structural equation modeling," Psychometrika, Springer;The Psychometric Society, vol. 69(2), pages 167-190, June.
    Full references (including those not matched with items on IDEAS)

    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. Quinones, Esteban J. & Barham, Bradford L., 2018. "Endogenous Selection, Migration and Occupation Outcomes for Rural Southern Mexicans," Staff Paper Series 587, University of Wisconsin, Agricultural and Applied Economics.
    2. 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.
    3. repec:ebl:ecbull:v:3:y:2008:i:42:p:1-13 is not listed on IDEAS
    4. repec:hal:wpspec:info:hdl:2441/3vl5fe4i569nbr005tctlc8ll5 is not listed on IDEAS
    5. Massimiliano Bratti & Alfonso Miranda, 2010. "Non‐pecuniary returns to higher education: the effect on smoking intensity in the UK," Health Economics, John Wiley & Sons, Ltd., vol. 19(8), pages 906-920, August.
    6. Jochmans, Koen, 2015. "Multiplicative-error models with sample selection," Journal of Econometrics, Elsevier, vol. 184(2), pages 315-327.
    7. repec:hal:spmain:info:hdl:2441/3vl5fe4i569nbr005tctlc8ll5 is not listed on IDEAS
    8. Giampiero Marra & Rosalba Radice & Silvia Missiroli, 2014. "Testing the hypothesis of absence of unobserved confounding in semiparametric bivariate probit models," Computational Statistics, Springer, vol. 29(3), pages 715-741, June.
    9. Maksym, Obrizan, 2010. "A Bayesian Model of Sample Selection with a Discrete Outcome Variable," MPRA Paper 28577, University Library of Munich, Germany.
    10. William H. Greene & David A. Hensher, 2008. "Modeling Ordered Choices: A Primer and Recent Developments," Working Papers 08-26, New York University, Leonard N. Stern School of Business, Department of Economics.
    11. Maarten Goos & Anna Salomons, 2017. "Measuring teaching quality in higher education: assessing selection bias in course evaluations," Research in Higher Education, Springer;Association for Institutional Research, vol. 58(4), pages 341-364, June.
    12. Anders Skrondal & Sophia Rabe‐Hesketh, 2007. "Latent Variable Modelling: A Survey," Scandinavian Journal of Statistics, Danish Society for Theoretical Statistics;Finnish Statistical Society;Norwegian Statistical Association;Swedish Statistical Association, vol. 34(4), pages 712-745, December.
    13. Hiroaki Masuhara, 2008. "Semi-nonparametric count data estimation with an endogenous binary variable," Economics Bulletin, AccessEcon, vol. 3(42), pages 1-13.
    14. Kamhon Kan & Chihwa Kao, 2005. "Simulation-Based Two-Step Estimation with Endogenous Regressors," Center for Policy Research Working Papers 76, Center for Policy Research, Maxwell School, Syracuse University.
    15. Tocco, Barbara & Bailey, Alastair & Davidova, Sophia, 2013. "Determinants to Leave Agriculture and Change Occupational Sector: Evidence from an Enlarged EU," Working papers 155704, Factor Markets, Centre for European Policy Studies.
    16. Robert Innes & Abdoul G. Sam, 2008. "Voluntary Pollution Reductions and the Enforcement of Environmental Law: An Empirical Study of the 33/50 Program," Journal of Law and Economics, University of Chicago Press, vol. 51(2), pages 271-296, May.
    17. Hessami, Zohal & Resnjanskij, Sven, 2019. "Complex ballot propositions, individual voting behavior, and status quo bias," European Journal of Political Economy, Elsevier, vol. 58(C), pages 82-101.
    18. Ibáñez, Ana María & Muñoz, Juan Carlos & Verwimp, Philip, 2013. "Abandoning Coffee under the Threat of Violence and the Presence of Illicit Crops. Evidence from Colombia," Documentos CEDE Series 161356, Universidad de Los Andes, Economics Department.
    19. Ribar, David C., 2004. "What Do Social Scientists Know About the Benefits of Marriage? A Review of Quantitative Methodologies," IZA Discussion Papers 998, Institute of Labor Economics (IZA).
    20. Glenn W. Harrison & Morten I. Lau & Hong Il Yoo, 2020. "Risk Attitudes, Sample Selection, and Attrition in a Longitudinal Field Experiment," The Review of Economics and Statistics, MIT Press, vol. 102(3), pages 552-568, July.
    21. Sukjin Han & Sungwon Lee, 2019. "Estimation in a generalization of bivariate probit models with dummy endogenous regressors," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 34(6), pages 994-1015, September.
    22. William Greene, 2007. "Discrete Choice Modeling," Working Papers 07-6, New York University, Leonard N. Stern School of Business, Department of Economics.
    23. Wladimir Raymond & Pierre Mohnen & Franz Palm & Sybrand Schim van der Loeff, 2007. "The Behavior of the Maximum Likelihood Estimator of Dynamic Panel Data Sample Selection Models," CIRANO Working Papers 2007s-06, CIRANO.

    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:6:y:2006:i:3:p:208-308. 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.