Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/linq/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
有没有办法让SAS只输出重要结果?_Sas - Fatal编程技术网

有没有办法让SAS只输出重要结果?

有没有办法让SAS只输出重要结果?,sas,Sas,我对使用PROC FREQ输出许多卡方检验感兴趣。但是,我想知道是否可以将其设置为SAS只打印小于特定数字的p值 例如,在下面我只想输出p值小于0.15的卡方检验 proc freq data = data_set; tables A*B A*C A*D A*E B*C B*D B*E C*D C*E D*E / chisq; run; 我能想到的唯一方法是将每个结果输出到一个数据集(使用ODS)并从那里限制值 ods output chisq(match_all)=want (where=

我对使用PROC FREQ输出许多卡方检验感兴趣。但是,我想知道是否可以将其设置为SAS只打印小于特定数字的p值

例如,在下面我只想输出p值小于0.15的卡方检验

proc freq data = data_set;
tables A*B A*C A*D A*E B*C B*D B*E C*D C*E D*E / chisq; 
run;

我能想到的唯一方法是将每个结果输出到一个数据集(使用ODS)并从那里限制值

ods output chisq(match_all)=want (where=(statistic='Chi-Square' and prob<0.15));
proc freq data = data_set;
tables A*B A*C A*D A*E B*C B*D B*E C*D C*E D*E / chisq; 
run;
ods output close;

ods output chisq(match_all)=want(其中=(statistic='Chi-Square'和prob注意多重比较导致的错误:)