结果:找到“sas sum”相关内容17个,排序为按回复时间降序,搜索更多相关帖子请点击“高级”
如何用SAS横向merge成一个summarycell?
3 个回复 - 1123 次查看
0=没病 1=有病 怎么把每一行的个人情况融合成1、0的数字串?
试过以下code,失败。。。有大佬能帮帮忙吗!谢谢。
proc sql;
create table want as
select id, copd, mi,stroke,cancer,
summary as copd||mi ...
2019-9-6 23:22 - miffy126 - SAS专版
sas的sum函数
4 个回复 - 8297 次查看
book=
sum(equity,-prefer_stk);
book是账面价值,想问一下
sum函数后面是什么意思?prefer前面为什么加个-?
谢谢!
2018-7-31 23:19 - Lindsay林 - SAS专版
SAS Sum Function
2 个回复 - 1501 次查看
Data test;A=20;
B=40;
C=.;
D=60;
E1=
sum(A,B,C,D);
E2=
sum(of A-D);
run;
Sum函数有两种求和方式,请问为什么第二种算不出来?谢谢!
2017-6-27 03:53 - jeremyyang - SAS专版
SAS BASE 复习经验(length, sum, options)
3 个回复 - 1291 次查看
复习SAS BASE的过程中总结了一下比较常考到的一些知识点。主要是
[*]System options
[*]Length (基于9.4 version)
[*]Sum Function/Statement
我自己觉得这几点都是有时候挺搞的(而且一些题目的答案也会 ...
2017-2-16 16:47 - ξ绿茶ξ - SAS专版
打滚求问SAS count/sum命令~~~~
10 个回复 - 9164 次查看
程序如下:
DATA SCORE;
RETAIN SUM 0 SCHI 0 SMATH 0 SENG 0;
INPUT CHI MATH ENG;
LABLE CHI='CHINESE' MATH='MATH' ENG='ENGLISH' SCHI='SUM OF CHINESE';
SUM=SUM+1;
CARDS;
80 75 95
70 85 92
85 . 9 ...
2015-9-20 04:49 - javitianyu - SAS专版
sas宏call sumput什么意思
1 个回复 - 2295 次查看
%macro env1(param1);
data _null_;
x = ’a token’;
call symput(’myvar1’,x);
run;
%put ** Inside the macro: **;
%put _user_;
%mend env1;
%env1(10)
%put ** In open code: **;
%put _user_;
da ...
2011-1-12 17:04 - ciciwanghk - SAS专版