全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
15803 17
2011-08-26
各位,请教,二分类的反应变量,在用proc genmod过程建模分析期影响因素时能直接得出OR或RR值吗?
例如如下程序,加什么选项能直接得出OR或RR值吗?
proc genmod;
  class id group time effect;
  model effect=id group time age/d=bin;
  repeated subject=id/ type=unstr;
run;
二维码

扫码加我 拉你入群

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

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

全部回复
2011-8-27 02:05:41
no.
you could do either way
1. exp(parameter estimate) by yourself
or,
2. in ESTIMATE/LSMEANS/LSMESTIMATE statement with EXP option under the default parameterization of GLM

jingju

jingju
二维码

扫码加我 拉你入群

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

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

2011-8-27 07:25:42
我听我的老师说是可以的
二维码

扫码加我 拉你入群

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

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

2011-8-27 10:22:00
suzhzh 发表于 2011-8-27 07:25
我听我的老师说是可以的
说话得讲证据。你的老师是错误的。京剧
二维码

扫码加我 拉你入群

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

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

2011-8-27 10:34:23
jingju11 发表于 2011-8-27 02:05
no.
you could do either way
1. exp(parameter estimate) by yourself
much obliged!  我的数字有部分缺失,用GLM可能不太合适。
二维码

扫码加我 拉你入群

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

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

2011-8-27 10:58:40

I mean  

the default parameterization of GLM


That is, in PROC GENMOD:

复制代码


in CLASS statement, not the procedure of GLM.

On the other hand, you are correct about the missingness in PROC GLM, which uses list-wise deletion rule for those observations with any missing value in terms of repeated measurements (multivariate model).

JingJu

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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