Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL
Help

Chapter 3. Working with Your Data - Pg. 76

76 Chapter 3. Working with Your Data "Contrariwise," continued Tweedledee," if it was so, it might be; and if it were so, it would be; but as it isn't, it ain't. That's logic." --L EWIS C ARROLL From Alice Through the Looking Glass by Lewis Carroll. Public domain. 3 . 1 3 . 2 3 . 3 3 . 4 3 . 5 3 . 6 3 . 7 3 . 8 3 . 9 3 . 1 0 3 . 1 1 Creating and Redefining Variables 76 Using SAS Functions 78 Selected SAS Functions 80 Using IF-THEN Statements 82 Grouping Observations with IF-THEN/ELSE Statements 84 Subsetting Your Data 86 Working with SAS Dates 88 Selected Date Informats, Functions, and Formats 90 Using the RETAIN and Sum Statements 92 Simplifying Programs with Arrays 94 Using Shortcuts for Lists of Variable Names 96