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)
cgmreg - storing the number of observationsI have a problem in pubIishing the estimation tables using esttab as I am unable to store the statis…
Regression tables : Dependent variable in rows with coeff in columns & mean of control groupHi, I need help with constructing regression tables which look like this: Panel A Control Group …
int(runiform(1,499999)) stata 13Hello to all, do you have a idea of wich command to use to have the same result... In stata 15 gen …
Using egen function to create variablesClyde Schechter I will like to find out how I can use egen to find 1. how do i create a new variabl…
Obtaining 5 year rolling standard deviation of RETHello everyone: I am calculating the estimate of stock volatility, which use annualized standard de…
Subscribe to:
Post Comments (Atom)
0 Response to Extended Cox model (Cox model with time-varying covariates)
Post a Comment