[程式] SAS-logistic regression
[軟體程式類別]:
請填入軟體程式類別 例如SAS、SPSS、R、EVIEWS...等
SAS
[程式問題]:
資料處理、迴歸、敘述統計、logistic、probit...等
logistic
[軟體熟悉度]:
請把以下不需要的部份刪除
低(1~3個月)
[問題敘述]:
我的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;
但還是跟原本一樣......不知是否有人知道為什麼 可以幫我解答,謝謝。
[程式範例]:
proc logistic data=a descending;
model BIG10=PRETRADE TRADE PRIVATE LNTA GROWTH ROA LEV ARINV CLISTB CLISTH
CLISTF OPINION INDE OWN
ind2 ind3 ind4 ind5 ind6 ind7 ind8 ind9 ind10 ind11
ind12 ind13 ind14 ind15 ind16 ind17 ind18 ind19 ind20 ind21 ind22
yr2 yr3 yr4 yr5 yr6;
exact PRETRADE TRADE PRIVATE LNTA GROWTH ROA LEV ARINV CLISTB CLISTH CLISTF
OPINION INDE OWN
ind2 ind3 ind4 ind5 ind6 ind7 ind8 ind9 ind10 ind11 ind12 ind13
ind14 ind15 ind16 ind17 ind18 ind19 ind20 ind21 ind22
yr2 yr3 yr4 yr5 yr6/ estimate=both;
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.0.145
推
04/22 20:29, , 1F
04/22 20:29, 1F
→
04/22 20:29, , 2F
04/22 20:29, 2F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):