Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: piece-wise constant exponential survival model


From   "tapes" <tapesonly@yahoo.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: piece-wise constant exponential survival model
Date   Fri, 12 Sep 2003 10:24:52 -0500

Hi all,

I want to estimate a piece-wise constant exponential survival model. The
episodes were already split into annual spells in the data set. I was
wondering if the following commands are right for it.

.stset year, failure (varname)

.streg all the independent and control variables dis (exp)


Thanks
Tapes



*
*   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–2022 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index