Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

[no subject]

If you want to adjust for a categorical variable using -tabodds-:

. tabodds low agecat, adjust(smoke)

The chi-square value for the score test here is .51, p=.475. 

And the logistic regression command,

. logit low agecat smoke

The z-value for agecat is -.72, when squared equals .52.  Thus further
adjustment for additional variables, either categorical or continuous,
may provide an assessment of trend, adjusting for other variables.  The
difference in the tests and the p-values is largely due to the different
methods use to estimate the parameters in the two approaches.

You should be cautious, though, in interpreting the odds ratios for the
trend variable.  The coefficients assume that the logit is linear over
the levels of the independent variable (i.e., the same assumption
implicit in the trend test) and the value of the coefficients and the
p-values do depend on the scale.


Paul F. Visintainer, PhD
Professor and Program Director 
Health Quantitative Sciences
School of Public Health
New York Medical College 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Monday, June 06, 2005 5:16 AM
To: [email protected]
Subject: st: test for trend

Dear all,

Can anyone tell me how I can do a test for trend for an adjusted odds
estimate derived from a logistic regression? I am interested in
whether there is an increasing effect on income on my outcome variable
after I 
control for all other variables in the model.

Thanks in advance.

Manuela De Allegri
University of Heidelberg

*   For searches and help try:

*   For searches and help try:

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