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?
Help understanding behavior of space in graph codeHello... I had a student run into a problem creating a graph when trying to apply a scheme...it wou…
Heckman two-step can not cluster standard errorsDear Statalists, My dependent variable is y2_ft in the second stage of heckman selection model, f d…
Turning three variables into one based on year. Code included Code: * Example generated by -dataex-. For more info, type help dataex clear input double hhid int …
stset with condition | Issue with codeWhat is wrong with my stset? I am excluding duplicates with the dupdrops variable for outcome analys…
predictnl after reghdfeHello, I am using Stata 17 with predictnl version 1.8.2 and reghdfe version 6.12.2. I try to estim…
Subscribe to:
Post Comments (Atom)
0 Response to How to set up a time-dependent Cox model in Stata?
Post a Comment