I was wondering how I can go about testing for a statistically
significant difference between the two lines produced below?
age=age of person
exp=amount of time doing a certain job
hrs_day=number of hours worked on a given day
injury=whether or not the person was injured (0/1)
hrs_day and injury are summed by age and exp. age and exp are integers.
poisson injury age exp ae if hrs_day>0, exposure(hrs_day)
replace age= 25
replace ae= 25*exp
predict y_age25, ir
replace age = 30
replace ae = 30*exp
predict y_age30, ir
twoway (line y_age25 exp)(line y_age30 exp)
Thanks.
*
* 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/