Loko wrote:
Hello,
Based on Sashelp.class:
proc means data=sashelp.class nway noprint;
class sex;
var weight height;
output out=minmix(drop=_type_ _freq_ elim:) min(weight height)=elim1 height
max(weight height)=weight elim2;
run;
You don't need ELIM. You don't think SAS would make a syntax that was that clunky do you? proc means data=sashelp.class nway noprint; class sex; var weight height; output out=minmix(drop=_type_ _freq_ elim:) min(weight height)=elim1 height max(weight height)=weight elim2; run; proc means data=sashelp.class nway noprint; class sex; output out=minmix2(drop=_:) min(height)= max(weight)=; run; proc compare base=minmix compare=minmix2 note; run;
... View more