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
Loop over double quotationI have a code look like the following: Code: macro drop _all macro def test foreach word in "a"…
SEM and GSEM missing valuesDear all, I am trying to make simple model with Latent construct predicted by Ordinal endogenous ob…
Re-run regression command on different subsamplesDear all, I would like to run the following regression command on different subsamples of a dataset…
Highly significant Hansen statistics after xtabond2Hello everyone, I have an issue regarding xtabond2 and Hansen statistics and I was wondering if any…
Truncation of the most extreme 1 percent of earningsHi all, I want to truncate (not winsorize) the most extreme 1 percent of earnings. However, I do no…
Subscribe to:
Post Comments (Atom)
0 Response to stcox: Continuous Time Varying Covariates
Post a Comment