Hello everyone,
I need to conduct an analysis, but the exposure can occur after the origin time. I have been told that I need to use a time-dependent Cox model but I am not sure how to set it up.
Question: I want to compare two strategies for patients on dialysis a) start on the wait list and get a poor quality kidney b) start on the waitlist and POTENTIALLY get a good quality kidney. The main outcome is death/ survival.
I know a standard Cox model is incorrect because the exposure (transplant) occurs after the person being on the waitlist. And the amount of time spent on the waitlist is very very variable. If I conduct a standard Cox model, it will subject group A to an immortal time bias. So essentially we have two groups (A and B) and three paths (Dialysis for life / Dialysis then good kidney/ Dialysis then bad kidney). What would be the best way to set up a time-dependent model for this research question.
Really appreciate any help
Hafeez MS
Related Posts with How to set up a time-dependent Cox model in Stata?
Editing a spatial weighting matrix in neighbor list formI used spmat to create a spatial weighting matrix. I exported it in neighbor list form. The first ro…
getting multiple variables information in one variable after importing txt fileAfter importing delimited using abcd.txt data this is the following output I'm getting on my data ed…
Run Seemingly unrelated regression (SUREG) with one of the explanatory variable being latentHi All I have difficulty running an SUREG translog cost function where one of my independent variabl…
Adding baseline variables to a linear mixed modelHello everyone, I am really new to Stata, so my apologies if it's a simple question or if I misunde…
How to Correct Data Errors in Longitudinal Format Data in Stata?I have a long format dataset with data error on the variables of kg5, k68, and k912 like this, clear…
Subscribe to:
Post Comments (Atom)
0 Response to How to set up a time-dependent Cox model in Stata?
Post a Comment