You can simulate -msymbol(|)- by using -ms(none) mlab(pipe)-
after
. gen pipe = "|"
There is a more detailed example fleshing out the principle
in the help for -stripplot- which you may install from SSC.
Given that, what you want looks straightforward.
Nick
[email protected]
josemaria
> 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
*
* 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/