Saturday, May 22, 2021

A question of Cox PH model

Hello, everyone! I have a question about the Cox PH model in Stata, I know how to use the command stcox, but if I want to use the Cox model as a predicting model, How can I calculate the Confidence interval of a centain year.
For example, if the treatment variable is treat, after the stset, I use
stcox treat
I can also draw the predicted survival line, use
stcurve, surv at(treat=(0 1))
But if I want to know the 10 years survival probability of the Cox predicted survival curve, how can I get it ?

No comments:

Post a Comment