[問題] glm.nb錯誤訊息

看板R_Language作者 (相樂總三)時間6年前 (2018/07/06 10:53), 編輯推噓0(001)
留言1則, 1人參與, 6年前最新討論串1/1
[軟體熟悉度]: 新手(沒寫過程式,R 是我的第一次) [問題敘述]: 請簡略描述你所要做的事情,或是這個程式的目的 想請問我用Mass函數裡面的NB模式要去擬合一組1000多筆的數據資料 會出現一個錯誤訊息 Warning while fitting theta: iteration limit reached 2 x log-likelihood: -5098.231 Warning messages: 1: In theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace = control$trace : iteration limit reached 2: In theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace = control$trace : iteration limit reached google一下好像是說R本身問題 不過看沒很懂 想請問該如何解決 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 210.69.58.207 ※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1530845585.A.F04.html

07/06 14:51, 6年前 , 1F
glm.nb(..., glm.control(maxit = K)) #try K > 25
07/06 14:51, 1F
文章代碼(AID): #1RFjcHy4 (R_Language)