0
我對lmer做了一些修改。它的工作原理應該如此,但是我無法擺脫運行程序時彈出的警告消息。我添加了下列選項,它允許程序不停止運行,而是顯示警告消息。我相信這是check.nobs.vs.rankZ =「warningSmall」部分。我怎麼能擺脫這個,有什麼建議?謝謝。來自R如何擺脫lmer警告信息?
lmerControl(check.nobs.vs.nlev = "ignore",check.nobs.vs.rankZ =
"warningSmall",check.nlev.gtreq.5 = "ignore",check.nobs.vs.nRE="ignore",
check.rankX = c("ignore"),check.scaleX = "ignore",check.formula.LHS="ignore",
## convergence checking options
check.conv.grad = .makeCC("warning", tol = 1e-3, relTol = NULL),
check.conv.singular = .makeCC(action = "ignore", tol = 1e-4),
check.conv.hess = .makeCC(action = "warning", tol = 1e-6)
警告消息:
Warning message:
In checkZrank(reTrms$Zt, n = n, control, nonSmall = 1e+06) :
number of observations (=300) <= rank(Z) (=300); the random-effects parameters and the
residual variance (or scale parameter) are probably unidentifiable
工作。我還刪除了一些未使用的選項。 – user3715532
如果答案爲您工作,歡迎您點擊我答案旁邊的複選標記以接受它... –