Book description
Unlock the essentials of SAS programming!
Fundamentals of Programming in SAS: A Case Studies Approach gives a complete introduction to SAS programming. Perfect for students, novice SAS users, and programmers studying for their Base SAS certification, this book covers all the basics, including:
- working with data
- creating visualizations
- data validation
- good programming practices
Experienced programmers know that real-world scenarios require practical solutions. Designed for use in the classroom and for self-guided learners, this book takes a novel approach to learning SAS programming by following a single case study throughout the text and circling back to previous concepts to reinforce material. Readers will benefit from the variety of exercises, including both multiple choice questions and in-depth case studies. Additional case studies are also provided online for extra practice. This approach mirrors the way good SAS programmers develop their skills—through hands-on work with an eye toward developing the knowledge necessary to tackle more difficult tasks. After reading this book, you will gain the skills and confidence to take on larger challenges with the power of SAS.
Table of contents
- Foreword
- About This Book
- About These Authors
- Acknowledgments
- Chapter 1: Introduction to SAS
-
Chapter 2: Foundations for Analyzing Data and Reading Data from Other Sources
- 2.1 Learning Objectives
- 2.2 Case Study Activity
- 2.3 Getting Started with Data Exploration in SAS
- 2.4 Using the MEANS Procedure for Quantitative Summaries
- 2.5 User-Defined Formats
- 2.6 Subsetting with the WHERE Statement
- 2.7 Using the FREQ Procedure for Categorical Summaries
- 2.8 Reading Raw Data
- 2.9 Details of the DATA Step Process
- 2.10 Validation
- 2.11 Wrap-Up Activity
- 2.12 Chapter Notes
- 2.13 Exercises
-
Chapter 3: Bar Chart Basics, Data Diagnostics and Cleaning, and More on Reading Data from Other Sources
- 3.1 Learning Objectives
- 3.2 Case Study Activity
- 3.3 Bar Charts
- 3.4 Options and Statements to Style Bar Charts
- 3.5 Creating and Using Output Data Sets from MEANS and FREQ
- 3.6 Reading Raw Data with Informats
- 3.7 Handling Incomplete Records
- 3.8 Reading and Writing Raw Data with the IMPORT and EXPORT Procedures
- 3.9 Simple Data Inspection and Cleaning
- 3.10 Wrap-Up Activity
- 3.11 Chapter Notes
- 3.12 Exercises
-
Chapter 4: Combining Data Vertically in the DATA Step
- 4.1 Learning Objectives
- 4.2 Case Study Activity
- 4.3 Vertically Combining SAS Data Sets in the DATA Step
- 4.4 Managing Data Sets During Combination
- 4.5 Creating Variables Conditionally
- 4.6 Working with Dates and Times
- 4.7 Data Exploration with the UNIVARIATE Procedure
- 4.8 Data Distribution Plots
- 4.9 Wrap-Up Activity
- 4.10 Chapter Notes
- 4.11 Exercises
-
Chapter 5: Joining Data Sets on Common Values and Measuring Association
- 5.1 Learning Objectives
- 5.2 Case Study Activity
- 5.3 Horizontally Combining SAS Data Sets in the DATA Step
- 5.4 Match-Merge Details
- 5.5 Controlling Output
- 5.6 Procedures for Investigating Association
- 5.7 Restructuring Data with the TRANSPOSE Procedure
- 5.8 Wrap-Up Activity
- 5.9 Chapter Notes
- 5.10 Exercises
- Chapter 6: Restructuring Data and Introduction to Advanced Reporting
- Chapter 7: Advanced DATA Step Concepts
-
Chapter 8: Clinical Trial Case Study
- 8.1 Scenario, Learning Objectives, and Introductory Activities
- 8.2 Reading and Summarizing Visit and Lab Data
- 8.3 Improving Reading of Data; Creating Charts
- 8.4 Working with Data Stacked Across Visits (and Sites)
- 8.5 Assembling and Summarizing Data—Sites 1, 2, and 3
- 8.6 Data Restructuring and Report Writing
- 8.7 Advanced Data Reading and Report Writing—Connecting to Spreadsheets and Databases
- 8.8 Comprehensive Activity
Product information
- Title: Fundamentals of Programming in SAS
- Author(s):
- Release date: July 2019
- Publisher(s): SAS Institute
- ISBN: 9781635266696
You might also like
video
Mastering SAS Programming
SAS is one of the most popular applications for data analysis and is used widely in …
video
Complete SAS Programming Guide - Learn SAS and Become a Data Ninja
SAS programming continues to be the language of choice for most enterprises/corporations. In 2018, 92% of …
book
Mastering SAS Programming for Data Warehousing
Build a strong foundation in SAS data warehousing by understanding data transformation code and policy, data …
video
The Simplest Guide™ to Advanced SAS Programming | Macros | Proc SQL
For over 20 years, SAS has been the programming language of choice in many industries such …