Replies: 3 comments
-
The AJ estimator is an event-type specific estimator (so it is defined for a specific event type, not the full collection of all event types). When I wrote the AJ implementation, that is what motivated the setup. Applying the AJ estimator multiple times is really a collection of AJ estimators. This implementation might save some overhead when there are a large number of competing event types (cancer trials sometimes distinguish between types of cancer related to death). This implementation doesn't require that the estimator evaluates all those types, just what the user requested. I suppose |
Beta Was this translation helpful? Give feedback.
-
I'm ok with the overhead as a developer, but I don't feel comfortable with it as an end user: I had a similar issue with the implementation of the CIF function in {tidycmprsk} regarding the estimate of non-event as a state-occupancy probability for a given time-horizon: I'm ok with Either way maybe that's just me :) Just to have some context from my side as well: I'm working on a package that illustrates AJ plots in python regarding different heuristics (exclude/adjust censored events, exclude or adjust competing events as censored/non-events), my motivation is to help end-users do a quick sensitivity analysis for their implied assumptions. |
Beta Was this translation helpful? Give feedback.
-
Calling KM several times would take as much code as calling AJ several times, so I don't follow this argument. I agree with the issue of other approaches being adopted (censoring competing events), but I think this is far more an issue of awareness about what KM assumes and what alternative estimators are available. At least this is the case for field I work in or near.
This is a multi-state model, no? AJ doesn't support semi-competing events, and that modification would require some retooling. Probably more appropriate as a different estimator object.
Sounds like a great project! I am unlikely to get around to these modifications given other priorities. However, if you (or someone else) wanted to modify the AJ API to estimate the CIFs for more than one event (by having |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for this awsome package!
I want to leverage the AJ estimate from lifelines and I wonder if I have to refit the AJ esimate in order to extract the estimates.
The AJ estimate should already contain all the information about the estimates of the Non-Event, the Primary-Event and the Competing-Event: So why do I have to refit it?
In R the {survival} package allows to fit just once:
https://cran.r-project.org/web/packages/survivalVignettes/vignettes/tutorial.html#aalen-johansen-curves
Reproducible python code:
Beta Was this translation helpful? Give feedback.
All reactions