[R] Predict follow up time using parametric model in r

Israel Ortiz i@r@4884 @ending from gm@il@com
Wed Nov 21 03:34:59 CET 2018


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.

Thanks.

El lun., 5 nov. 2018 a las 7:11, Therneau, Terry M., Ph.D. (<
therneau using mayo.edu>) 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, r-help-request using r-project.org 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]]



More information about the R-help mailing list