SAS Institute. The Power to Know

Learning Center

More Information

Book Extras

Keep in Touch

SAS Press» Companion Site

Learning SAS by Example: A Programmer's Guide

About the Book

book cover Learning SAS by Example: A Programmer's Guide
By: Ron Cody
ISBN: 978-1-59994-165-3
Pages: 664


Order this book from our online bookstore


Learn to program SAS by example!

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. (Solutions to odd-numbered problems are located at the back of this book. Solutions to all problems are available to instructors by visiting the book's companion Web site for details.) This book is intended for beginners and intermediate users. Readers should know how to enter and submit a SAS program from their operating system.

About the Author

author Ron Cody, Ed.D, is a retired professor at the Robert Wood Johnson Medical School and now works as a private consultant and a national instructor for SAS Institute Inc. A SAS user since 1977, Ron has the extensive knowledge and innovative style that have made him a popular presenter at local, regional, and national SAS conferences. He has authored or coauthored numerous books such as SAS Functions by Example; SAS Programming by Example; Applied Statistics and the SAS Programming Language, Fifth Edition; The SAS Workbook; The SAS Workbook Solutions; Cody's Data Cleaning Techniques Using SAS Software and Longitudinal Data and SAS: A Programmer's Guide as well as countless articles in medical and scientific journals.

Samples and Tips, Blogs, and More

Professor Solutions

For the solutions to the exercises for professors, you will need to fill out the form located at http://support.sas.com/publishing/survey/solutions_form.html

Podcast