作者aerin5168 ()
看板Statistics
標題[程式] sas跑gee求OR值
時間Thu Apr 26 19:32:46 2012
------------------------------------------------------------------------
[軟體程式類別]:
SAS
[程式問題]:
PROC GENMOD
[軟體熟悉度]:
低(1~3個月)
[問題敘述]:
1.SAS跑GEE時只求出estimate沒有OR值及OR的信賴區間
2.自變項及依變項皆為類別,無法求出waldchi
[程式範例]:
data one; set two;
proc genmod descending;
weight count;
class id income year gender /param=ref ref=first;
model edu=income year gender/dist=binomial link=logit ;
repeated subject=id/type=un corrw;
run;
之前有參考版上,使用過OR=exp(estimate)
但是無法算出來OR及OR信賴區間
請問求出OR及信賴區間呢?
-----------------------------------------------------------------------------
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 120.126.59.187
1F:推 imaltar:用esimate 04/26 20:47
2F:→ aerin5168:請問是用estimate "income1" income 10 -1/exp; 04/26 23:11
3F:→ aerin5168:estimate "income2" income 01 -1/exp; 04/26 23:13
4F:→ aerin5168:每個變項都要設,是這樣嗎?? 04/26 23:15