Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Help with sts graph


From   Jose Maria Pacheco de Souza <jmpsouza@usp.br>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Help with sts graph
Date   Thu, 18 Mar 2004 19:20:40 -0300

Chris Barnes wrote:

I am using STATA 8 and can't seem to get the sts graph function to show the
censored events (not failures)

I am using the dataset below and not sure what I am doing wrong.


ID	dur	fail	_st	_d	_t	_t0
1	600	0	1	0	600	0
2	893	1	1	1	893	0
3	9	1	1	1	9	0

30	143	1	1	1	143	0
31	427	1	1	1	427	0
32	161	1	1	1	161	0


dear Chris:
have you tried _sts graph, censored(n)_, or sts graph, censored(s)_, or _sts graph, censored(m)_?
The help window is very, very useful. Look for sts graph.
Regards,
Josť Maria

--
Jose Maria Pacheco de Souza, Professor Titular
Departamento de Epidemiologia/Faculdade de Saude Publica, USP
Av. Dr. Arnaldo, 715
01246-904 - S. Paulo/SP - Brasil
fones (11)3082-3886; (11)3066-7724; (11)3768-8612; (11)3714-2403
fax (11)3082-2920; (11)3714-2403
www.fsp.usp.br/~jmpsouza

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