楼主: staciemm
369 6

sas proc genmod的问题 [推广有奖]

  • 0关注
  • 0粉丝

高中生

25%

还不是VIP/贵宾

-

威望
0
论坛币
20 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
228 点
帖子
12
精华
0
在线时间
25 小时
注册时间
2012-3-9
最后登录
2015-2-1

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
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?
谢谢!
二维码

扫码加我 拉你入群

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

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

关键词:genmod Mod ROC confidence Intercept Error 程序

沙发
jingju11 发表于 2012-3-9 23:36:23 |只看作者 |坛友微信交流群
CLASS statement is only working on the explanatory variables. Jingju

使用道具

藤椅
staciemm 发表于 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)时候的这些值,谢谢!

使用道具

板凳
jingju11 发表于 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:
  1. proc format;
  2. value respF
  3. 0='2' 1 ='1';
  4. run;
  5. proc genmod;
  6. format remiss respF.;
  7. ...
  8. ;
  9. run;
复制代码

使用道具

报纸
staciemm 发表于 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吗?能不能去掉?

使用道具

地板
jingju11 发表于 2012-3-10 04:05:55 |只看作者 |坛友微信交流群
sorry, in fact, genmod takes descending option.
jingju

使用道具

7
staciemm 发表于 2012-3-10 04:23:54 |只看作者 |坛友微信交流群
jingju11 发表于 2012-3-10 04:05
sorry, in fact, genmod takes descending option.
jingju
但是我的程序里没有scale这个变量为什么会出来呢。。。

新建 文本文档 33.txt

8 Bytes

使用道具

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

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

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

GMT+8, 2024-4-27 14:36