Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: st: Repeated Measures ANOVA and Missing Values


From   Philip Ender <ender97@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: Re: st: Repeated Measures ANOVA and Missing Values
Date   Mon, 17 Oct 2011 13:39:10 -0700

<john.woodard@wayne.edu> wrote
hil, with xtmixed, can I analyze a split-plot type of design that
includes a between-groups variable (e.g., group, but unequal sample
sizes across groups) and the session repeated measures variable? Would
the unbalanced design present problems?  I was also wondering what the
syntax might look like for that design (one between groups variable,
one repeated measures variable)?  Many thanks!
-------------------

-xtmixed- will handle splitplot type designs that are unbalanced
between subjects and have missing observations within subjects.  If
"a" is the between subjects factor and
"b" is the within subject factor, the -xtmixed- code in Stata 12 looks
like this:

xtmixed dv a##b || id:, var reml

See this web page for an example of how to obtain the between and
within degrees of freedom:
http://www.ats.ucla.edu/stat/stata/faq/denominator_df.htm

-- 
Phil Ender
UCLA Statistical Consulting Group
*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index