Skip to content

Survival functions - #2614

Merged
josef-pkt merged 5 commits into
statsmodels:masterfrom
kshedden:censored_quantile
Nov 4, 2015
Merged

josef-pkt merged 5 commits into
statsmodels:masterfrom
kshedden:censored_quantile

Conversation

@kshedden

@kshedden kshedden commented Sep 7, 2015

Copy link
Copy Markdown
Contributor

I know there are several PR's already in this area but they have been left unfinished for years. This is a simple implementation of some key missing things, with tests against R. The quantile estimation and inference is not included in the other work AFAIK.

  • Kaplan-Meier estimates of survival functions and plots
  • Logrank testing
  • Estimation and inference for survival distribution quantiles

Comment thread statsmodels/duration/survfunc.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pep-8 capitalized class names

@josef-pkt

Copy link
Copy Markdown
Member

confidence intervals don't have unit tests

@kshedden

Copy link
Copy Markdown
Contributor Author

I revised this according to comments from @josef-pkt. There is now much more testing, against R and SAS. There are also some new features, including simultaneous confidence intervals for the survival function, more approaches to survival function comparison, and improved documentation.

It runs clear on travis except for the last configuration which seems to fail on everything.

@josef-pkt

Copy link
Copy Markdown
Member

I'm merging this also, I didn't see any problems in the code in superficial browsing. The main question is how to combine it with the stalled existing branch.

josef-pkt added a commit that referenced this pull request Nov 4, 2015
@josef-pkt
josef-pkt merged commit 9cfc719 into statsmodels:master Nov 4, 2015
@josef-pkt josef-pkt mentioned this pull request Feb 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants