Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

re: st: anova & repeated measures


From   David Airey <david.airey@vanderbilt.edu>
To   statalist@hsphsun2.harvard.edu
Subject   re: st: anova & repeated measures
Date   Wed, 7 Apr 2004 21:01:53 -0500

You have 3 factors:

time (fixed effect, within-subject)
drug (fixed effect, between-subject)
subject (random effect)

This design is a split plot, and

anova response drug / subject|drug time drug*time, repeated(time)

should do the trick, if you want a univariate repeated measures ANOVA.

It is directly analogous to the example in the FAQ:

http://www.stata.com/support/faqs/stat/anova2.html#anovat77

-Dave

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index