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

Make the Simplest Table Possible

To understand PROC TABULATE fully, you have to start very simply. The simplest table possible in PROC TABULATE has to have three things:
  • a PROC TABULATE statement
  • a TABLE statement
  • a CLASS or VAR statement. In this example, we use a VAR statement. Later examples show the CLASS statement.
The following steps take you through the process of creating a simple table:
  1. The first part of the procedure is the PROC TABULATE statement. The minimum syntax for this statement is:
    PROC TABULATE;
    This syntax assumes that the table will be run with the most recently created data set. However, if there is no current data set, you get the error message shown in the following sample log:.
    6 7 PROC TABULATE; ...
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