|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: xtmixed model specification for mixed ANOVA
.
I'm not sure your description will be enough for helpful replies.
Maybe you could describe the experimental design.
In the mean time, there are some example equivalencies between ANOVA
and xtmixed at:
http://www.ats.ucla.edu/stat/stata/faq/xtmixed.htm
Cheers,
-Dave
On Apr 24, 2008, at 10:13 AM, Olga Lyashevska wrote:
Dear List,
We would like to estimate a mixed effect anova by using xtmixed
command.
y dependent variable
r random effect
f1
f2
f3 are fixed effects
f1f2
f2f3 are covariates
I am not sure about model specification. Could you please comment on
it?
%we generate covariates
egen f1f2=group(f1f2), label
egen f2f3=group(f2f3), label
% use xtmixed
xtmixed y f1 f2 f3 || r || f1f2 f2f3
Thank you in advance!
Olga
*
* 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/
*
* 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/