Skip to Main Content
Learning SAS by Example
book

Learning SAS by Example

by Ron Cody
July 2018
Beginner content levelBeginner
536 pages
12h 32m
English
SAS Institute
Content preview from Learning SAS by Example

Chapter 7: Performing Conditional Processing

7.1  Introduction

7.2  The IF and ELSE IF Statements

7.3  The Subsetting IF Statement

7.4  The IN Operator

7.5  Using a SELECT Statement for Logical Tests

7.6  Using Boolean Logic (AND, OR, and NOT Operators)

7.7  A Caution When Using Multiple OR Operators

7.8  The WHERE Statement

7.9  Some Useful WHERE Operators

7.10  Problems

 

7.1  Introduction

This chapter describes the tools that allow programs to “make decisions” based on data values. For example, you may want to read a value of Age and create a variable that represents age groups. You may want to determine if values for a particular variable are within predefined limits. Programs that perform any of these operations require conditional processing—the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning SAS by Example

Learning SAS by Example

EdD Ron Cody
SAS in Practice

SAS in Practice

Ekta Saraogi
SQL for Data Analysis

SQL for Data Analysis

Cathy Tanimura

Publisher Resources

ISBN: 9781635266566