> > If I understand correctly, you want to include the interactions
> > between the random and fixed terms?
>
> Yes that is exactly I wanted to model.
>
> > This is done like:
> >
> > model.lme <- lme(Beta ~ Trust*Sex*Freq,
> > random = ~Trust*Sex*Freq|Subj, Model)
> >
> > But
Hi Lorenz,
I really appreciate your comments.
> If I understand correctly, you want to include the interactions
> between the random and fixed terms?
Yes that is exactly I wanted to model.
> This is done like:
>
> model.lme <- lme(Beta ~ Trust*Sex*Freq,
> random = ~Trust*Sex*
I don't think, this has been answered:
> I'm trying to run a 3-way within-subject anova in lme with 3
> fixed factors (Trust, Sex, and Freq), but get stuck with handling
> the random effects. As I want to include all the possible random
> effects in the model, it would be something more or less
>
I'm trying to run a 3-way within-subject anova in lme with 3 fixed
factors (Trust, Sex, and Freq), but get stuck with handling the
random effects. As I want to include all the possible random effects
in the model, it would be something more or less equivalent to using aov
> fit.aov <- aov(B
RE: [R] Within-subject factors in lme
>
>
> > Thanks for your suggestion. I guess the model you are fitting here
> > has only a single random effect term, namely subject. If the effect
> > of A depends on S, one needs to include an additional random effects
> > term for th
> Thanks for your suggestion. I guess the model you are fitting here
> has only a single random effect term, namely subject. If the effect
> of A depends on S, one needs to include an additional random effects
> term for the S:A interaction.
It is not quite clear what you are after, but the 'if' s
Dear Thilo
Thanks for your suggestion. I guess the model you are fitting here has
only a single random effect term, namely subject. If the effect of A
depends on S, one needs to include an additional random effects term
for the S:A interaction.
With lme I can get output for the effect of A which
Dear Kim,
as far as I understandyour problem correct the specification of the model in
lme is:
lme( fixed=y ~ A*B, random=~1|S)
Thilo
On Friday 12 January 2007 15:54, Kim Mouridsen wrote:
> Dear R-users
>
> I'm considering a repeated measures experiment where two
> within-subject factors A (2 l
Dear R-users
I'm considering a repeated measures experiment where two
within-subject factors A (2 levels) and B (3 levels) have been
measured for each of 14 subjects, S. I wish to test the effect of
factor A. I know that a variance component model with random effects
S, S:A, S:B and S:A:B can be f