lifelines icon indicating copy to clipboard operation
lifelines copied to clipboard

Adjusted (weighted) Logrank test

Open prbndr opened this issue 6 years ago • 3 comments

Hi - great package, I really enjoy using it for survival analysis in Python!

Is there a possibility to implement an adjusted (weighted) logrank test to pair with the weighted KM curves?

Thanks!

prbndr avatar Mar 05 '19 18:03 prbndr

I think so - maybe shouldn't be too hard I think.

CamDavidsonPilon avatar Mar 05 '19 18:03 CamDavidsonPilon

That would be amazing! Thanks so much!

prbndr avatar Mar 05 '19 18:03 prbndr

Related perhaps. Is it possible to output the info used in computing the chi-squared in e.g. multivariate_logrank_test? Although covariance is rank deficient, looking at the (accumulated) values of observed and expected and their variance under H_0 can be informative for people who want to eyeball perhaps which level/levels have a big difference...

jonathan-taylor avatar May 24 '22 04:05 jonathan-taylor