CamDavidsonPilon / lifelines

Survival analysis in Python
lifelines.readthedocs.org
MIT License
2.34k stars 554 forks source link

reccurent events #157

Open CamDavidsonPilon opened 9 years ago

CamDavidsonPilon commented 9 years ago

Related information at these links: https://stat.ethz.ch/R-manual/R-devel/library/survival/html/coxph.html https://stat.ethz.ch/R-manual/R-devel/library/survival/html/cluster.html https://stat.ethz.ch/education/semesters/ss2011/seminar/contents/presentation_10.pdf

CamDavidsonPilon commented 8 years ago

http://notstatschat.tumblr.com/post/145438762776/computing-the-simplest-sandwich-estimator

jayasamraj commented 8 years ago

Hi, recur dataset.

As it is a counting process approach(recurrent event dataset), we need to pass the arguments (TIME0 and TIME1)

cph = CoxPHFitter()

cph.fit(df, 'TIME', event_col='E')

Here, we can't pass the 2 arguments('TIME0','TIME1') for timeStart and timeEnd in python eg: cph.fit(df, 'TIME0','TIME1' , event_col='E')

Could you please help me out for how to do that.

Thanks.

ChibahAbdelwahab commented 4 years ago

Up, mars 2020, What's the deal for recurrent events data please ? Is there any new implementation ? Thanks!

CamDavidsonPilon commented 4 years ago

@ChibahAbdelwahab not really, no!