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

st: STPIECE


From   Elizabeth Boyle <mgbezb@Mail1.Hofstra.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: STPIECE
Date   Mon, 24 May 2004 13:38:17 -0400

Hi Everyone,

I want to run a piecewise exponential and I am not sure how to STSET the
data set before running STPIECE.  How do I let the program know which
variable I want to base the time pieces on?

When I run STREG I do the following: stset timevar (timetrend),
failure(death) id(companyid).

I want to use another variable AGE on which to define the time
pieces...Can I do that? and if so How?

Thanks Muchly,

Elizabeth Boyle
Hofstra University


                                        

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