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

Implementing factor models for unobserved heterogeneity in Stata

Author

Listed:
  • Miguel Sarzosa

    (Purdue University)

  • Sergio Urzúa

    (University of Maryland)

Abstract

We introduce a new command, heterofactor, for the maximum likeli- hood estimation of models with unobserved heterogeneity, including a Roy model. heterofactor fits models with up to four latent factors and allows the unobserved heterogeneity to follow general distributions. Our command differs from Stata’s sem command in that it does not rely on the linearity of the structural equations and distributional assumptions for identification of the unobserved heterogeneity. It uses the estimated distributions to numerically integrate over the unobserved factors in the outcome equations by using a mixture of normals in a Gauss–Hermite quadrature. heterofactor delivers consistent estimates, including the unobserved factor loadings, in a variety of model structures. Copyright 2016 by StataCorp LP.

Suggested Citation

  • Miguel Sarzosa & Sergio Urzúa, 2016. "Implementing factor models for unobserved heterogeneity in Stata," Stata Journal, StataCorp LP, vol. 16(1), pages 197-228, March.
  • Handle: RePEc:tsj:stataj:v:16:y:2016:i:1:p:197-228
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj16-1/st0431/
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=st0431
    File Function: link to article purchase
    Download Restriction: no
    ---><---

    Citations

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


    Cited by:

    1. Jiang, Xuan, 2018. "Planting the Seeds for Success: Why Women in STEM Do Not Stick in the Field," MPRA Paper 89650, University Library of Munich, Germany.
    2. Armin Falk & Fabian Kosse & Pia Pinger & Hannah Schildberg-Hörisch & Thomas Deckers, 2021. "Socioeconomic Status and Inequalities in Children’s IQ and Economic Preferences," Journal of Political Economy, University of Chicago Press, vol. 129(9), pages 2504-2545.
    3. Jiang, Xuan, 2021. "Women in STEM: Ability, preference, and value," Labour Economics, Elsevier, vol. 70(C).
    4. Sarzosa, Miguel, 2023. "Sexual Orientation and Labor Market Disparities," Journal of Economic Behavior & Organization, Elsevier, vol. 212(C), pages 723-755.

    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:16:y:2016:i:1:p:197-228. 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.

    We have no bibliographic references for this item. You can help adding them by using 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.