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]

st: Re: Repeated measures with covariates


From   "Joseph Coveney" <jcoveney@bigplanet.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: Repeated measures with covariates
Date   Sun, 26 Aug 2012 23:28:54 +0900

May Lebanan wrote:

Hi, I am doing an analysis on a dependent variable called RExp
measured on several follow-up times (Ffupno) and would like to compare
among 4 groups (grp) and sex and would like to include a covariate
Hemoglobin.  Without the covariate my anova model looks like this:

anova RExp grp sex sex#grp / Respcode|grp#sex Ffupno Ffupno#grp
Ffupno#sex Ffupno#grp#sex, repeated(Ffupno)

Now I cannot find a reference on how to incorporate a covariate in this model.
What if I want to add several covariates, would that be possible and
what would the command look like?  Please help.

--------------------------------------------------------------------------------

How to incorporate your hemoglobin covariate into the repeated-measures ANCOVA
model depends upon whether hemoglobin concentration is measured at each
follow-up observation (a so-called time-varying covariate) or is measured only
once, for example, at baseline (a time-invariant covariate).  See this thread
for specifics about how to do each:
http://www.stata.com/statalist/archive/2004-01/msg00032.html .

Joseph Coveney


*
*   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