作者liton (欧吉桑留学生)
看板Statistics
标题Re: [程式] SAS-logistic regression
时间Mon Apr 23 02:06:40 2012
※ 引述《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