Synopses & Reviews
Working with longitudinal data introduces a unique set of challenges. Once you've mastered the art of performing calculations within a single observation of a data set, you're faced with the task of performing calculations or making comparisons between observations. It's easy to look backward in data sets, but how do you look forward and across observations? Ron Cody provides straightforward answers to these and other questions. Longitudinal Data and SAS details useful techniques for conducting operations between observations in a SAS data set. For quick reference, the book is conveniently organized to cover tools-an introduction to powerful SAS programming techniques for longitudinal data; case studies-a variety of illuminating examples that use Ron's techniques; and macros-detailed descriptions of helpful longitudinal data macros. Beginning to intermediate SAS users will appreciate this book's informative, easy-to-comprehend style. And users who frequently process longitudinal data will learn to make the most of their analyses by following Ron's methodologies.
Table of ContentsSection 1 ToolsChapter 1 The RETAIN StatementChapter 2 The LAG (and DIF) FunctionsChapter 3 FIRST and LAST Temporary VariablesChapter 4 Flags and CountersChapter 5 Summarizing Data Using PROC MEANS and PROC FREQChapter 6 Using PROC SQL with Longitudinal DataChapter 7 Restructuring SAS Data Sets Using ArraysChapter 8 Restructuring SAS Data Sets Using PROC TRANSPOSESECTION 2 Case StudiesChapter 9 Study One: Operations on a Clinical DatabaseChapter 10 Study Two: Operations on Daily Weather and Ozone LevelsChapter 11 Study Three: Producing Summary Reports on a Library Data SetSECTION 3 MacrosChapter 12 Useful MacrosAppendix List of Data Files and SAS Data Sets
This title details useful techniques for conducting operations between observations in a SAS data set. For quick reference, the book is conveniently organized to cover tools, case studies, and macros. Beginning to intermediate SAS users will appreciate this book's informative, easy-to-comprehend style.