我已經在lme4軟件包中構建並運行了一個混合效應邏輯迴歸模型,用於評估不同位置(細胞/棲息地)中魚類佔用的概率。數據框架包括687條魚的1,207,140條觀察數據。對於每個人(每天約1年),它描述了每個獨特位置相對於所有位置的總髮生次數的發生次數。瞭解rlme4中混合模型的警告消息
這是基礎型號:
m.base = glmer(cbind(N,t.move-N) ~ jdate + snSurface.Area + Restoration..P.A. +
Release.Location+ Sex + (1|Station) + (0 + jdate|ID), data=allfishdat, family=binomial)
where N=# unique positions, t.move=total positions, jdate=julian date, Station=locations, ID=fish ID
我得到以下警告消息:
Warning messages:
1: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, :
Model failed to converge with max|grad| = 3349.26 (tol = 0.001)
2: In if (resHess$code != 0) { :
the condition has length > 1 and only the first element will be used
3: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, :
Model is nearly unidentifiable: very large eigenvalue
- Rescale variables?;Model is nearly unidentifiable: large eigenvalue ratio
- Rescale variables?
我做了一些搜索,試圖瞭解這些信息的含義及其對模型的影響,但尚未理解警告。
你可以說你已經看了什麼的已經和你做什麼和不理解?你有沒有讀過https://github.com/lme4/lme4/blob/master/README.md? http://stackoverflow.com/questions/23814130/glmer-model-from-early-2013-warning-message-about-convergence-when-re-running-i/23839952#23839952? http://stackoverflow.com/questions/21344555/convergence-error-for-development-version-of-lme4? –
凹凸。這將有助於,如果你可以說你有什麼,並沒有明白 - 我很樂意幫助,但不想重複已經存在的信息... –
凹凸碰撞..... –