各位大虾,
我要用SAS编程,怎么表示三维数组呢?
想了很久都没有头绪,希望大家帮帮忙啊。。。

|
楼主: luoyan334
|
3994
7
[求助]SAS中怎么表示三维数组 |
|
已卖:25份资源 高中生 55%
-
|
回帖推荐let's assume ownerage, model, and carage are characters in a data set called 'xxx'.build 3 informats first,proc format;invalue ownerage'17-20'=1'21-24'=2...;invalue model'A'=1'B'=2'C'=3'D'=4;invalue carage'0-3'=1...;Then the records can be loaded into arrays as follows:data _null_;array x[8,4,4] _temporary_;array y[8,4,4] _temporary_;do until (eof);set xxx end = eof;x = nclaims;
y = avcost;end;/* ...
本帖被以下文库推荐
| ||
|
|
| ||
|
平生无大志,唯吃饱ZB,喂饱JB耳!
|
||
| ||
| ||
|
平生无大志,唯吃饱ZB,喂饱JB耳!
|
||
| ||
| ||
|
平生无大志,唯吃饱ZB,喂饱JB耳!
|
||
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


