Statalist


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

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


From   Hau Chyi <hauchyi@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: add total group in -sts graph, by()-
Date   Sat, 28 Nov 2009 19:20:48 -0600

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/



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