我正在尝试使用影响力包确定是否存在有影响力的案例:
lmer_log11 <- glmer(logRT ~ Probability*Block*Session*testing + (1 + Block * Probability * Session|Participant), data= Data, family = Gamma(link = "log"), control=glmerControl(optimizer="bobyqa",optCtrl=list(maxfun=1000000)), nAGQ = 0)
influentialcases <- influence(glmer_log11, "Participant")
模型运行没有问题,但是当我运行影响函数时,我得到了这个错误:
Error in glmer(formula = RT ~ Probability * Block * Session * testing + :
should not specify both start$fixef and nAGQ==0
有谁知道为什么?我不得不添加 nAGQ,因为它之前给我带来了问题。但是对于有影响力的案例,可以去掉吗?