ERROR: (execution) Invalid subscript or subscript out of range.
operation : [ at line 186 column 6(程序中的红字部分)
operands : T, t, *LIT1006
实在想不明白,为什么哈?求请同志们帮忙
- proc iml;
- load N;
- load T;
- load NT;
- B_0=N*(T`);
- use ba.t3;
- do i=1 to 2320;
- do t=1 to 5;
- f=N[i,1];
- g=T[t,1];
- B_0[i,t]=0;
- do c=1 to 248064;
- if NT[c,1]=f & NT[c,2]=g then do;
- read all where(SecCode=f & TDate=g) into S;
- XX=0;
- XY=0;
- do ini=1 to 15;
- XX=XX+S[ini,4]*S[ini,4];
- XY=XY+S[ini+1,4]*S[ini,4];
- end;
- b_0=XY/XX;
- B_0[i,t]=b_0;
- end;
- end;
- end;
- end;
- store B_0;
- quit;



雷达卡



京公网安备 11010802022788号







