do i=2 to aa;
do j=1 to i-1;
if x[j,1]>x[i,1] then do;
tem=x[j,];
x[j,]=x[i,]; x[i,]=tem;
end;
end;end;
pe=x[m+1:aa,];
ma=x[1:m,];
a=1+round((n-1)*ranuni(j(50,1,0)));
b=1+round((m-1)*ranuni(j(50,1,0)));
if se=0 then Pa=ma[a,2];
if se=1 then Pa=pe[b,2];
return (pa);
finish;
这段在IML中的模块,换一个矩阵或是在另外的模块中引用时问题出现,总是说最后2个if处出现问题,请帮忙



雷达卡




京公网安备 11010802022788号







