[R-sig-ME] reconstruction of effect sizes in Baayen, Davidson & Bates (2008)
VANHOVE Jan
jan.vanhove at unifr.ch
Thu May 5 16:24:37 CEST 2011
Dear all,
I’ve been reading Baayen et al. (2008) for quite some time now in order to get a feel for the usefulness of mixed modeling in language studies. Unfortunately, I can’t wrap my head around the effect sizes that the authors infer from their mixed model outputs. Can anyone put me on the right track? Thanks in advance.
R code and quote re: effect sizes below.
R.H. Baayen, D.J. Davidson, D.M. Bates, 2008. Mixed-effects modeling with crossed random effects for subjects and items. Journal of Memory and Language 59, 390-412. Available at http://www.ualberta.ca/~baayen/publications/baayenDavidsonBates.pdf
----begin code----
library(languageR)
attach(primingHeidPrevRT)
# note: RT are log-transformed latencies
model1.lmer <- lmer(RT ~ log(RTmin1) + Condition + (1|Word) + (1|Subject))
print(model1.lmer, corr=F)
# model summary also on p. 400 (top left)
----end code----
Quote: ‘The latency to the preceding [i.e. log(RTmin1); JV] has a large effect size with a 400 ms difference between the smallest and the largest predictor values, the corresponding difference for the frequency effect [not in the model; JV] was only 50 ms.’
I would like to find out how the authors arrived at these effect size estimates. I can’t reconstruct the 400 ms RTmin1 effect from the model output using the most extreme predictor values:
exp((5.80465 + .12125*range(log(RTmin1))))
# 685.746 820.627 --- i.e. a 135 ms difference
Incidentally, this 135 ms difference corresponds to the partial effect I can glean from the plot produced by plotLMER.fnc():
plotLMER.fnc(model1.lmer, pred="log(RTmin1)")
Similarly, I’m at a loss as to how they arrived at the 50 ms frequency effect as frequency (in contrast to BaseFrequency) does not seem to be coded in the data set as well as at the 100 ms ‘ResponseToPrime’ effect in another model (p. 400, bottom left).
Thanks,
Jan
---
Jan Vanhove
jan.vanhove at unifr.ch
PhD student
Section Multilingualism and foreign language didactics
University of Fribourg, Switzerland
More information about the R-sig-mixed-models
mailing list