【发布时间】:2016-03-13 13:44:22
【问题描述】:
我想创建一个列,其中包含 sas 中另一列的值的累积总和
【问题讨论】:
-
你可以从谷歌搜索
create a column which has the cumulative sum of values of another column in sas开始。不过,这对 Stack Overflow 来说不是一个好问题。
标签: sas
我想创建一个列,其中包含 sas 中另一列的值的累积总和
【问题讨论】:
create a column which has the cumulative sum of values of another column in sas开始。不过,这对 Stack Overflow 来说不是一个好问题。
标签: sas
data cum_val;
set sashelp.air;
cum_air + air;
run;
更多详情:http://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/a001354482.htm
【讨论】: