I have been trying to figure out how to use STATA to analyze some left truncated
survival data.
The data I am working on has the following variables: Age at admission to
hospital, time of follow-up in years and if the subject died or was censored.
I have been reading in the stata manual about the command origin and entry
under stset. On page 312 of the STATA 8.0 manual on survival analysis it
mentions left truncation. I am pretty sure that I need to use the entry
command to set the data as left truncated. If someone could confirm this it
would be great.
Secondly I am wondering if I can plot number at risk as a function of age in
this case and how I would execute that. I'm having trouble understanding how
to generate number at risk or if it is automatically generated, what STATA
assigns to it as a variable name.
Any assistance is greatly appreciated.
Thanks, Mary Clouser
*
* 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/