I want to compare time to first injury for younger people vs. older
people in a specific occupation.
So far I have set up my data as follows:
stset smonth, failure(injury) exit(event==2 3) enter(event==1) id(empid)
smonth: the number of months worked
injury: 0-not injured, 1-injured
event: 1-first day on job, 2-injured, 3-last day on job
I have used Kaplan-Meier survival plots with the by() option to
compare older and younger worker's time to first injury.
Does this sound reasonable? Are there any other methods I could try?
*
* 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/