Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: non-nested random effects


From   [email protected] (Roberto G. Gutierrez, StataCorp)
To   [email protected]
Subject   Re: st: non-nested random effects
Date   Tue, 07 Apr 2009 09:11:21 -0500

Within this thread, Johan Hellstrom <[email protected]> gives
the following good advice to which I would suggest one small change:

> Your Stata code...

> xtmixed FinishTime Sex01F PL2Age2 Sex01FxPL2Age2 PL2Age3 nFin1974toPrev
> MinCC PzCDrp MinCCxPzCDrp || NAME: || Year:

> ...implies that Year is nested within NAME. If I understand you correctly,
> the model you want to estimate is rather this one (?) :

> xtmixed FinishTime Sex01F PL2Age2 Sex01FxPL2Age2 PL2Age3 nFin1974toPrev
> MinCC PzCDrp MinCCxPzCDrp || _all:R.NAME: || Year:

Leave the colon (:) off the end of "R.NAME".

--Bobby
[email protected]
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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