Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Setting a coefficient as constant


From   <agar5858@cox.net>
To   statalist@hsphsun2.harvard.edu
Subject   st: Setting a coefficient as constant
Date   Wed, 15 Nov 2006 12:48:39 -0500

I am doing a Cox survival model in which the variable of interest has a known  time-dependent relationship (i.e. a known given functional form) with the hazard.

  I know how to prescribe the correct functional form by including the variable of interest both: (a) as itself in time-indep form, and (b) also as a time-dependent component by using the -tvc- and -texp- options in the -stcox- statement.

BUT with the known functional form, I need to set the coefficient for the time-independent component to a known constant.  How do I do this?

Allan
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index