EconPapers    
Economics at your fingertips  
 

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

Reinhard Schunck and Francisco Perales ()
Additional contact information
Francisco Perales: Institute for Social Science Research, University of Queensland

Stata Journal, 2017, vol. 17, issue 1, 89-115

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.

Keywords: xthybrid; correlated random effects; fixed effects; generalized linear mixed models; hybrid model; meglm; Mundlak model; random effects (search for similar items in EconPapers)
Date: 2017
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj17-1/st0468/
References: Add references at CitEc
Citations: View citations in EconPapers (58)

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0468 link to article purchase

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:17:y:2017:i:1:p:89-115

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-31
Handle: RePEc:tsj:stataj:v:17:y:2017:i:1:p:89-115