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/