Skip to Main Content
An Introduction to SAS University Edition
book

An Introduction to SAS University Edition

by Ron Cody
February 2018
Beginner content levelBeginner
366 pages
7h 2m
English
SAS Institute
Content preview from An Introduction to SAS University Edition

Chapter 16: Working with Multiple Observations per Subject

Introduction

Useful Tools for Working with Longitudinal Data

Describing First. and Last. Variables

Computing Visit-to-Visit Differences

Computing Differences Between the First and Last Visits

Counting the Number of Visits for Each Patient

Conclusion

Problems

Introduction

Because SAS processes one observation at a time, you need special programming tools when you want to analyze data where there are multiple observations per subject or any other grouping variable. For example, suppose you have a data set in which each observation represents a patient visit to a clinic. You record the patient ID, the date of the visit, and some health-related values. Some common programming tasks would ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential Statistics Using SAS University Edition

Essential Statistics Using SAS University Edition

Geoff Der, Brian S. Everitt
Elementary Statistics Using SAS

Elementary Statistics Using SAS

Sandra D. Schlotzhauer

Publisher Resources

ISBN: 9781629600079