Chapter 17: Describing Arrays

Introduction

What Is an Array?

Describing a Character Array

Performing an Operation on Every Numeric Variable in a Data Set

Performing an Operation on Every Character Variable in a Data Set

Converting a Data Set with One Observation per Subject into a Data Set with Multiple Observations per Subject

Converting a Data Set with Multiple Observations per Subject into a Data Set with One Observation per Subject

Conclusion

Problems

Introduction

Cody's law of SAS programming states that if you are writing a program and it is becoming very tedious, you should stop what you are doing and ask yourself, "Is there a non-tedious way to write this program?"  The answer is often "yes." Perhaps there is a function that will save ...

Get An Introduction to SAS University Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.