timereg icon indicating copy to clipboard operation
timereg copied to clipboard

comp.risk issue

Open mehlkopf opened this issue 6 years ago • 1 comments

Hello,

at first I want to say thank you for the great tools timereg provides! However, I am having a few problems using comp.risk to analyze competing risk models: I am using "aalen" to run an additive model with an survival object of type Surv(time0, time, failure), and it works fine. However, when I am using the exact same model with comp.risk, I have to switch to Event(time0, time, failure_type) - and this comp.risk model does not converge (neither for "prop" nor for "additive" models). It does, however, converge when using just an Event of type Event(time, failure_type). Is this some type of bug or are there any real issues preventing the competing risk model from converging? Thank you very much!

Best, Andreas

mehlkopf avatar Feb 13 '19 14:02 mehlkopf

for the competing risks model you need the Event(time,status) call !

You should never use the Event(entry,time,status) call ! Generally, regression models with delayed entry can be handled with weighting as in the Geskus paper.

Any lacking convergence means that the model apparently is hard to identify, and this is typically due to non-parametric components.


From: mehlkopf [[email protected]] Sent: Wednesday, February 13, 2019 3:12 PM To: scheike/timereg Cc: Subscribed Subject: [scheike/timereg] comp.risk issue (#6)

Hello,

at first I want to say thank you for the great tools timereg provides! However, I am having a few problems using comp.risk to analyze competing risk models: I am using "aalen" to run an additive model with an survival object of type Surv(time0, time, failure), and it works fine. However, when I am using the exact same model with comp.risk, I have to switch to Event(time0, time, failure_type) - and this comp.risk model does not converge (neither for "prop" nor for "additive" models). It does, however, converge when using just an Event of type Event(time, failure_type). Is this some type of bug or are there any real issues preventing the competing risk model from converging? Thank you very much!

Best, Andreas

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/scheike/timereg/issues/6, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJvzwAT7vOzWtj5wZVbTtFegtYbE_AbGks5vNB0zgaJpZM4a5fJj.

scheike avatar Feb 18 '19 09:02 scheike