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

12 Useful Macros

Introduction

Listing All or Part of a Data Set

Computing Differences between Successive Observations

Computing Differences between the First and Last Observations per Subject

Computing a Moving Average

Computing Cell Means and Counts

Counting the Number of Observations per Subject

Introduction

This chapter contains a collection of SAS macros that perform several of the longitudinal data tasks described in earlier chapters. This chapter is included primarily for readers who are already familiar with SAS macros. By “packaging” some of the programs described earlier in this book as macros, you can perform some of the common tasks associated with longitudinal data by calling the macro with the appropriate arguments. You may want ...

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