O'Reilly logo

An Introduction to SAS University Edition by Ron Cody

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required