Statalist The Stata Listserver


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

st: graph/figure to illustrate survival times


From   "josemaria" <jmpsouza@usp.br>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: graph/figure to illustrate survival times
Date   Fri, 7 Jul 2006 13:15:37 -0300

Dear Statalisters:
Is there a way to use some graph command to make a figure showing the times of some individuals in a survival study, lines representing the time span, with vertical bar (|) indicating the starting time and X indicating time of failure and O the time of censoring?
for example of a censored individual, _twoway rcapsym if id==1, horizontal msymbol( | Oh)_ would do if the condition msymbol( | Oh) and msymbol( | X) were allowed.
If the mail does not distort, something like

|
2 | |--------------------------------------X
|
1 | |-----------------------O
|________________________________
0 1 2 3 4 5 6 7 8 9 10

Thanks,
José Maria

José Maria Pacheco de Souza, Professor Titular
Departamento de Epidemiologia
Faculdade de Saúde Pública/Universidade de São Paulo
Av. Dr. Arnaldo, 715 cep 01246-904
São Paulo Brasil
fones (11)3082-3886 (11)3066-7724 (11)3714-2403 (11)3768-8612
fax (11)3082-2920 (11)3714-2403
www.fsp.usp.br/~jmpsouza
jmpsouza@usp.br




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 4/7/2006

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