Hi,

I want to set up a mixed model ANCOVA but cannot find a way to do it.

There is:

* 1 subject factor (random, between subjects) called Subject
* 3 categorical within subjects factors called Emotion, Sex, Race
* 1 continuous covariate (**WITHIN subjects**) called Score
and
* a continuous dependent variable called logRT

I need a nice and clean table with p-values and effect sizes for each
factors and relevant interactions.

Which function should I use?

I am guessing lmer from lme4 but could not find any example on the forums
or on my manual from Gaƫl Millot.

Here is a wild guess :

     ModelRT <- lmer(logRT ~ Race + Sex+ Emotion + Score + Race*Sex +
Race*Emotion + Sex*Emotion + Race*Sex*Emotion + (1 | Subject))

Would that be correct ?

Thank you,

laurie

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to