Chapter 4. Sorting, Printing, and Summarizing Your Data

 

“Once in a while the simple things work right off.”

 
 --PHIL GALLAGHER

From the SAS L Listserve, 1994. Reprinted by permission of the author.

4.1

Using SAS Procedures

100

4.2

Subsetting in Procedures with the WHERE Statement

102

4.3

Sorting Your Data with PROC SORT

104

4.4

Printing Your Data with PROC PRINT

106

4.5

Changing the Appearance of Printed Values with Formats

108

4.6

Selected Standard Formats

110

4.7

Creating Your Own Formats Using PROC FORMAT

112

4.8

Writing Simple Custom Reports

114

4.9

Summarizing Your Data Using PROC MEANS

116

4.10

Writing Summary Statistics to a SAS Data Set

118

4.11

Counting Your Data with PROC FREQ

120

4.12

Producing Tabular Reports with PROC TABULATE

122

4.13

Adding Statistics to PROC TABULATE ...

Get The Little SAS® Book: A Primer, Third 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.