Skip to main content
CatM's user avatar
CatM's user avatar
CatM's user avatar
CatM
  • Member for 5 years, 3 months
  • Last seen this week
  • UK
comment
lmer after Box-Cox transformation
to be able to use a linear mixed effects model
asked
Loading…
revised
Loading…
comment
glmer with gamma distribution - problem fitting model
The other model was another study but using the same task, just had an extra variable - as there were two groups. I thought it was the same thing, but ignore it please. 47 participants, 1000 trials each, though on average only 800 were included in the analysis (outlier removal and only correct responses were included). Block is a 5 level variable, we compare it consecutively - 1vs2, 2vs3, 3vs4, 4vs5. I am interested in determining whether there is an effect of type of trial; and whether this effect increases with time spent on the task, i.e. trial type * block and trial type * block * session
comment
glmer with gamma distribution - problem fitting model
Sorry, just added the information to this post for the linear model. This is a simple response time task with one of the variables representing two types of trials in the task congruent or incongruent, block which is the within session time dimension and the final one - session because participants were tested twice, this is a repeated measures study.
revised
Loading…
comment
revised
Loading…
Loading…
revised
Loading…
comment
absence of normality of residuals - lmer or glmer?
I was thinking about using either the gamma or the ex-guassian distribution as I have seen both being recommended for response time data. Just added the qqplot() it does seem to deviate quite substantially.
awarded
comment
absence of normality of residuals - lmer or glmer?
@BenBolker Would that be a better option than glmer with the ex-gaussian family?
comment
absence of normality of residuals - lmer or glmer?
How does one know if the deviation from normality is too pronounced? I compared the lmer and glmer and the AIC is much higher for the glmer. npar AIC BIC logLik deviance Chisq Df Pr(>Chisq) Model 37 -40576 -40215 20325 -40650 Model.glmer 37 1494498 1494859 -747212 1494424 0 0 1
comment
absence of normality of residuals - lmer or glmer?
But you would consider that they deviate too much from normality right?
revised
Loading…
comment
absence of normality of residuals - lmer or glmer?
I was not clear, I did the log transform after checking the residuals of the lmer model with the RT without any transformation, they were skewed (I was not refering to the raw data).
comment
absence of normality of residuals - lmer or glmer?
This is all residuals of a lmer model after log transformation, not the response times. I initial did the log transformation because the RTs are obviously skewed. This approach tends to be used in my department, but I know it is not the best one.
revised
Loading…
comment
Can we really assign random slopes to between-subject effects in a mixed effects model?
@HereroskedasticJim Thank you so much for your prompt response! I was also biased to think that between variables were not an option as a random slope because of reading the same sources as the original poster. This was quite an interesting thing to adjust to, thanks!
1
4
5
6 7 8