全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
585 6
2012-03-09
PROC GENMOD data=remission;
class remiss (param=ref ref='1');
model remiss=cell smear infil li blast temp;
run;
我用该程序运行出来的结果如下:                                 Standard     Wald 95% Confidence          Wald
                   Parameter     DF    Estimate       Error           Limits           Chi-Square    Pr > ChiSq
                   Intercept1     1    -58.0385     71.2364    -197.659     81.5824          0.66        0.4152
                   cell           1    -24.6615     47.8377    -118.422     69.0987          0.27        0.6062
                   smear          1    -19.2936     57.9500    -132.874     94.2864          0.11        0.7392
                   infil          1     19.6013     61.6815    -101.292    140.4948          0.10        0.7507
                   li             1     -3.8960      2.3371     -8.4766      0.6847          2.78        0.0955
                   blast          1     -0.1511      2.2786     -4.6170      4.3148          0.00        0.9471
                   temp           1     87.4339     67.5736    -45.0078    219.8756          1.67        0.1957
                   Scale          0      1.0000      0.0000      1.0000      1.0000

1、estimate一列和proc logistic 出来的值正好相反,为什么?
2、怎么删掉最后有scale的一行?
3、有没有其他proc类似logistic和genmod, 能输出wald test?
谢谢!
二维码

扫码加我 拉你入群

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

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

全部回复
2012-3-9 23:36:23
CLASS statement is only working on the explanatory variables. Jingju
二维码

扫码加我 拉你入群

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

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

2012-3-10 03:26:22
jingju11 发表于 2012-3-9 23:36
CLASS statement is only working on the explanatory variables. Jingju
请问那应该怎么编写?我想得到response variable=1(有0和1)时候的这些值,谢谢!
二维码

扫码加我 拉你入群

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

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

2012-3-10 03:47:22
If you don't claim anything in both GENMOD and LOGISTIC, you should have the same results.
But different to LOGISTIC, GENMOD won't give you a convenient way to change response baseline level. By default, both PROCs always use the larger value as the base-level. In your case, since 1 >0, so the 1 as the baseline thus you are modeling on 0 vs. 1.
There are Many ways to change it but not from a direct option.
jingju

For example:
复制代码
二维码

扫码加我 拉你入群

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

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

2012-3-10 04:05:21
jingju11 发表于 2012-3-10 03:47
If you don't claim anything in both GENMOD and LOGISTIC, you should have the same results.
But diff ...
estimate问题已解决,多谢!再请问最后有scale一行的是sas default吗?能不能去掉?
二维码

扫码加我 拉你入群

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

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

2012-3-10 04:05:55
sorry, in fact, genmod takes descending option.
jingju
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群