【发布时间】:2015-08-05 19:54:45
【问题描述】:
lme4:::profile.merMod() 是否应该与 glmer 模型一起使用?负二项式模型呢?
我有一个抛出此错误的负二项式模型:
Error in names(opt) <- profnames(fm, signames) :
'names' attribute [2] must be the same length as the vector [1]
当我尝试在我的模型 profile(model12) 上运行 profile 函数以获得随机效应的标准误差时。
是我遗漏了什么还是 lme4 有问题?
我应该提到我使用的是glmer(..., family = negative.binomial(theta = lme4:::est_theta(poissonmodel))) 而不是glmer.nb(),因为我在使用glmer.nb() 时遇到了update() 函数的问题。
【问题讨论】:
-
这仍然是当前版本的 lme4 的问题吗?
标签: r lme4 mixed-models