Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Life Tables for Survival Analysis


From   "Donna Joseph" <[email protected]>
To   [email protected]
Subject   Re: st: Life Tables for Survival Analysis
Date   Mon, 13 Mar 2006 16:28:17 +0000

Thank you Svend I will have a look at the lean scheme as suggested

Don

From: "Svend Juul" <[email protected]>
Reply-To: [email protected]
To: <[email protected]>
Subject: Re: st: Life Tables for Survival Analysis
Date: Mon, 13 Mar 2006 14:37:34 +0100

Don wrote:

I am using Stata 9 to try to draw a Life Table graph for a variable with
6 categories. The 6 slopes on the graph are shown by different, smooth,
coloured lines which is great but I am not printing in colour.

I have tried the symbol command so that each line will be identified by
a different symbol (i.e. dash, dot, long dash and dot etc). However only
the first symbol is recognised when I run the graph so I either have all
lines with a dash, or all lines with a dot for all six categories.

# delimit ;
ltable durate work, graph notable survival noconf by(minus2) over
yscale(range(0.4 1.0))
msymbol(i) yline(0.5, lpattern(dot))ylab (,nogrid);
-------------------------------------------------------------------

I tried this:

   sysuse cancer.dta
   ltable studytime died , ///
     graph notable by(drug) overlay msymbol(i i i) lpattern(l dash dot)

- and I got the same problem as Don: Same line pattern for all curves.

StataCorp: Is this intended behavior? Since it does vary line colors, it
should also be able to vary line patterns.

Don: If you prefer black-and-white graphs I suggest trying the lean
schemes:
   findit lean scheme

Svend
__________________________________________

Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000  Aarhus C, Denmark
Phone: +45 8942 6090
Home:  +45 8693 7796
Email: [email protected]
__________________________________________

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
_________________________________________________________________
Are you using the latest version of MSN Messenger? Download MSN Messenger 7.5 today! http://messenger.msn.co.uk

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* 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