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/