Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从我的模型中删除异常值(残差超过 2.5sd)。我试过这段代码:
acc.glmer1=glmer(correct_answer ~ condition + (1|Participant) + (1|word), data = ldt[abs(scale(resid(acc.glmer)))<2.5,], family="binomial")
我收到以下错误消息:
错误:错误的“数据”:
我在不同的数据集上运行相同的代码,它运行顺利,没有任何问题。