Introduction

Before getting into the nuts and bolts of writing PROC TABULATE code, let’s take a step back and look at the big picture. One of the most common beginner’s mistakes in using the TABULATE procedure is to start writing code without a clear plan of action. This chapter covers the basics of table design and helps you create a plan by following these steps:
  1. Sketch out a rough draft of the table.
  2. Select the variables to use and examine the data.
  3. Clean some of the data, assign formats, or create categories for continuous variables.
  4. Select the appropriate statistics to display in the table.
  5. Put all of this information together into a detailed mock-up of the table that you want to create.
Now, you are ready to ...

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.