Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Testing for Trend Linearity


From   [email protected]
To   [email protected]
Subject   st: Testing for Trend Linearity
Date   Thu, 04 Sep 2008 18:08:01 -0700

I ran (in stata 9)
xi: xtpois injury age, i(id)
xi: xtpois injury age i.ageg, i(id)
where "injury" is a binary variable, "age" is continuous and "ageg" is "age" as a categorical variable. All the p-values (age, _Iageg_2, and _Iageg_3) were >0.05.
Does this imply the trend does not deviate from linearity (at the 0.05 level)?
If not, does anyone have a suggestion(s) for a trend test that tests for linearity?

*
* 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