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

idea: cumulative distribution for censorings #116

Closed
MarcinKosinski opened this issue Jan 21, 2017 · 7 comments
Closed

idea: cumulative distribution for censorings #116

MarcinKosinski opened this issue Jan 21, 2017 · 7 comments

Comments

@MarcinKosinski
Copy link
Contributor

@MarcinKosinski MarcinKosinski commented Jan 21, 2017

Came from this comment http://disq.us/p/1fa6f7p by @pbiecek

@kassambara
Copy link
Owner

@kassambara kassambara commented Jan 22, 2017

Cumulative distribution for censorings

@pbiecek
Copy link
Contributor

@pbiecek pbiecek commented Feb 10, 2017

Hi, are you working on this?
If not, I can add a function that creates either CIC like curves or normalized curves similar to these created with cdplot() function (I found this useful to see where censorings are more often).

@kassambara
Copy link
Owner

@kassambara kassambara commented Feb 10, 2017

Hi @pbiecek,

I'm not working on it, so let's go for your suggestion!

@pbiecek
Copy link
Contributor

@pbiecek pbiecek commented Feb 12, 2017

Candidate solution is in #149

Below I copy the quick overview
The ggsurvevents function calculates and plots distribution for events (both status=0 and status1),
with type parameter one can plot cumulative distribution of locally smooth density,
with normalised distributions are normalised.

This function helps to notice when censorings are more common

a nice example is for colon dataset, here censorings occur mostly after 6'th year

screen shot 2017-02-12 at 20 24 53

@kassambara
Copy link
Owner

@kassambara kassambara commented Feb 13, 2017

Looks great!

kassambara added a commit that referenced this issue Feb 13, 2017
Candidate solution for #116
kassambara added a commit that referenced this issue Feb 13, 2017
kassambara added a commit that referenced this issue Feb 13, 2017
kassambara added a commit that referenced this issue Feb 13, 2017
@kassambara
Copy link
Owner

@kassambara kassambara commented Feb 13, 2017

Impressive work @pbiecek , thank you!!!

@MarcinKosinski
Copy link
Contributor Author

@MarcinKosinski MarcinKosinski commented Feb 21, 2017

Looks nice, can this be closed?

@kassambara kassambara closed this Mar 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.