I need some help on obtaining predicted values after estimating a survival
model (e.g. st streg, dist(weibull)).
My model is h(t)=h0exp(a*Water+b*income). My analysis has two steps (1) estimate
the model using streg,
(2) get predicted survival function.
I want to assess the impact of water (1=has access to safewater, 0=not), and I
can do this using
stcurve, surv at1(water=1) at2(water=0), - the two survival curves generated
imply that the income is held at the sample mean, which is what I wanted.
The question is that I need to have the actual numbers of the two survival
curves for my following analysis. Does Stata have a command for retrieving
these survival probabilities? Please advice, Thanks
Limin
Limin Wang
ENV, ESSD
Room: MC5-208
Telephone: (202)-4737596
Fax:(202)-522-1735
Email: [email protected]
*
* 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/