SAS Means
Contents
Usage
proc means data=LIBREF.TABLE N mean median sum min max maxdec=2; var VARLIST; class GROUPVAR1 GROUPVAR2; ways 2; run;
Class Statement
Ways Statement
The WAYS statement takes any number from 0 to the number of CLASS variables. A value of 0 ignores the classes. A value of 1 runs statistics for each single group. A value of 2 runs statistics for each combination of 2 groups. And so on.