Data structure

Both PROC LIFETEST and PROC PHREG will allow the analyst to take into account the variables that explain the survival time. However, there is a difference in how input data can be structured for the latter procedure. Both these procedures will take into account instances where each subject will have one row of data. This is the major deviation from most of the time series datasets we have observed in this book. Most of the data have subjects with multiple rows, with each row signifying a point in time. The periodicity is constant between each row of the subject. However, the survival data is constructed by aggregating the data at a subject level. PROC PHREG does allow the use of multiple rows per each subject. However, the ...

Get SAS for Finance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.