楼主: jingliang30
4559 10

求sas 累加 累乘的 宏!!! [推广有奖]

11
yongyitian 发表于 2013-3-27 11:01:59
jingliang30 发表于 2013-2-1 11:14
这个宏怎么调用呢?我是菜鸟一枚
in=  is for enter the name of dataset.   
         for example: in=aa

var= is for enter the variable name you want to add and multiple
         for example:    var = var2

out= is for enter the name of output dataset
         for example: out=result

to use the macro, just type  
%sum_prod(In=aa, var=var2, out=result);

then submit it to run.

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-1 15:12