Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjusted (weighted) Logrank test #662

Open
prbndr opened this issue Mar 5, 2019 · 3 comments
Open

Adjusted (weighted) Logrank test #662

prbndr opened this issue Mar 5, 2019 · 3 comments

Comments

@prbndr
Copy link

prbndr commented Mar 5, 2019

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!

@CamDavidsonPilon
Copy link
Owner

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

@prbndr
Copy link
Author

prbndr commented Mar 5, 2019

That would be amazing! Thanks so much!

@jonathan-taylor
Copy link
Contributor

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants