结果:找到“sas function”相关内容44个,排序为按回复时间降序,搜索更多相关帖子请点击“高级”
SAS Functions by Example
4 个回复 - 1630 次查看
Ron Cody's SAS Functions by Example, Second Edition, is a must-have reference for anyone who programs in Base SAS. This comprehensive reference manual now includes more than 200
functions, including n ...
2019-5-1 21:28 - david01186 - 商业数据分析
sas macro %eval function
3 个回复 - 2707 次查看
%let num=10;
%LET result=%eVAL(&NUM gt 5.1);
%put &result;
%let num=10;
%LET result=%eVAL(&NUM gt 5);
%put &result;
对于第二个,因为10>5,所以result返回的结果是1,这个我已经清楚了。
谁呢帮 ...
2017-9-18 23:56 - jeremyyang - SAS专版
sas macro function
3 个回复 - 1814 次查看
请问,%qsysfunc() 与 %sysfunc之间有什么区别呢?
data dept;
input dept $ 7. name $ 9. salary;
call symput('new', dept);
datalines;
bedding Watlee 18000
bedding Parker 9000
beddin ...
2017-9-9 23:46 - jeremyyang - SAS专版
SAS Sum Function
2 个回复 - 1506 次查看
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 find function
2 个回复 - 2026 次查看
jijin 看了晕头转向,几个关于find()的原题和变体,原题:
42.The following SAS program is submitted:
data WORK.ONE;
Text='Australia, US, Denmark';
Pos=find(Text,'US','i',5);
run;
答案 ...
2015-6-4 06:37 - lorpercon - SAS专版
in function in SAS macro
2 个回复 - 1160 次查看
In
function is in SAS macro language since SAS 9.2 was launched.
options minoperator nomlogic;
%macro test(value)/mindelimiter=',';
%if &value in 1,2,3,4,5,6 %then
%put >>>>Value found with ...
2013-11-13 11:33 - bobguy - SAS专版
SAS中 spline function如何表达呢
1 个回复 - 1361 次查看
1rt
SAS中spline
function如何表示呢 如何表达起连续性的限制条件啊?
2这段代码
proc reg data=liquor1 outest=parm tableout rsquare;
model sa_ln_liquor=time d1 d2;
run;
proc reg data=liquor1 outest ...
2013-10-28 05:27 - 弋安安冉 - SAS专版
SAS put function
4 个回复 - 4340 次查看
请教各位大人,据我所知,put 函数应该可以将数值类型转换成字符类型,但是小弟在运行以下语句的时候碰到一个问题
put(a.subject, $10.) /*a.subject 是数值型
ERROR: Character format $ in PUT
function re ...
2013-6-21 10:53 - francisnoten - SAS专版
SAS Lag function的問題
8 个回复 - 5136 次查看
data test;
input id x;
cards;
1 10
2 11
3 12
1 19
2 13
3 15
1 20
2 23
3 25
;
proc sort data=test; by id x;
run;
data result;
set test;
by id;
if first.id then a=x;
else a=lag(x);
r ...
2013-4-18 00:52 - vieri32 - SAS专版
sas call scan function
0 个回复 - 3993 次查看
call scan(str,n,pos,len[,delims]);
Returns the position and length of the n-th word in a string. If
n < 0, call scan counts words right to left. If n = 0 or |n|> the
number of words in str, call s ...
2010-4-11 13:27 - crackman - SAS专版