看板 Statistics 關於我們 聯絡資訊
最近用EG在跑Logistic 自變數(A)是連續數字型式 應變數(DF)是文字模式 有"D"和 空值兩種結果 PROC LOGISTIC DATA=SAMPLE; MODEL D=A RUN; 結果出現 ERROR: All observations have the same response. No statistics are computed. 但是如果將DF中 "D"->0 ""->0 結果又可以跑了 請問有人遇過這種狀況嗎? 還是EG秀斗了? (最近我的EG出包率相當高..) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 210.71.218.254
tew:加上response的指令 可能比較好 就能確實區分 D 和空值 12/10 17:44
liton:我本來是加上(event="D")我本來泵陵 12/10 17:48
liton:論壇上問到了:You need to change the null values to 12/14 14:16
liton:omething, otherwise it ignores these obs. 12/14 14:16
wlsherica:長知識,謝謝 12/15 12:19