Learning SAS by Example: A Programmer's Guide

  • 7h
  • Ron Cody
  • SAS Institute
  • 2007

If you like learning by example, then this straightforward book makes it easy to learn SAS programming. In an instructive and conversational tone, author Ron Cody clearly explains each programming technique and then illustrates it with one or more real-life examples, followed by a detailed description of how the program works. The text is divided into four major sections: Getting Started; DATA Step Processing; Presenting and Summarizing Your Data; and Advanced Topics. Subjects addressed include:

  • Reading data from external sources
  • Learning details of DATA step programming
  • Subsetting and combining SAS data sets
  • Understanding SAS functions and working with arrays
  • Creating reports with PROC REPORT and PROC TABULATE
  • Learning to use the SAS Output Delivery System
  • Getting started with the SAS macro language
  • Introducing PROC SQL

You can test your knowledge and hone your skills by solving the problems at the end of each chapter. This book is intended for beginners and intermediate users. Readers should know how to enter and submit a SAS program from their operating system.

In this Book

  • What Is SAS?
  • Writing Your First SAS Program
  • Reading Raw Data from External Files
  • Creating Permanent SAS Data Sets
  • Creating Formats and Labels
  • Reading and Writing Data from an Excel Spreadsheet
  • Performing Conditional Processing
  • Performing Iterative Processing—Looping
  • Working with Dates
  • Subsetting and Combining SAS Data Sets
  • Working with Numeric Functions
  • Working with Character Functions
  • Working with Arrays
  • Displaying Your Data
  • Creating Customized Reports
  • Summarizing Your Data
  • Counting Frequencies
  • Creating Tabular Reports
  • Introducing the Output Delivery System
  • Generating High-Quality Graphics
  • Using Advanced INPUT Techniques
  • Using Advanced Features of User-Defined Formats and Informats
  • Restructuring SAS Data Sets
  • Working with Multiple Observations per Subject
  • Introducing the SAS Macro Language
  • Introducing the Structured Query Language
  • Solutions to Odd-Numbered Problems
SHOW MORE
FREE ACCESS