Re: Predict follow up time using parametric model in r

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: Predict follow up time using parametric model in r

Israel Ortiz
You are right. Specifically, I need to predict the mean and median time to
failure from a coxph model and several parametric models using new data.


El lun., 5 nov. 2018 a las 7:11, Therneau, Terry M., Ph.D. (<
[hidden email]>) escribió:

> First, type='expected' gives the expected cumulative hazard for each
> subject, given their follow-up time and covariates.  It is not the expected
> follow-up time, the expected time to death, or the probability of death.
> I suspect you are not getting what you think you are.
>  A survival model predicts a survival curve for each subject.  For Cox
> models you get the entire curve with the survfit() method, for survreg
> models you get the curve with predict().    To get a better answer about
> how to "predict follow-up time" you will need to be more clear about what
> you actually want, statistically.  Mean time to failure?  Median?  RMST?
> ....
> Terry T.
> On 11/4/18 5:00 AM, [hidden email] wrote:
> I am trying to predict follow-up time using several survival models, both
> parametric and semi-parametric. I achieve it for semi parametric models
> using predict.coxph function in R from survival package using type =
> "expected" as indicated in help. However, for parametric models, this
> option doesn't exist for the predict.survreg function. Is there any other
> option? Maybe using rms package?

        [[alternative HTML version deleted]]

[hidden email] mailing list -- To UNSUBSCRIBE and more, see
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.