-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Proposal: Add surv.finegray_coxph Learner (Fine-Gray Competing Risks with CoxPH) #416
Comments
Hi @agalecki, Thanks for your request! We have recently actually decided to not include the Fine-Gray model in Using the FG model for only a specific competing event only and getting single-event prediction types as you demonstrate in your code is very interesting but I don't think comparison with other survival mlr3 learners will make so much sense then? (it implies that you did some task preprocessing changing the Having said that, if you see that you can map the new |
From the vignette: "The primary idea of the Fine-Gray approach is to turn the multi-state problem into a collection of two-state ones. In the proposed approach, as you pointed out we are getting single-event prediction. More specifically, we designate one event as an event of primary interest. The remaining events are considered to be a nuisance. In the first stage, we use We effectively are using standard Cox model to emulate a FG submodel for the primary event. Given that, do you still feel that comparison with other mlr3 survival learners would be questionable? The bottom line is that given Thank you |
Hi, Even though the FG submodel for the primary event (fitted as you described, procedure from the survival vignette) has predictions for a single-event ( I definitely think that FG should be a |
Algorithm
Fine-Gray Competing Risks Model using
survival::coxph()
in combination with `survival::finegray()Package
survival
Supported types
I have checked that this is not already implemented in
Why do I think this is a useful learner?
This learner implements a Fine-Gray competing risks model using
survival::finegray()
andsurvival::coxph()
It estimates subdistribution hazards for a specified event, supporting observation weights and providing crank, lp, and distr predict types. While mlr3proba includes some survival learners, none currently offer Fine-Gray modeling with CoxPH. The learner is fully implemented and tested in my custom package, leveraging the survival package’s robust functionality.
Further Optional Comments
The learner supports customizable parameters like ties (e.g., "efron", "breslow"), iter.max, and target_event, and handles weights via the task’s weights role. Here’s a brief snippet:
The text was updated successfully, but these errors were encountered: