Edit with graph:
I am struggling a bit conceptually to make sense of a result I get when applying a linear mixed model to my reaction time data.
I have a 2x2 within subjects design. When I plot the data by means of an interaction plot, one of the two lines is above the other, with non-overlapping confidence intervals. However, when I apply a linear mixed-model, which looks like this:
model26 = lme(log(RT_times) ~ location*task, ~1+location*task|participant,data= data,method='REML',weights = varComb(varIdent(form=~1|location*task)),control =list(msMaxIter = 1000, msMaxEval = 1000))
I don't find any significant main effect. This is the output:
Linear mixed-effects model fit by REML
Data: data_sac
Random effects:
Formula: ~1 + task * condition | pp
Structure: General positive-definite, Log-Cholesky parametrization
StdDev Corr
(Intercept) 0.2479765 (Intr) tskndf cndtnv
taskundef 0.1391700 -0.708
conditionvalid 0.1722409 -0.672 0.651
taskundef:conditionvalid 0.1848967 0.652 -0.627 -0.990
Residual 0.2490666
Combination of variance functions:
Structure: Different standard deviations per stratum
Formula: ~1 | condition * task
Parameter estimates:
invaliddef validdef invalidundef validundef
1.0000000 0.8943147 0.8514028 0.8917650
Fixed effects: log(latency) ~ condition * task
Correlation:
(Intr) cndtnv tskndf
conditionvalid -0.680
taskundef -0.688 0.646
conditionvalid:taskundef 0.628 -0.938 -0.673
Standardized Within-Group Residuals:
Min Q1 Med Q3 Max
-7.10755334 -0.40245682 0.02502696 0.51551241 4.18246501
Number of Observations: 5209
Number of Groups: 56
To the contrary, the p-value for task is about 0.7. I find this very strange, as for another dataset with a comparable graph, I do instead get significant results. Now, I do get that the computation of the 95% CIs and the linear mixed model are different, so they might lead to different results, but I don't get how they can be SO different. There does not seem to be anything wrong with my data, I even removed outliers etc, so it is difficult for me to grasp what is going on.
Hope the question is clear now. Many thanks for any insight you might provide!

