Bookmark and Share

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]

st: Creating time-dependent covariates to replicate the tvc option for stcrreg


From   "Travis Coan" <[email protected]>
To   <[email protected]>
Subject   st: Creating time-dependent covariates to replicate the tvc option for stcrreg
Date   Sun, 4 Apr 2010 12:11:57 -0400

Dear Statalist,

I am trying to use interaction terms that I created manually to
replicate the results provided by the tvc option after Stata's stcrreg
command. Needless to say, I am not having much success. 

I have tried to use the suggestions provided in Stata's "tvc note" help
file (help tvc_note) for stcox. For example, with the Hypoxia Study data
used in the Stata manual (Example 1, pg. 200):

stset dftime, failure(failtype == 1) id(stnum) 
stsplit, at(failures)
gen ifptime = ifp*_t
stcrreg ifp tumsize pelnode ifptime, compete(failtype == 2)

These results are different from those produced by Stata's tvc option:

stcrreg ifp tumsize pelnode, compete(failtype == 2) tvc(ifp)

If anyone has any advice on this issue (or could point me to resources
on the issue), I would greatly appreciate it. Thanks so much for your
consideration.

Cheers,
Travis

*
*   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/


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