Skip to content

Statistical test for competing events #1341

Answered by pzivich
BorjaGIH asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Borja,

The statistic in the log-rank comparison follows a Chi-squared distribution. So that is why the documentation talks about the Chi-square.

To compute the log-rank statistic, you need the number of events and the N at each time. However, I don't know if the log-rank still works as intended if you only consider the events of interest (and not the competing risks). I am unfamiliar with what Gray proposed as a modification (and you provide a link to the paper?). In my coursework on Aalen-Johansen, we did not talk about a comparison for those curves.

AFAIK lifelines doesn't currently have an option for inference between two curves in the Aalen-Johansen. But another way you could compa…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by BorjaGIH
Comment options

You must be logged in to vote
2 replies
@pzivich
Comment options

@BorjaGIH
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants