data t1;
do id=1 to 20;
x=ranuni(1223);
output;
end;
run;
proc means data=t1 mean median;
var x ;
output out=exval p1=p1 p99=p99;
run;
proc sql;
create table t2 as
select a.* from t1 as a
where a.x > ( select p1 from exval) and a.x < ( select p99 from exval);
quit;
proc print data=t2;
run;
很想知道当变量很多时,该如何处理呢,谢谢!LZ在学SAS时,实在很笨。。。



雷达卡







京公网安备 11010802022788号







