options ps=56 ls=80; libname def 'c:\nut209\data'; proc format; value sexfmt 1='Male' 2='Female'; data; set def.normtemp; format m1f2 sexfmt.; proc sort; by m1f2; proc univariate noprint; by m1f2; histogram temp; run; proc univariate noprint; class m1f2; histogram temp; run;