r - How to find F and p-value in Linear Mixed models -


i still not familiar r , construct linear model of mixed effects using lmer function.
have 3 independent variables 2 modalities each time:

  • group (g3 , g5)
  • frequency (lf , hf)
  • conditions (nr , ph)

and 1 dependent variable:

  • reaction time (rt).

here sample of data, extract of data manipfreq:

subject group   item    rt  frequency   condition 502 g3  argent  677 hf  nr 502 g3  action  814 hf  nr 502 g3  affaire 1278    hf  nr 502 g3  armoire 716 lf  ph 502 g3  aigle   761 lf  ph 503 g3  affaire 841 hf  ph 503 g3  argent  919 hf  ph 503 g3  action  1071    hf  ph 503 g3  aigle   1253    lf  nr 505 g3  argent  785 hf  ph 505 g3  affaire 1028    hf  ph 505 g3  action  1190    hf  ph 505 g3  aigle   1248    lf  nr 506 g3  action  898 hf  nr 506 g3  affaire 1566    hf  nr 506 g3  argent  2037    hf  nr 506 g3  aigle   707 lf  ph 506 g3  armoire 839 lf  ph 1530    g5  action  705 hf  nr 1530    g5  argent  755 hf  nr 1530    g5  affaire 789 hf  nr 1530    g5  aigle   481 lf  ph 1530    g5  armoire 495 lf  ph 1532    g5  action  532 hf  nr 1532    g5  argent  679 hf  nr 1532    g5  affaire 1142    hf  nr 1532    g5  armoire 423 lf  ph 1532    g5  aigle   484 lf  ph 1533    g5  action  690 hf  ph 1533    g5  argent  708 hf  ph 1533    g5  affaire 775 hf  ph 1533    g5  aigle   1027    lf  nr 1533    g5  armoire 1299    lf  nr 1539    g5  argent  747 hf  nr 1539    g5  action  771 hf  nr 1539    g5  affaire 827 hf  nr 1539    g5  armoire 518 lf  ph 1539    g5  aigle   566 lf  ph 

what interests me in particular is:

  • main effects of: “group”, “frequency”, “condition”
  • two way interactions : “condition*group” , “condition*frequency”
  • three way interaction: “group*frequency*condition”

and 2 way interaction “group*frequency” in nr condition

i wrote model takes in account interaction between iv , variability related subjects , items on intercept , on slope.
here model (correct me if i’m wrong):

model=lmer(rt~frequency*condition*group+(1|subject)+(1|item)+(1+condition|subject)+(1+condition|item),data=manipfreq) 

i need find f , p values.

i grateful help.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -