[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Testing for Trend Linearity
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/