Hello!
I have run a cox regression model in which my main exposure of interest is a significant time-varying covariate when I have used the tvc texp(ln_t) commands in stata.
Hence, I am trying to show the HR at different time points i.e. 7 days, 14 days, 30 days.
I am doing this manually by entering HRs of the main variable and the tvc into this, e.g. at 30 days:
display exp(log(0.7576) + log(30)*log(1.2797))
However, in doing so I do not get a SE or 95%CI.
Is there an equivalent of a lincom command for the tvc? so that I could easily get the HR, standard error and 95%CI at different _t points, using the coefficients I have for my main variable and its interaction with ln_t using the tvc texp commands.
Many thanks for any help!!!
I have run a cox regression model in which my main exposure of interest is a significant time-varying covariate when I have used the tvc texp(ln_t) commands in stata.
Hence, I am trying to show the HR at different time points i.e. 7 days, 14 days, 30 days.
I am doing this manually by entering HRs of the main variable and the tvc into this, e.g. at 30 days:
display exp(log(0.7576) + log(30)*log(1.2797))
However, in doing so I do not get a SE or 95%CI.
Is there an equivalent of a lincom command for the tvc? so that I could easily get the HR, standard error and 95%CI at different _t points, using the coefficients I have for my main variable and its interaction with ln_t using the tvc texp commands.
Many thanks for any help!!!
Comment