Re: [程式] SAS-logistic regression

看板Statistics作者 (歐吉桑留學生)時間12年前 (2012/04/23 02:06), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《cropcircles (神秘的麥田圈)》之銘言: : [問題敘述]: : 我的logistic regression跑出來會出現下面這幾行, : 請問是因為樣本不夠大嗎?(我的樣本有270筆)還是其他原因造成的? : WARNING: There is a complete separation of data points. The maximum : likelihood estimate does not exist. : WARNING: The LOGISTIC procedure continues in spite of the above warning. : Results shown are based on the last maximum : likelihood iteration. Validity of the model fit is questionable. : 有查到solution: : 在model下加上exact x1 x2 / estimate=both; : 但還是跟原本一樣......不知是否有人知道為什麼 可以幫我解答,謝謝。 Complete Seperation...舉個例子來說好了 OBS A B 1 5 0 2 5 0 3 5 0 4 5 0 5 -5 1 6 -5 1 7 -5 1 用A來預測B出現1的機率基本上是沒意義的 加些option沒太大意義 SAS頂多能幫你Quasi_Complete Separation 建議檢查你的資料比較保險 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.167.171.18
文章代碼(AID): #1Fb4YoFJ (Statistics)
文章代碼(AID): #1Fb4YoFJ (Statistics)