Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Random effects hierarchical models


From   [email protected] (Roberto G. Gutierrez, StataCorp)
To   [email protected]
Subject   Re: st: Random effects hierarchical models
Date   Wed, 10 Aug 2005 09:53:09 -0500

Geoff Jones <[email protected]> asks:

> How can I fit a random effects model with a nested (hierarchical) structure
> in Stata? I have measurements on children within households within PSUs, and
> want estimates (sorry, "predictions") of the random effects for households
> and PSUs. Quite a large data set (6000 children, several hundred PSUs).

> I can do this in Splus (lme, random.effects) but need to be able to do it in
> Stata. Any suggestions.  

and, among other responses, Scott Merryman <[email protected]> notes

> -findit hierarchical random effects- brings up -gllamm-.

Such a search in Stata 9 should also bring up -xtmixed-, an oversight that we
will correct in a future ado update.

Since Geoff is presumably fitting a linear mixed model, -xtmixed- is the more
specialized solution.  -xtmixed- does require Stata 9, so users of prior
versions can use -gllamm- instead.

--Bobby
[email protected]
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index