
|
楼主: julius725
|
7490
18
[原创博文] 累加问题,拜求SAS达人 |
|
本科生 3%
-
|
回帖推荐suppose a is the original dataset name with the column names x1, x2, x3, x4, x5,x6.then it is very simple to get the data you needed.data a; set a; y1 = x1;y2 = y1 + x2;y3 = y2 + x3;y4 = y3 + x4;y5 = y4 + x5;y6 = y5 + x6;run;then, y1,y2,...,y6 should have the data you wanted.SAS has a different style with the other program languages such as VC,VB.
本帖被以下文库推荐
| ||
|
|
| ||
| ||
| ||
| ||
| ||
| ||
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


