A Statistic’s Label Is Blank, but a Space Is Left in the Row Label
There is more to specifying
a blank label than just putting
VARNAME=‘ ’
in
the TABLE statement.
For example, the following
code correctly specifies blank labels for both the variable HOURLY
and the statistic MEAN:
PROC TABULATE DATA=TEMP; CLASS AGE CTRY; VAR HOURLY; TABLE AGE*HOURLY=' '*MEAN=' ', CTRY=' ' / BOX='Mean Hourly Wage'; RUN;
But if you look at Output
17.11, you can see that while the two labels are blank,
the two boxes created to hold them were left in the row headings.
This is because we forgot one step in removing labels.
Output 17.11 Table with Leftover Empty Boxes
The first thing you have to do is to make them blank by assigning a VARNAME=‘ ’ label, which ...
Get PROC TABULATE by Example, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.