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

Within- and between-cluster effects in generalized linear mixed models: A discussion of approaches and the xthybrid command

Author

Listed:
  • Reinhard Schunck

    (GESIS—Leibniz–Institute for the Social Sciences)

  • Francisco Perales

    (Institute for Social Science Research, University of Queensland)

Abstract

One typically analyzes clustered data using random- or fixed-effects models. Fixed-effects models allow consistent estimation of the effects of level-one variables, even if there is unobserved heterogeneity at level two. However, these models cannot estimate the effects of level-two variables. Hybrid and correlated random-effects models are flexible modeling specifications that separate within- and between-cluster effects and allow for both consistent estimation of level-one effects and inclusion of level-two variables. In this article, we elaborate on the sep- aration of within- and between-cluster effects in generalized linear mixed models. These models present a unifying framework for an entire class of models whose response variables follow a distribution from the exponential family (for exam- ple, linear, logit, probit, ordered probit and logit, Poisson, and negative binomial models). We introduce the user-written command xthybrid, a shell for the meglm command. xthybrid can fit a variety of hybrid and correlated random-effects models.

Suggested Citation

  • Reinhard Schunck & Francisco Perales, 2017. "Within- and between-cluster effects in generalized linear mixed models: A discussion of approaches and the xthybrid command," Stata Journal, StataCorp LP, vol. 17(1), pages 89-115, March.
  • Handle: RePEc:tsj:stataj:v:17:y:2017:i:1:p:89-115
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj17-1/st0468/
    as

    Download full text from publisher

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

    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:17:y:2017:i:1:p:89-115. 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.