x***i 发帖数: 135 | 1 Sorry, I can't input Chinese now.
I am using SAS to to linear regression and logistic regression. The p value
for the linear model (eg: X1, X2) shows <0.0001. But, my boss want the exact
p value (such as 1X10-7). I am wondering how to get the exact p value.
Thanks a lot! |
d*******o 发帖数: 493 | 2 Very sadly SAS has no such option. Only proc means can specify maximum
decimal places.
However you can do it in R with Options(digits=n) |
x***i 发帖数: 135 | 3 thanks
【在 d*******o 的大作中提到】 : Very sadly SAS has no such option. Only proc means can specify maximum : decimal places. : However you can do it in R with Options(digits=n)
|
j********e 发帖数: 52 | 4 这个,好像不是吧。
proc freq data=mitbbs;
tables a*b*c / cmh;
output out=bbs cmh;
run;
proc print data=bbs;
run;
【在 d*******o 的大作中提到】 : Very sadly SAS has no such option. Only proc means can specify maximum : decimal places. : However you can do it in R with Options(digits=n)
|
O*******r 发帖数: 753 | 5 cmh是什么东东?
【在 j********e 的大作中提到】 : 这个,好像不是吧。 : proc freq data=mitbbs; : tables a*b*c / cmh; : output out=bbs cmh; : run; : proc print data=bbs; : run;
|
y*****t 发帖数: 1367 | 6 cmh是Cochran-Mantel-Haenszel的缩写, a test for general association~
【在 O*******r 的大作中提到】 : cmh是什么东东?
|
d*******1 发帖数: 854 | 7 proc reg;
model=XXXXX;
ods output XXX=XXX;
run;
proc print data=XXX;
format probt;
var probt;
run;
check the ODS help for the name of table you need.
value
exact
【在 x***i 的大作中提到】 : Sorry, I can't input Chinese now. : I am using SAS to to linear regression and logistic regression. The p value : for the linear model (eg: X1, X2) shows <0.0001. But, my boss want the exact : p value (such as 1X10-7). I am wondering how to get the exact p value. : Thanks a lot!
|
s*r 发帖数: 2757 | |
C******t 发帖数: 72 | 9 proc reg;
model=a b c d;
ods output XXX=XXX;
run;
data xxx;
set xxx;
format pvalue e10.;
run; |
T****n 发帖数: 2195 | 10 zan yi ge
【在 C******t 的大作中提到】 : proc reg; : model=a b c d; : ods output XXX=XXX; : run; : data xxx; : set xxx; : format pvalue e10.; : run;
|
b*******r 发帖数: 152 | |
d*******o 发帖数: 493 | |
r*******e 发帖数: 510 | 13 exact p-value是这个意思?
【在 d*******o 的大作中提到】 : Very sadly SAS has no such option. Only proc means can specify maximum : decimal places. : However you can do it in R with Options(digits=n)
|