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: Including a duration term using tvc() option in stcox


From   Kai Huang <demonsecret@hotmail.com.hk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Including a duration term using tvc() option in stcox
Date   Tue, 8 Oct 2013 12:54:33 +0000

Dear all,
 
I have a stcox command as follows:


stcox, tvc(duration) texp(_t)


where the values of duration are all equal to one for all spells. Is this equivalent to regressing on the variable of elapsed duration of spells? Thank you very much.

Best regards,
Kai Huang 		 	   		  

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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