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

Statistics Labels Do Not Appear Next to the Correct Variable

You probably have your desired table pictured perfectly in your mind, but getting it to look like that in your SAS output can sometimes be a challenge. Unfortunately, PROC TABULATE cannot read your mind.
A common problem is that you get the basic structure of the table correct, and you get the correct values in the table cells, but the row and column headings are not as you would like. For example, look at the following code:
PROC TABULATE DATA=TEMP F=DOLLAR8.;
   CLASS AGE NUMKIDS;
   VAR INCOME;
   TABLE INCOME*AGE, NUMKIDS*MEAN;
RUN;
There is nothing wrong with Output 17.13, but it is difficult to read. It looks like it is displaying the mean number of children because the MEAN label is ...
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