Dear STATALIST
I would like to investigate the association of baseline treatment A (binary variable) with incident stroke events adjusted for covariates X, Y, and Z.
Proportionality assumption was not satisfied in A and X by Schoenfeld residuals and log-log plot.
Therefore, I try to use covariates A and X as a time-varying covariate.
In this setting, I have no idea which following formula is correct in Stata because someone used 1 and the other used 2;
1. stcox A X Y Z, tvc (A X) nohr
2. stcox Y Z, tvc (A X) nohr
If 1 is correct, you will get two beta coefficients from main and tvc for A.
How can I summarize the result for paper?
Is it OK with me to show the result like beta (main) + beta (tvc)*_t (time)? or other choices?
Could you please answer these questions?
Related Posts with Extended Cox model (Cox model with time-varying covariates)
Which test for case controlsHello, I have a case-control study matched 1:1 that I just want to do a simple test to see which has…
How do I use STATA to do simulations for a Bernoulli trial?Suppose I have a Bernoulli trial that has a success rate of 0.05, and I run it for 30 times. Then I …
Which one is better to use, fixed-effect model or simple regression controls ID and year period?Dear All, I have a question. I'm running regressions to see the aid-effectiveness by country-fixed-…
TableHi, How can I make a table which includes the percent of cases for each category? (I'm working with…
TAbleHi, How can I make a table which includes the percent of cases for each category? (I'm working with…
Subscribe to:
Post Comments (Atom)
0 Response to Extended Cox model (Cox model with time-varying covariates)
Post a Comment