Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Joerg Luedicke <[email protected]> |

To |
[email protected] |

Subject |
Re: st: -TVC- option in the -stcox- command |

Date |
Fri, 15 Apr 2011 18:20:48 -0400 |

On Fri, Apr 15, 2011 at 4:34 PM, Pete de Blank <[email protected]> wrote: > > I include all drug classes that have a p value >0.2 on log rank test, > according to the command > Sts test drugclass1, strata(hospitalsite) I guess you mean p-value<0.2 (or "excluded" instead of "included")? Anyway, this is a questionable approach as you are capitalizing on chance which makes any further consideration of p-values a rather nonsensical endeavor. Some other issues can be found here: http://www.stata.com/support/faqs/stat/stepwise.html (Though this is for "stepwise" regression, but still.) > > And my initial model is: > Stcox drugclass1 drugclass2 drugclass3 drugclass4 drugclass5, > tvc(drugclass1 drugclass2 drugclass3 drugclass4 drugclass5) > strata(hospitalsite) > > I have three questions: > (1) How do you choose the best multiplier for the time-varying > covariates (with -texp(exp)-)? How do you know if ln(t) is better > than t? Given that you did the log-rank test for "drugclass" I assume that those drugclass variables are binary, not continuous? The -texp(exp)- option is for continuous time varying covariates. In case of categorical variables, I would do spell splitting with -stsplit-. > > (2) Under what criteria can non-significant covariates be eliminated > from the model? If the non-time-varying p-value is >0.05? Only if > both the time-varying and non-time-varying covariates have > p-values>0.05? If the time-varying portion (but not the > non-time-varying portion) of a covariate has a p-value > 0.05, can I > eliminate just that covariate in the tvc option? Basically, there are no such criteria. See my comments above. You should have some theory about why you think certain types of drugs are causing an infection and then you include all of those drugs and do not exclude any of them. > > (3) Finally, how do you conceptualize the interpretation of the > results? Do I think of this as an interaction with time? > In the Stata 11 manual for stcox, page 129ff. are examples given that discuss those things. J. * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**References**:**st: -TVC- option in the -stcox- command***From:*Pete de Blank <[email protected]>

- Prev by Date:
**Re: st: Efficient way to predict values from regressions on subsets of the data?** - Next by Date:
**Re: st: Problem Using Matwrite, "unrecognized command" error** - Previous by thread:
**st: -TVC- option in the -stcox- command** - Next by thread:
**st: Efficient way to predict values from regressions on subsets of the data?** - Index(es):