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:Re: Re: st: How do I run a 3-way repeated ANOVA?
From
"Airey, David C" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re:Re: Re: st: How do I run a 3-way repeated ANOVA?
Date
Fri, 19 Mar 2010 11:51:39 -0500
/* Here are the two parameterizations Phil spoke of and
xtmixed equivalents with anovalator for the two way
within subjects model. Phil's commands gets the same F ratios. */
use http://www.ats.ucla.edu/stat/stata/examples/kirk/rbf33, clear
anova y s a b a#b, repeated(a b)
xtmixed y a##b || s:
anovalator a b, main fratio
anovalator a b, two fratio
anova y s a/s#a b/s#b a#b/, repeated(a b)
xtmixed y a##b || s: || s:R.a || s:R.b
anovalator a b, main fratio
anovalator a b, two fratio
/* I guess the three within factor model should work too,
with anovalator, for the 2 parameterizations
but i'm not sure (i.e., I stumbled). */
Linn,
Can you check your data set with these commands and report back? Thanks.
anova y s a/s#a b/s#b c/s#c a#b/s#a#b a#c/s#a#c b#c/s#b#c a#b#c/, repeated(a b c)
xtmixed y a##b##c || s: || s:R.a || s:R.b || s:R.c
anovalator a b c, main fratio
anovalator a b, two fratio
anovalator a c, two fratio
anovalator b c, two fratio
anovalator a b c, 3way fratio
anova y s a##b##c , repeated(a b c)
xtmixed y a##b##c || s:
anovalator a b c, main fratio
anovalator a b, two fratio
anovalator a c, two fratio
anovalator b c, two fratio
anovalator a b c, 3way fratio
*
* 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/