Home‎ > ‎Schedule‎ > ‎

R commands for April 10


# Regression modeling for repeated measures data


qqmath(~ RT|Subject,data=lexdec)


xylowess.fnc(RT ~ Frequency|Subject,data=lexdec)

summary(lm(RT ~ Frequency,data=lexdec[lexdec$Subject == "A1",]))

summary(lm(RT ~ Frequency,data=lexdec[lexdec$Subject == "C",]))


lmer(RT ~ (1|Subject) + Frequency,data=lexdec)


lmer(RT ~ (1 + Frequency|Subject) + Frequency,data=lexdec)


pvals.fnc(lmer(RT ~ (1|Subject) + Frequency,data=lexdec))


ranef(lmer(RT ~ (1|Subject) + Frequency,data=lexdec))


lmer(Correct ~ (1|Subject) + Frequency,family=binomial,data=lexdec)




Comments