Generalized R2

People who do a lot of linear regression tend to become attached to R2 as a measure of how good their models are. When they switch to PROC LIFEREG or PROC PHREG, they often experience severe withdrawal symptoms because no similar statistic is reported. In this section, I show how a generalized R2 can be easily calculated from statistics that are reported. Before doing that, I want to caution readers that R2 is not all it’s cracked up to be, regardless of whether it’s calculated for a linear model or a proportional hazards model. In particular, R2 does not tell you anything about how appropriate the model is for the data. You can obtain an R2 of only .05 for a model whose assumptions are perfectly satisfied by the data and whose ...

Get Survival Analysis Using SAS®: A Practical Guide 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.