Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: xtmixed model specification for mixed ANOVA


From   "Olga Lyashevska" <[email protected]>
To   [email protected]
Subject   st: xtmixed model specification for mixed ANOVA
Date   Thu, 24 Apr 2008 17:13:03 +0200 (CEST)

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index