作者liton (欧吉桑留学生)
看板Statistics
标题[问题] ERROR: All observations have the same response
时间Fri Dec 10 17:10:02 2010
最近用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
1F:推 tew:加上response的指令 可能比较好 就能确实区分 D 和空值 12/10 17:44
2F:→ liton:我本来是加上(event="D")我本来泵陵 12/10 17:48
3F:→ liton:论坛上问到了:You need to change the null values to 12/14 14:16
4F:→ liton:omething, otherwise it ignores these obs. 12/14 14:16
5F:推 wlsherica:长知识,谢谢 12/15 12:19