Region
proc sort data=parts.widgets out=work.widgsort; by region; run; proc means data=work.widgsort mean range sum maxdec=0; var unitcost unitsold net; by region; run;
proc means data=parts.widgets mean range sum maxdec=0; var unitcost unitsold net; class region; run;
Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.