Skip to content
Prev 315507 / 398502 Next

coxph with smooth survival

Hello users,

I would like to obtain a survival curve from a Cox model that is smooth and does not have zero differences due to no events for those particular days.
I have:
[1] 18

So you can see 18 days where the survival curve did not drop due to no events. 

Is there a way to ask survfit to fit a nice spline for the survival??

Note: I tried survreg and it did not work, but maybe I did not do it properly??

Thank you very much.

Stephen B