lifelines
lifelines copied to clipboard
Survival analysis in Python
Hey everyone, newbie here! The 'survival_difference_at_fixed_point_in_time_test documentation' does not explain that it performs a test using chi-squared distribution and the example can be improved by adding interpretation of the result.
I`m facing the following error when running the Gompertz Survival Function? > TypeError: loop of ufunc does not support argument 0 of type ArrayBox which has no callable expm1 method...
ROC
I found that there is no support for survival analysis to plot ROC curves for the time being. Please, will the relevant ROC calculation function break new ground in future...
Hi when I try to use cph.check_assumptions, there will be errors like CoxPHFitter has no attribute '_preprocess_dataframe'. And I can't use concordance_inde. AttributeError: CoxPHFitter has no attribute 'concordance_index_' Additionally, my...
### Discussed in https://github.com/CamDavidsonPilon/lifelines/discussions/1435 Originally posted by **Asieh-A-Mofrad** July 8, 2022 Hi, I'm new to survival analysis and the lifelines library. I'm using Cox’s time varying proportional hazard model and...
Hello, Sorry if this is basic but I haven't found it in the docs.. I have a fitted model in lifelines (namely, a SplineFitter on right censored data) and what...
Trying to compare AFT and Cox PH predictions. Concordance only gives out how good the model is ranking the predictions. Cox PH has a partial likelihood which cant be compared...
Hello! I am translating the Cox model from R to Python and found that baseline functions in R differs from the baseline functions in Python. Based on the data from...
At the page https://lifelines.readthedocs.io/en/latest/jupyter_notebooks/Piecewise%20Exponential%20Models%20and%20Creating%20Custom%20Models.html#Bounded-lifetimes-using-the-beta-distribution There is a piece of code which produces a bug: ``` n = 100 T = 5 * np.random.random(n)**2 T_censor = 10 * np.random.random(n)**2 E =...