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

st: How to do trend test of OR?


From   fyzzz <[email protected]>
To   "'StataList'" <[email protected]>
Subject   st: How to do trend test of OR?
Date   Tue, 15 Jul 2003 17:41:37 +0800

Hi, all,
 
One question need help:
 
I'm analyzing prevalence comparison from two cross-sectional survey.
After stratified by an ordinal variable, I calculate the prevalence
difference and Odds Ratio at each level, here is the result:
 
level    prevalence1   prevalence2   difference    OR
1        13.0          14.8          1.8           1.16
2        19.7          23.6          3.9           1.51
3        27.5          38.0          10.5          2.30
4        ...
 
The ordinal variable has 5 levels, listing in first column.
prevalence1 was from survey 1, prevalence2 from survey 2.
 
I want to know how to test whether there is a linear trend for the
difference or Odds ratios in the table using stata?
 
Thanks in advance.
 
Feiyean

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