Why is 3 an event? If someone leaves a job, it is not always because
they were injured, presumably. You might want to control for hours
worked, and perhaps work schedules, and other factors that might
increase the risk of injury in a given month given the same
occupation. I assume you are familiar with all the discrete-time
methods detailed by Stephen Jenkins on his websites e.g.
http://www.iser.essex.ac.uk/iser/teaching/module-ec968
[see also Pergamit paper at http://client.norc.org/jole/SOLEweb/2005Program.htm]
On Thu, Jan 1, 2009 at 11:49 PM, <[email protected]> wrote:
> 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/