O'Reilly logo

Longitudinal Data and SAS by EdD 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

8   Restructuring SAS Data Sets Using PROC TRANSPOSE

Introduction

Going from One Observation to Several Observations

Another Example of Creating Multiple Observations from a Single Observation

Going from One Observation per Subject to Many Observations per Subject

Creating a Data Set with One Observation per Subject from a Data Set with Multiple Observations per Subject

Introduction

Chapter 7 described how to restructure SAS data sets using DATA step programming. This is usually the most flexible way to get the job done. However, PROC TRANSPOSE was designed specifically to perform one-to-many and many-to-one transformations. This author usually reverts back to the comfort of the DATA step—doing what most people do, using what they are most comfortable ...

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