[問題] fit logistic regression no converge

看板Statistics作者時間5年前 (2018/12/16 23:43), 編輯推噓0(002)
留言2則, 2人參與, 5年前最新討論串1/1
大家好 想請教目前在用R的內建資料庫crabs來建立對螃蟹性別的binary logistic regression model, 但full model不收斂 用了stepwise regression, 選出了三個predictor variables 但他們的p-value也都很大 我如果使用這個model去算confusion matrix error rate是0 上網查了一下 說如果不收斂的話 可能是perfect separation 這部分我還未完整學習過 不太知道這模型可用嗎 想請教各位大大 若遇到這種情形 這樣的error rate是否正常 有什麼應該再做的嗎 小弟初學 感謝大家不吝指教 -- -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 8.41.66.212 ※ 文章網址: https://www.ptt.cc/bbs/Statistics/M.1544975007.A.9B3.html

12/16 23:55, 5年前 , 1F
有些修正方法,例如Firth
12/16 23:55, 1F

12/17 01:10, 5年前 , 2F
謝謝a大 感恩!!
12/17 01:10, 2F
文章代碼(AID): #1S5dAVcp (Statistics)