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?
How can I count the observations by year (intervals) AND by country?Good day, So I have a data set (panel data) counting lots of variables. But for now I am only inter…
Can I cite the name of the do file?In the do file, I want to save the data using the name of the do flle, how to cite it using macros? …
Trying to do Rolling Standard Deviation give me this error. Can someone help ?Here is the command: tsset GVKEY_n Year rolling sd_NIBE=r(sd), window (4) clear : su NetIncome And…
Counting dummy for a group of multiple variablesHi all, I am trying to accomplish a simple count, but I still am not able to get what I want after …
Panel data mapHi, I want to map my panel data neatly. I've id & t. I've 5 agricultural crop variables. I've …
Subscribe to:
Post Comments (Atom)
0 Response to How to set up a time-dependent Cox model in Stata?
Post a Comment