given this experiment: In this study we're interested in the influence of alcohol on…
Jump to turn (6)
- 1given this experiment: In this study we're interested in the influence of alcoho
- 2what would the code for model 1 be then?
- 3Is there a difference between models with random slopes for session and models w
- 4write a model with random slopes for session
- 5s there a difference between models with random slopes for session and models wi
- 6also explain why we chose the random effect
- User
given this experiment: In this study we're interested in the influence of alcohol on people's susceptibility to distractions. Subjects are tested in three sessions; one where they drank beer, one where they drank malt beer, and one where they drank lemonade. and given a txt data file with these columns: subject,age,session,trialnr_session,trialnr_total,distractor,item,RT,error and given the model1: model1 <- lmer( RT ~ distractor + (1|subject)+(1|item), data=data, ) please answer this question: Is there a difference between models with random slopes for session and models without random slopes for session? (Note, you first need to decide which random effects to include in your models). Hint: look up the 'likelihood ratio' test in the lecture slides.
- Assistant