由买买提看人间百态

topics

全部话题 - 话题: oddsratio
(共0页)
s*******o
发帖数: 392
1
来自主题: Statistics版 - sas graph 9.2怎么没有反应啊。。。
最近看一本讲logistics regression的书,发现以下代码:
ods graphics on;
proc logistic data=Cheese plots(only)=(effect(polybar) oddsratio(range=clip)
);
freq freq;
class Additive (param=ref ref='4');
model y=Additive / covb;
oddsratio Additive;
title ’Multiple Response Cheese Tasting Experiment’;
run;
ods graphics off;
书上给出了画出的图,但是我的sas9.2怎么没反应啊。它也不报错,但也不画图。我
google了一下,说sas/graph在9.2的时候还是需要独立安装,不在base里?谁能告诉我
W********w
发帖数: 771
2
我是做细胞生物学的, 不大大看遗传学方面的杂志。 但最近发现一个基因的特定SNP
跟癌症有关联, OddsRatio为2左右, 病人量<300. 知道这个不是主要疾病调控基因,
但可能是独立的Predictor。 分子机制还没有做完, 但想先把这部分先写一篇短的
Report 或Letter之类的先发了。 不知有啥杂志收这类文章? 我知道Nature Genetics
可以, 但我这文章显然上不了那档次。 请建议。
l*****i
发帖数: 43
3
proc logistic data=d;
model y=x1 x2 x1*x2;
oddsratio x2;
run;
if x2 is continuous, i can get the odds ratio in sas 9.2 version.
however, how do i get odds ratio of interaction term in proc surveylogistic?
and the 95%confident interval?
many thanks,
s******1
发帖数: 178
4
来自主题: Statistics版 - SAS help...
Dear all,
I have a SAS question needed to help. I have 20 variables a1-a10 and b1-b10
and want to fit a logistic regression but use the different combinations and
get odds ratio or estimate.
SAS code: how could get all 100 combination models????? Thanks so much!!!!
%macro logisticm (a=, b=, outdsn= );
ODS OUTPUT OddsRatios=&outdsn;
proc logistic data=one desc;
model iiq1=&a &b age;
run;
ODS OUTPUT CLOSE;
%mend;
%logisticm (a=a1, b=b1, outdsn=a1);
%logisticm (a=a1, b=b2, outdsn=a2);
.....
%logist... 阅读全帖
k*******a
发帖数: 772
5
来自主题: Statistics版 - SAS help...
可以用循环啊,比如
%do i=1 %to 10;
%do j=1 %to 10;
ODS OUTPUT OddsRatios=outa&i.b&j;
proc logistic data=one desc;
model iiq1=a&i b&j age;
run;
ODS OUTPUT CLOSE;
%end;
%end;
a***e
发帖数: 102
6
一写contrast就犯晕,请大牛帮忙给看一下对不对, group是1到6,10mg 是1, 以此
类推, EE 是5, PBO是6, 用的是
logistic reg。多谢了!
roc logistic data=adc descending;
class TRTPN;
model RFL=TRTPN /expb firth;
oddsratio TRTPN ;
contrast '10mg vs EE' trtpn 1 0 0 0 -1 / estimate=exp;
contrast '20mg vs EE' trtpn 0 1 0 0 -1 / estimate=exp;
contrast '35mg vs EE' trtpn 0 0 1 0 -1 / estimate=exp;
contrast '55mg vs EE' trtpn 0 0 0 1 -1 / estimate=exp;
contrast 'ALLTRT vs EE' trtpn 1 1 1 1 -1 / estimate=exp;
contrast '10mg... 阅读全帖
(共0页)