SAS 软件相关参数

修改 SAS OnDemand for Academics 显示语言

option locale=en_US;
option DFLANG=locale;

修改 SAS 可用内存

检查快捷方式对应的配置文件

"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -CONFIG "C:\Program Files\SASHome\SASFoundation\9.4\nls\1d\sasv9.cfg"

修改 sasv9.cfg 中 -MEMSIZE 2G 选项即可。

修改 p 值显示格式

追踪程序所用模板

ods trace on;
<sas codes>
ods trace off;

查看模板代码

proc template;
source Common.Column.Matrix;
run;

根据模板修改 p 值格式

示例1

proc template;
define column Common.PValue;
just = r;
format = bestd.4;
end;
run;

示例2

define column Common.Column.Matrix;
    dynamic csplit id cmwidth cmxwidth fuzz;
    define header t;
        text _label_;
        split = csplit;
    end;
    header = t;
    just = r;
    width = cmwidth;
    width_max = cmxwidth;
    fuzz = fuzz;
    id = id;
    generic;
    format = bestd.4;
end;

猜你喜欢

转载自www.cnblogs.com/radact/p/12155450.html
SAS