I am doing a survival analysis by a continuous variable using:
fit <- coxph(Surv(Survival, Dead) ~ HighestKi67, data = SurvivalbyHighestKi67)
fit
which returns:
coef exp(coef) se(coef) z p
HighestKi67 0.12152 1.12921 0.02582 4.706 2.53e-06
Likelihood ratio test=15.9 on 1 df, p=6.666e-05
n= 160, number of events= 56
I want to represent this graphically so I thought to separate the continuous variable into 2 categories (less than X VS greater than X) and plot on a K-M plot
So my question is this: other than trial and error, how could I find the cut-off value(X) that would maximise the significant difference between the two categories?
More generally, is there another way to graphically represent survival analysis of a continuous variable?
With thanks,