Statalist


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

st: RE: add total group in -sts graph, by()-


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: add total group in -sts graph, by()-
Date   Sun, 29 Nov 2009 10:19:14 +0100

<>

http://www.stata.com/statalist/archive/2007-01/msg00303.html


HTH
Martin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Hau Chyi
Sent: Sonntag, 29. November 2009 02:21
To: statalist@hsphsun2.harvard.edu
Subject: st: add total group in -sts graph, by()-

Dear Stata users,

I have a simple question that I can't seem to find an answer in [ST] menu.

How do I add a total group on the survival graph when I specify: -sts
graph, by(var1)-

I tried:
-sts graph, by(var1) byopt(total)-,
-sts graph, by(var1, total)-

but obviously neither would not work.

Thanks in advance!
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index