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

st: RE: piece-wise constant exponential survival model


From   "Jann, Ben" <ben.jann@soz.gess.ethz.ch>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: piece-wise constant exponential survival model
Date   Fri, 12 Sep 2003 21:40:19 +0200

Hi Tapes

No, -streg ..., d(exp)- will estimate a "regular" exponential model.
Check out -stpiece- by Jesper B. Sorensen.

ben

> -----Original Message-----
> From: tapes [mailto:tapesonly@yahoo.com] 
> Sent: Friday, September 12, 2003 5:25 PM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: piece-wise constant exponential survival model
> 
> 
> 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/
> 

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