lifelines icon indicating copy to clipboard operation
lifelines copied to clipboard

Survival analysis in Python

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

Hi! Thanks for your great work on this project! I am trying to using the `KaplanMeierFitter.fit_interval_censoring` to fit and produce a CDF of _delta_ time with censored data, so negative...

I am currently learning survival analysis using Python, following a textbook example on the leukemia remission dataset. However, my results differ from those presented in the textbook. When I repeated...

Hello, I am currently using Python 3.7.12 with the lifelines module version 0.27.8. While implementing a custom RegressionFitter using the SLSQP method, I encountered an issue where the bounds parameter...

Does anyone happen to know the formula that is used in `predict_partial_hazard` function of the class `CoxPHFitter` when the features have some categorical variables, each of which might have at...

Hey there! I noticed that while for some fitters in the documentation, `.fit()`, `.fit_left_censoring`, ... are documented; E.g. [KaplanMeierFitter](https://lifelines.readthedocs.io/en/latest/fitters/univariate/KaplanMeierFitter.html). But for some other fitters, even though they have these methods...

Hi, When I use the default seaborn theme, the grid is in the front. How can I move the white grid lines to the background. For example: ``` import pandas...

I have a problem with add_at_risk_counts. When I limit the maximum time on the x-axis (set_xlim) to a value less than the maximum x value, for example, the data range...

I am working with auto-claims data where i have incident level data having multiple daily snapshots with time varying covariates. My goal is to predict how long an incident will...

Hello, I’m encountering a problem implementing and visualizing restricted cubic splines (RCS) with the lifelines library in Python. My goal is to reproduce the RCS visualization provided by the R...