Displaying 1 result from an estimated 1 matches for "treatmenttype_binary".
2012 Oct 08
1
Survival prediction
...ime interaction. (non-proportionality detected)
> I am now wondering how could I most easily get survival predictions from my model.
>
> My model was specified:
> coxph(formula = Surv(event_time_mod, event_indicator_mod) ~ Sex +
> ageC + HHcat_alt + Main_Branch + Acute_seizure + TreatmentType_binary +
> ICH + IVH_dummy + IVH_dummy:log(event_time_mod)
>
> And now I was hoping to get a prediction using survfit and providing new.data for the combination of variables
> I am doing the predictions:
> survfit(cox, new.data=new)
Some comments:
1. even though it is in the...