Hi,
I am trying to calculate odds ratio for diabetes based on exercise pattern
Dependent variable (diabetes): 0 :No , 1: yes
Independent variable (exercise): 0: none, 1: R; 2: RW ; 3: RWS ; 4: RWST (R: running, W: walking, S: swimming , T: trekking)
controlled for : age, race, gender, education, income, employment
Here is my code:
What I want is to compared Odds ratio of RWS (OR 0.53) and RWST (OR 0.91) where the difference between both of them is significant or not.
Is there any way I can do that?
Thank you for your help.
I am trying to calculate odds ratio for diabetes based on exercise pattern
Dependent variable (diabetes): 0 :No , 1: yes
Independent variable (exercise): 0: none, 1: R; 2: RW ; 3: RWS ; 4: RWST (R: running, W: walking, S: swimming , T: trekking)
controlled for : age, race, gender, education, income, employment
Here is my code:
PHP Code:
logistic diabetes i.exercise age race gender education income employment
Linearized | ||||||
diabetes | Odds Ratio | Std. Err. | t | P>t | [95% Conf. | Interval] |
never | ||||||
R | .20983 | .2740315 | 2.74 | 0.006 | .142138 | .236655 |
RW | .36915 | .254335 | -1.00 | 0.316 | .3363361 | .421921 |
RWS | .53138 | 1.0113 | 2.32 | 0.020 | .156299 | .558474 |
RWST | .9190 | .8752752 | 3.57 | 0.000 | .620794 | .982926 |
Is there any way I can do that?
Thank you for your help.
Comment