proc sort data=have;
by code year month;
run;
proc means data=have nway noprint;
by code year;
class month;
var m;
output out=out1 mean=mean median=med min=min max=max p25=p25 p75=p75;
run;
data want;
merge have out1(drop=_:);
by code year month;
run;


雷达卡





京公网安备 11010802022788号







