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:
At the 20th anniversary, the survival chance of the low (risk ...