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


From   Elizabeth Boyle <>
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:

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