【问题标题】:I want to create a column which has the cumulative sum of values of another column in sas我想创建一个列,其中包含 sas 中另一列的值的累积总和
【发布时间】: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


【解决方案1】:
data cum_val;
    set sashelp.air;
    cum_air + air;
run;

更多详情:http://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/a001354482.htm

【讨论】:

    猜你喜欢
    • 2011-10-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-04-09
    • 1970-01-01
    • 2020-09-29
    • 1970-01-01
    相关资源
    最近更新 更多