请选择 进入手机版 | 继续访问电脑版
楼主: v_v_v_vicky
4610 1

[实际应用] 求助,sas做配对logistic回归,不知道问题出在哪 [推广有奖]

  • 0关注
  • 0粉丝

高中生

52%

还不是VIP/贵宾

-

威望
0
论坛币
4 个
通用积分
0
学术水平
0 点
热心指数
2 点
信用等级
0 点
经验
138 点
帖子
10
精华
0
在线时间
44 小时
注册时间
2015-4-9
最后登录
2018-12-17

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
我在用sas做配对logistic回归时遇到了一些问题,sas给的提示看不明白所以不知道哪里出问题了,还请大家帮忙看一下,十分感谢!
这是我的语句,是从一本书上看到的,具体原理我也不清楚,因为因变量是某事件的发生数,所以使用了freq(?):
proc logistic data=prin descending;                                                                                                     
freq dno10;                                                                                                                             
class type/param=ref descending;                                                                                                        
model y=type;                                                                                                                           
strata stratum2;                                                                                                                        
run;


然后日志给出了这些warning:
4    proc logistic data=prin descending;
5    freq dno10;
6    class type/param=ref descending;
7    model y=type;
8    strata stratum2;
9    run;

NOTE: PROC LOGISTIC is modeling the probability that y=1.
WARNING: NRRIDG Optimization cannot be completed.
NOTE: NRRIDG needs more than 25 iterations or 250 function calls.
WARNING: Convergence was not attained in 25 iterations. You may want to increase the maximum number of iterations
         (MAXITER= option) or change the convergence criteria (ABSFCONV=, FCONV=, GCONV=, XCONV= options) in the MODEL
         statement.
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.
NOTE: 从数据集 WORK.PRIN 读取了 36 个观测。
NOTE: “PROCEDURE LOGISTIC”所用时间(总处理时间):
      实际时间         3.15 秒
      CPU 时间         3.04 秒






然后结果中的OR值非常奇怪:
                                                      Odds Ratio Estimates


                                                      Point          95% Wald
                                    Effect         Estimate      Confidence Limits

                                    type 6 vs 0    >999.999      <0.001    >999.999
                                    type 5 vs 0    >999.999      <0.001    >999.999
                                    type 2 vs 0    >999.999      <0.001    >999.999


请大家帮忙看一下是语句出了问题还是我的数据有问题,谢谢!

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:logistic回归 logistic ogistic logisti logist 因变量

已有 1 人评分热心指数 收起 理由
eijuhz + 2 精彩帖子

总评分: 热心指数 + 2   查看全部评分

dieguyouren 发表于 2018-3-16 18:08:31 |显示全部楼层 |坛友微信交流群
请问楼主的问题解决了吗?我也出现了类似的警告:
WARNING: NRRIDG Optimization cannot be completed.
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.

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-19 05:25