Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Overlay stcurve graphs from different models


From   Ulrich Atz <[email protected]>
To   [email protected]
Subject   Re: st: Overlay stcurve graphs from different models
Date   Sun, 12 Apr 2009 11:58:11 -0400

Thanks Maarten  that is of course the case.

To come back to the original question on how to combine graphs:
How to integrate the Kaplan-Meier estimator? It gives me the error that it is not a twoway graph.


ulrich

Am 12.04.2009 um 05:04 schrieb Maarten buis:


--- On Sun, 12/4/09, Ulrich Atz wrote:
stcurve, hazard outfile(...) gives me a completely
different output than using the predict hazard, haz command
(weibull, exponential distribution). Why?

-stcurve- gives you the hazard curve at specified values of your
explanatory variables (and if you haven't explicitly specified
those values than they are set at the mean), while -predict-
will give you the hazards at the actually observed values of the
explanatory variables. For plotting the output from -stcurve- is
probably better.

-- Maarten

-----------------------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://home.fsw.vu.nl/m.buis/
-----------------------------------------




*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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