lifelines icon indicating copy to clipboard operation
lifelines copied to clipboard

Survival analysis in Python

Results 158 lifelines issues
Sort by recently updated
recently updated
newest added

All, I found a confidence interval error in WeibullFitter function from lifelines. Please see the below. Highly appreciate if someone can fix this issue. Thanks, Suresh Reliasoft answers: Eta =...

I would like to have nomograms from fitted models implemented, as in RMS R package. That would be a really useful upgrade. This form of visual data representation gathers in...

enhancement
plotting

https://github.com/CamDavidsonPilon/lifelines/blob/519bd3abe6051bd9fb5da0dfffce24ab86171f3f/lifelines/fitters/coxph_fitter.py#L2171 In this function,we compute the baseline_hazard.and the comment indicates that the method is refer to https://stats.stackexchange.com/questions/46532/cox-baseline-hazard. but i found some bugs in the implement of the functiion. ![image](https://user-images.githubusercontent.com/44150277/96255810-1db38400-0fea-11eb-821b-b3c28aff7f3b.png) I...

Log transformed confidence bounds for baseline hazard and cumulative hazard added (moeschberger and klein, 2013, p.283)

Hello! I am translating the Cox model from STATA to Python and found that the baseline survival in STATA differs from the baseline survival in Python (I started with a...

Recently I worked on a project for modeling transitions in a multi-state model with the CTVM. And I would like to share with you what would make the usability of...

Combined with Zepid package, I want to plot IPTW adjusted KM curve and calculate adjusted log-rank test. Does anyone have examples of this?

Hello! I am using v 0.25.4 of lifelines I have recently started using lifelines and saw this in the documentation: > lifelines.utils.k_fold_cross_validation(fitters, df, duration_col, event_col=None, k=5, scoring_method='log_likelihood', fitter_kwargs={}) > ......

bug