Statalist


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

st: Survival Analysis Comparing Younger and Older


From   [email protected]
To   [email protected]
Subject   st: Survival Analysis Comparing Younger and Older
Date   Thu, 01 Jan 2009 20:49:52 -0800

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index