DonaZ,
The class option allows you to break out subgroups from the data. This is nice when you have a table with more than one group, and you want to find stats on all the groups. For example, if you had a table with 2 columns:
DayOfWeek Calls
Monday 6
Monday 7
Tuesday 8
Tuesday 9
You can have:
Proc means data=/*table name*/ n mean p25 p75;
Class DayOfWeek;
Var Calls;
run;
the output would be something like:
DayofWeek Mean_Calls P25 P75
Monday 6.5 6 7
Tuesday 8.5 8 9
Without the Class, the out is like this:
Mean P25 P75
7.5 6 9