choice='Choice of Radio Program'*n='Number of Listeners';
Specify the title.
title 'Listening Preferences on Weekdays';
run;
Output
Output 59.25Listening Preferences on Weekdays
Details
Reshape the Data
The original input data set has all the information that you need to make the crosstabular
report, but PROC TABULATE cannot use the information in that form. PROC
TRANSPOSE rearranges the data so that each observation in the new data set contains
the variable Listener, a variable for time of day, and a variable for programming
preference. The following figure illustrates the transposition. PROC TABULATE uses
this new data set to create the crosstabular ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.