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

Modify Statistic Labels

Overview

When we put statistics in our tables, PROC TABULATE adds labels for the appropriate rows or columns that indicate which statistic has been selected. As SAS programmers, the labels N, MEAN, STD, and RANGE might make perfect sense. But what about the end users?
Wouldn’t it be nice if you could add more descriptive labels? As it happens, you can. PROC TABULATE supplies default labels for statistics, but they can be renamed to anything you want. For example, in the following table, we display three statistics. The following code generates a table with the default labels:
PROC TABULATE DATA=TEMP;
   CLASS OCCUP FULLTIME;
   VAR INCOME;
   TABLE OCCUP, FULLTIME*INCOME*(N MEAN STD);
RUN;
Output 9.3 shows the results. There ...
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