When evaluating the effect of a continuous covariate that changes from one wave to the next, (in this instance, the relationship between a continuous health index score and mortality risk) do I need to indicate that the covariate varies with time via the stcox, tvc(option), or does Stata automatically do this? While previous posts touch on this, I have seen contradictory answers. Example below for clarification.
Sample Cox regressions:
#1: stcox female age index_score
#2: stcox female age, tvc(index_score)
The first regression shows a much stronger effect of a one unit change in the index score on mortality risk than the second.
Thank you
Related Posts with stcox: Continuous Time Varying Covariates
Difficulty with for loop with a conditional by() statementHello, I am working with a data-set with analyst forecasts for certain firms, in a certain period. …
How to count a variable based on an if conditionHello everyone, I have a big doubt about this counting issue: Array Let's suppose we have to coun…
propensity score matching modelThis time I will try to make my request a bit clear. I have watched many tutorial videos about PSM m…
Panel ARDL (PMG, MG, DFE) do fileHello All, I was wondering if you could help me with the do file for Panel ARDL (PMG, MG, DFE) I ne…
name of variable above ttest tableDear all Am running a ttest for several variable by(group) using a loop as below Code: foreach …
Subscribe to:
Post Comments (Atom)
0 Response to stcox: Continuous Time Varying Covariates
Post a Comment