Chapter 2. Reading, Combining, and Managing Data for Later Analysis

  • 2.1 Temporary versus Permanent Status of Data Sets 24

  • 2.2 Reading Data into a SAS Data Set 27

  • 2.3 Writing Out a File or Making a Simple Report 39

  • 2.4 Concatenating Data Sets and Adding Observations 46

  • 2.5 Merging Data Sets and Adding Variables 50

  • 2.6 Database Processing with PROC SQL 58

  • 2.7 Summary 70

  • 2.8 References 71

  • 2.9 Exercises 71

  • 2.10 Self-Study Laboratory Explorations 73

The focus of Chapter 1 was to help you start writing SAS programs and to give you recommendations for making your programs accessible and clean to read. (You'll thank me the first time you have to use a program that you wrote a year or so previously because it is now relevant to your current project.) With the exception ...

Get Statistical Programming in SAS® now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.