Skip to Main Content
PROC TABULATE by Example, Second Edition
book

PROC TABULATE by Example, Second Edition

by Lauren Haworth Lake, Julie McKnight
May 2015
Intermediate to advanced content levelIntermediate to advanced
348 pages
11h 31m
English
SAS Institute
Content preview from PROC TABULATE by Example, Second Edition

Dealing with Numerous Labels

About the Examples

The next area of cleanup that we will tackle is excessive statistic labels. Every time you display a statistic in a table, by default PROC TABULATE generates a row or column heading for that statistic.
If you have two nested row variables and then you add a statistic to the row dimension of the table, you get row headings that are three items deep. Similarly, if you have two nested column headings and an analysis variable, and then you add a statistic, you will end up with column headings that are six items deep!
In the example here, we have a table with a single row variable and two nested column variables. The statistic that we have opted to display is the mean of the analysis variable income. ...
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.
Start your free trial

You might also like

SAS 9.4 Language Reference, 6th Edition

SAS 9.4 Language Reference, 6th Edition

SAS Institute

Publisher Resources

ISBN: 9781607649908