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. 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.
    2. 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.
    3. Alfonso Miranda, 2005. "Estimation of ordinal response models, accounting for sample selection bias," United Kingdom Stata Users' Group Meetings 2005 11, Stata Users Group.
    4. 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.
    5. Wilde, Joachim, 2000. "Identification of multiple equation probit models with endogenous dummy regressors," Economics Letters, Elsevier, vol. 69(3), pages 309-312, December.
    6. 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.
    7. Heckman, James J, 1978. "Dummy Endogenous Variables in a Simultaneous Equation System," Econometrica, Econometric Society, vol. 46(4), pages 931-959, July.
    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. 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.
    10. 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.
    11. 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.
    12. 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.
    13. Alfonso Miranda, 2004. "FIML estimation of an endogenous switching model for count data," Stata Journal, StataCorp LP, vol. 4(1), pages 40-49, March.
    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. 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.
    4. Jochmans, Koen, 2015. "Multiplicative-error models with sample selection," Journal of Econometrics, Elsevier, vol. 184(2), pages 315-327.
    5. Maksym, Obrizan, 2010. "A Bayesian Model of Sample Selection with a Discrete Outcome Variable," MPRA Paper 28577, University Library of Munich, Germany.
    6. 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.
    7. 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.
    8. repec:ebl:ecbull:v:3:y:2008:i:42:p:1-13 is not listed on IDEAS
    9. 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.
    10. Ana María Ibáñez Londoño & Juan Carlos Muñoz Mora & Philip Verwimp, 2013. "Abandoning Coffee under the Threat of Violence and the Presence of Illicit Crops. Evidence from Colombia," Documentos CEDE 011465, Universidad de los Andes - CEDE.
    11. 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).
    12. 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," CESifo Working Paper Series 1992, CESifo.
    13. 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.
    14. 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," CESifo Working Paper Series 1992, CESifo.
    15. David Roodman, 2009. "Estimating Fully Observed Recursive Mixed-Process Models with cmp," Working Papers 168, Center for Global Development.
    16. 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.
    17. Bago, Jean-Louis & Ouédraogo, Moussa & Akakpo, Koffi & Lompo, Miaba Louise & Souratié, Wamadini M. & Ouédraogo, Ernest, 2019. "Early Childhood Education and Children Development : Evidence from Ghana," MPRA Paper 95868, University Library of Munich, Germany.
    18. Han, Sukjin & Vytlacil, Edward J., 2017. "Identification in a generalization of bivariate probit models with dummy endogenous regressors," Journal of Econometrics, Elsevier, vol. 199(1), pages 63-73.
    19. Nicholas J. Rockwood, 2020. "Maximum Likelihood Estimation of Multilevel Structural Equation Models with Random Slopes for Latent Covariates," Psychometrika, Springer;The Psychometric Society, vol. 85(2), pages 275-300, June.
    20. 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.
    21. Desrieux, Claudine & Chong, Eshien & Saussier, Stéphane, 2013. "Putting all one's eggs in one basket: Relational contracts and the management of local public services," Journal of Economic Behavior & Organization, Elsevier, vol. 89(C), pages 167-186.

    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.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: . General contact details of provider: http://www.stata-journal.com/ .

    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 hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.