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

Greenwood confidence interval #400

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

TristanFauvel
Copy link
Contributor

Checklist

  • pytest passes
  • tests are included
  • code is well formatted
  • documentation renders correctly

What does this implement/fix? Explain your changes

Implementation of the Greenwood confidence interval for KM estimation, in addition to the log-log confidence interval. See https://www.math.wustl.edu/~sawyer/handouts/greenwood.pdf for details. The Greenwood CI is useful for calibration tests.

@codecov
Copy link

codecov bot commented Aug 28, 2023

Codecov Report

Patch coverage is 90.90% of modified lines.

Files Changed Coverage
sksurv/nonparametric.py 90.90%

📢 Thoughts on this report? Let us know!.

@sebp
Copy link
Owner

sebp commented Sep 3, 2023

Thanks for your pull request.

Can you please rebase on the latest master branch which contains fixes to CI

@TristanFauvel
Copy link
Contributor Author

Sorry, I forgot to sync my fork before sending the PR. However, some of the tests unrelated to the PR failed (always with an AssertionError: Regex pattern did not match.) These tests also failed on the master.

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

Successfully merging this pull request may close these issues.

2 participants