Hello
I want to create a summary frequency table .
The table will include 3 categorical variables.
In the summary table there is interaction between two categorical variables
Please see attach the table (how should it look like)
Let's say that there are 3 categorical :Z1,Z2,Z3
Can anyone show by proc tabulate and proc report how to produce this summary report?
I'd suggest you study this example using data from sashelp.cars:
data have;
set sashelp.cars;
where make in ('Acura','Audi','Chevrolet');
run;
proc tabulate data=have;
class make type origin;
tables make * type all='TOTAL'
,
(origin all='TOTAL')*N=' '*f=8.0;
run;
Some of us will not (or cannot) download Microsoft Office attachments, as this is a security risk.
Please show the desired output via screen capture, included in your reply via clicking on the Photos icon.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.