Statalist


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

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


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   FW: st: RE: add total group in -sts graph, by()-
Date   Sun, 29 Nov 2009 11:10:24 +0100

<>

Forwarded on behalf of Hau.

I am not sure whether the help file for -sts graph- is correct in declaring the -byopts- applicable. The -total- is the first of those options on -help by_option, and I have not managed to make it work, either. The workaround by Maarten is viable, though... 


HTH
Martin


-----Original Message-----
From: Hau Chyi [mailto:[email protected]] 
Sent: Sonntag, 29. November 2009 11:04
To: [email protected]
Subject: Re: st: RE: add total group in -sts graph, by()-

Hey Martin,

Thanks. This works.

Do you know why the -byopt- option doesn't work in this case?

Hau

On Sun, Nov 29, 2009 at 3:19 AM, Martin Weiss <[email protected]> wrote:
>
> <>
>
> http://www.stata.com/statalist/archive/2007-01/msg00303.html
>
>
> HTH
> Martin
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Hau Chyi
> Sent: Sonntag, 29. November 2009 02:21
> To: [email protected]
> 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/
>



-- 
Hau Chyi,
Assistant Professor of Economics
Wang Yanan Institute for Studies in Economics (WISE)
Xiamen University
http://hauchyi.googlepages.com


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