Survival curve for groups

We earlier spoke about comparing groups using non-parametric procedures. One of the hypotheses that the business wants to test is whether the risk appetite influences the tenure that the client has. Let's test this using a Strata option.

Here is the code for non-parametric procedure survival by Strata:

PROC LIFETEST Data=Survival_Analysis Plots=survival (strata=panel); 
   Time tenure*censor(1); 
   Strata risk_appetite; 
Run; 

The clients with medium risk have the lowest percent censored population (43.80) across the strata. The highest percent of the censored population (68.92) is for the customers with the riskiest appetite:

Figure 6.8: Survival plot strata

At the 20th anniversary, the survival chance of the low (risk ...

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.