| danish | R Documentation |
Auditory lexical decision latencies for Danish complex words.
data(danish)
A data frame with 3326 observations on the following 16 variables.
Subjecta random-effect factor coding participants in the experiment.
Worda random-effect factor coding the words for which auditory lexical decision responses were elicited.
Affixa random-effect factor coding the affixes in the words.
LogRTthe dependent variable, log response latency.
PC1first principal component orthogonalizing the four response latencies preceding the current trial in the experiment.
PC2second principal component orthogonalizing the four response latencies preceding the current trial in the experiment.
PrevErrorfactor with levels CORRECT and ERROR
coding whether the preceding trial elicited a correct lexical decision.
Rankthe trial number in the experiment.
Sexfactor coding the sex of the participant,
with levels F (female) and M (male).
LogWordFreqlog-transformed word frequency.
LogAffixFreqlog-transformed affix frequency.
ResidFamSizeresidualized morphological family size (taking out LogWordFreq and LogAffixFreq).
ResidSemRatingresidualized semantic rating (taking out morphological family size).
LogCUPlog-transformed complex uniqueness point (CUP).
LogUPlog-transformed uniqueness point (UP).
LogCUPtoEndlog of the distance (in msec) from the CUP to the end of the word.
L. Balling and R. H. Baayen (2008). Morphological effects in auditory word recognition: Evidence from Danish. Submitted to Language and Cognitive Processes.
## Not run:
data(danish)
require(lme4)
require(lmerTest)
require(optimx)
# ---- mixed-effects regression with three random intercepts
danish.lmer = lmer(LogRT ~ PC1 + PC2 + PrevError + Rank +
ResidSemRating + ResidFamSize + LogWordFreq*LogAffixFreq*Sex +
poly(LogCUP, 2, raw=TRUE) + LogUP + LogCUPtoEnd +
(1|Subject) + (1|Word) + (1|Affix), data = danish,
control=lmerControl(optimizer="optimx",optCtrl=list(method="nlminb")))
danish.lmerA = lmer(LogRT ~ PC1 + PC2 + PrevError + Rank +
ResidSemRating + ResidFamSize + LogWordFreq*LogAffixFreq*Sex +
poly(LogCUP, 2, raw=TRUE) + LogUP + LogCUPtoEnd +
(1|Subject) + (1|Word) + (1|Affix), data = danish,
control=lmerControl(optimizer="optimx",optCtrl=list(method="nlminb")),
subset=abs(scale(resid(danish.lmer)))<2.5)
summary(danish.lmerA)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.