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 <>
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 Ovaldia, MS
Oklahoma City, OK

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
*   For searches and help try:

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