Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73241

Inclusion of Failure Variable in Survival-Time Regression Model?

$
0
0
Hello, I am working on a question involving survival time in the presence of competing risks, which is something I haven't worked with before.

I am looking for a quick sanity check, as in my study the outcome event of interest IS the failure variable. In this case once the data is stset, the failure variable as an outcome has already been considered as the "event" and should not be included in the regression model, correct?

Thefore, if running a regression for the effect of subject sex on the occuence of the event, the code should look like:
Code:
*Cox
stset time, fail(event==1) id(id) scale(365.25)
stcox sex
*Fine & Grey
stset time, fail(event==1) id(id) scale(365.25)
stcrreg sex, compet(event==2)
Instead of:
Code:
*Cox
stset time, fail(event==1) id(id) scale(365.25)
stcox ev sex
*Fine & Grey
stset time, fail(event==1) id(id) scale(365.25)
stcrreg ex sex, compet(event==2)
As the interpretation of these outputs would suggest the risk/effect event==1 has on the occurence of event==1, correct?

Sorry if this seems obvious, just hopinh to confirm before I get too deep one way or another.
Thank you!

Viewing all articles
Browse latest Browse all 73241

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>