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)
Bar graph, put bars in specific orderDear all, I produced a bar graph over income group, I'm trying to order the bars as lower-middle, u…
Error: no observations when running regressionsHello, I am trying to run some regressions and getting an error that says there are no observations,…
Bayes Factors for t-testHi Listers, A reviewer has suggested presenting Bayes Factors. I am wondering how to do this after…
Collapsing time series data by geographyI have some data about social movements and it includes when social movements occurred. I'm trying t…
While using rangerun, change the order of items in a local macro containing variable list (dummies) at each iterationThe code below records coefficient estimates at each iteration. There are always two dummy variables…
Subscribe to:
Post Comments (Atom)
0 Response to Extended Cox model (Cox model with time-varying covariates)
Post a Comment