十分感谢!
exposure closetype count
0.0 C 3.0
1.0 C 6.0
2.0 C 1.0
3.0 C 1.0
4.0 E 4.0
5.0 E 2.0
6.0 E 5.0
7.0 E 5.0
7.0 K 1.0
8.0 E 1.0
9.0 E 2.0
9.0 K 1.0
10.0 E 3.0
10.0 K 1.0
11.0 K 1.0
12.0 N 5.0

|
楼主: guangqing
|
3970
3
菜鸟向高手求助sas累加问题 |
|
高中生 60%
-
|
回帖推荐data a;
input exposure closetype $ count @@;
cards;
0.0 C 3.0
1.0 C 6.0
2.0 C 1.0
3.0 C 1.0
4.0 E 4.0
5.0 E 2.0
6.0 E 5.0
7.0 E 5.0
7.0 K 1.0
8.0 E 1.0
9.0 E 2.0
9.0 K 1.0
10.0 E 3.0
10.0 K 1.0
11.0 K 1.0
12.0 N 5.0
;
run;
proc sort data=a;
by closetype;run;
data b;set a;
by closetype;
retain new 0;
new+count;
if first.closetype then new=c ...
本帖被以下文库推荐
| ||
|
|
| ||
|
|
||
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


