Questions tagged [lifelines]

Use when discussing the library's statistical outputs. For questions about "how do I....", questions should be asked on StackOverflow instead.

Filter by
Sorted by
Tagged with
0
votes
0answers
26 views

Cross-validation not converging on Cox PH due to dummies

I'm running a Cox PH model on Python using lifelines. For some categoric variables (like purpose of loan) my go-to approach was to make it into dummies and use n-1 ...
0
votes
1answer
51 views

Understanding Cox regression

I have to work with Cox regression but I'm not getting fully how it works. So I created a very basic fake data sample, and tried to fit a Python Lifelines ...
0
votes
1answer
36 views

Predictions using CoxTimeVaryingFitter for survival analysis in Python

For a customer churn analysis , i am building a time varying cox model in Python (available under lifelines package) to predict survival probabilities. The model object CoxTimeVaryingFitter() ...
1
vote
1answer
56 views

Convergence Error Using lifelines.CoxTimeVaryingFitter Python

I want to evaluate my Cox model using the lifelines package for a time varying covariate problem. However, when I use the lifelines.CoxTimeVaryingFitter I get a ...
2
votes
2answers
195 views

complex survey in python

I have been using the excellent R survey package for survival analysis of complex survey data. I have the necessity to migrate to python, and have found that the ...
0
votes
1answer
48 views

Interval Censored data for WeibullFitter in Lifelines python module [closed]

I am getting different answer using lifelines module for interval censored data fitting using WeibullFitter() function. ...
3
votes
1answer
1k views

How does lifelines calculate baseline hazard in CoxPHFitter?

I have learnt that the baseline hazard function in the Cox PH Model is unspecified. Does it mean that I can specify it as any functions and select the best one during experiments? I also see that the ...
0
votes
1answer
2k views

Difference between KaplanMeierFitter plots() in Lifelines

I have been using Lifelines library for survival analysis. I observed a difference in the plots using the Kaplan Meieir Fitter estimator on my data. The above plot of the data, provides a step ...
4
votes
1answer
854 views

Python Astronomy Censored Data in Lifelines [duplicate]

I am trying to find a correlation between a given data set containing redshifts and turnover frequencies (I have a list of 320 galaxies, and the redshift and turnover frequency (a turnover frequency ...