Hi.
I am not sure.Maybe you need add 'by' statement into proc freq;
[pre]
ods html file='class.html' style=sasweb;
proc sort data=sashelp.class out=class;
by sex;
run;
proc freq data=class;
by sex;
tables sex*name /list;
run;
ods html close;
[/pre]
Ksharp
... View more
Two solutions I can think of:
1 - Use a By statement to get the breakout for groups. However, I suspect you also want the overall value.
2 - I would use Proc Tabulate or Report for this particular application.
... View more