Statalist


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

st: Testing for Significance Between Poisson Reg Lines


From   [email protected]
To   "[email protected]" <[email protected]>
Subject   st: Testing for Significance Between Poisson Reg Lines
Date   Tue, 20 Jan 2009 03:12:11 -0800

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/



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