Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Stumped...xtmixed and ANOVA F-stats not agreeing for balanced design
From
Philip Ender <[email protected]>
To
[email protected]
Subject
Re: st: Stumped...xtmixed and ANOVA F-stats not agreeing for balanced design
Date
Thu, 5 May 2011 09:00:05 -0700
Jared Saletin <[email protected]> wrote that his -anova- model and
-xtmixed- model for balanced data did not produce the same results.
Jared,
I don't think that your -anova- and -xtmixed- models are parameterized
the same. The -anova- model has three error terms: s#a, s#b and
Residual.
While the -xtmixed- model has four random effects: s:_cons, s:R.a,
s:R.b and Residual. If you use the -var- option with -xtmixed- you
should
be able to lline up the mean squares from the -anova- with the random
effects from the -xtmixed-.
--
Phil Ender
UCLA Statistical Consulting Group
*
* 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/