Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Line plot for subjects in follow-up study


From   Hugh Robinson <hugh.robinson@cfc.umt.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Line plot for subjects in follow-up study
Date   Thu, 15 Apr 2010 17:20:41 -0600

I would like to show the staggered entry of my study subjects (on the y-axis) against date (on the x-axis).  The y-axis would be each individual subject with a horizontal line representing their follow-up period.

Essentially I'm trying to recreate a line plot similar to Fig 1.1 of Hosmer, Lemeshow, and May (2008) Applied Survival Analysis.  
The same graph is presented on the UCLA stata website using the command hilite however the code from UCLA doesn't seem to work in stata 11.
http://www.ats.ucla.edu/stat/stata/seminars/stata_survival/default.htm 

Any idea?


Hugh S Robinson Ph.D.
Postdoctoral Researcher
Montana Cooperative Wildlife
Research Unit
University of Montana
Missoula, MT 59812
Ph. (406) 243-2476


*
*   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–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index