Statalist


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

st: RE : Overlay stcurve graphs from different models


From   philippe van kerm <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: RE : Overlay stcurve graphs from different models
Date   Tue, 13 Jan 2009 17:00:42 +0100

Dimitris,

I suppose you can use the 'outfile' option to -stcurve- to save the plot coordinates, combine the files created (user and append) and use - tw (line ...) (line ...) - to generate the plot you want.

All the best
Philippe

________________________________________
De : [email protected] [[email protected]] de la part de Dimitris Pavlopoulos [[email protected]]
Date d'envoi : mardi 13 janvier 2009 14:56
À : [email protected]
Objet : st: Overlay stcurve graphs from different models

Dear all,

I want to overlay two graphs derived from stcurve but from different models. Specifically, I want to overlay a graph from a weibul survival model without frailty and the graph from the same model but with frailty:


streg age smoking , d(weib)

stcurve, survival saving(graph1)

streg age smoking , d(weib)  frailty(gamma)

stcurve, survival saving(graph2)



Is there a way to overlay graph1 and graph2? with graph combine I can only put them next to each other. I am using STATA 10/MP.

Thank you in advance!
best,
Dimitris




Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


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