看板 Statistics 關於我們 聯絡資訊
大家好 想請教目前在用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
andrew43: 有些修正方法,例如Firth 12/16 23:55
AmigoSafin: 謝謝a大 感恩!! 12/17 01:10