Bookmark and Share

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

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

st: How do you interpret texp commands?

From   "Sudhinaraset, May" <>
To   "" <>
Subject   st: How do you interpret texp commands?
Date   Tue, 12 Apr 2011 10:38:38 -0400

Hello everyone,

I am modeling time varying effects using stcox. I am confused as to 1) how to specify texp function, and 2) how to interpret output for tvc and texp. 

For example, my command is: stcox ruralnative ruraltourban urbantourban, tvc(ruralnative ruraltourban urbantourban) texp((_t-16)) cluster(psu_shang)

What is the difference between specifying texp(_t-16) and texp(_t<16)? I am assuming that the first is at a single point in time, while the second is all data before 16. Is this correct? 

Let's say that I use texp(_t<16): is this like introducing a spline term with changing time? 

Also, for interpretations, are TVC coefficients the hazard ratio BEFORE age 16, whereas the main coefficient the hazard ratio AFTER age 16? Not sure how to report this in a paper.

Any help would be appreciated. Thanks!

May Sudhinaraset
Ph.D. Candidate
Department of Population, Family, and Reproductive Health
Bloomberg School of Public Health
Johns Hopkins University
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index