Statalist The Stata Listserver


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

st: trend test after logistic regression.


From   Ricardo Ovaldia <[email protected]>
To   [email protected]
Subject   st: trend test after logistic regression.
Date   Wed, 25 Jan 2006 08:15:06 -0800 (PST)

Dear all,

I am using logistic regression to model the effect of
an ordered categorical variable (at 4 levels) on
mortality while adjusting for other covariates.
Indicator variables for the categorical variable were
used in the model. The estimated odd ratios from the
logistic model for these indicator variables increase
with the order of the variable. Although, there is a
trend I would like to formaly test it. 

I tryed using -tabodds- and -mhodds- but it does not
work well when adjusting for continous variables.

I then simply included the ordered categorical
variable as continous and re-ran the model. Is the
test performed on this new coefficient a valid test
for trend, although the model is nolonger the same?

Is there a better way to do this in Stata?

Thank you,
Ricardo.



Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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