r crossed nested random effects lme4

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

r crossed nested random effects lme4

R help mailing list-2

I am new to this forum. I try to find the appropriate model for the following data set with lme4:

Each individual subject goes through 3 conditions ("Group", within-subject factor). These 3 conditions include 9 items (3 items in each condition, but the items differ in each condition). Score (4th column not represented above) is a continuous dependant variable (reaction time).I am interested in the fixed effect of the "Cond" variable and also would like to take into account the dependencies between my factors, but I have difficulties to know if my factors should be considered as nested or crossed.Does the following model seems correct to you ?Score~1+Cond+(1|Subject)+(1|item).Any help would be much appreciated.
______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
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.

1530132091008blob.jpg (18K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: r crossed nested random effects lme4

Bert Gunter-2
Generally speaking, purely statistical issues are off topic on this forum,
which is about programming in the R language. More to the point, the
r-sig-mixed-models forum is concerned with questions about mixed effects
models, so you should post there.

Cheers,
Bert


Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Wed, Jun 27, 2018 at 1:42 PM, audusseau jean via R-help <
[hidden email]> wrote:

>
> I am new to this forum. I try to find the appropriate model for the
> following data set with lme4:
>
> Each individual subject goes through 3 conditions ("Group", within-subject
> factor). These 3 conditions include 9 items (3 items in each condition, but
> the items differ in each condition). Score (4th column not represented
> above) is a continuous dependant variable (reaction time).I am interested
> in the fixed effect of the "Cond" variable and also would like to take into
> account the dependencies between my factors, but I have difficulties to
> know if my factors should be considered as nested or crossed.Does the
> following model seems correct to you ?Score~1+Cond+(1|Subject)+(1|item).Any
> help would be much appreciated.
> ______________________________________________
> [hidden email] mailing list -- To UNSUBSCRIBE and more, see
> 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.
>
>

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
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.