Login  Register

Re: Odds Ratio - Adjusted OR

Posted by John-3 on Dec 11, 2011; 4:09am
URL: http://spssx-discussion.165.s1.nabble.com/Odds-Ratio-Adjusted-OR-tp5065253p5065405.html

Thanks, Bruce and Ryan.

Bruce, I have a question for you please. Thanks for mentioning me to code
1 and 0 for the dependent variable. I coded 1 and 2.

How about for the independent variables? Should I use 0 for independent
variables also?

My codes at the time of my 1st post are:
Age group 1 = 1
Age group 2 = 2
Age group 3 = 3
Age group 4 = 4
Sex Male = 1
Female = 2
Cigarette Yes = 1
No = 2
depression yes = 1, no =2

I did not code 0 for any variable, if you please clarify that I will code
that and report the results back to the list serv.

Thanks in advance to you.

On Sat, 10 Dec 2011 17:13:55 -0800, Bruce Weaver
<[hidden email]> wrote:

>For logistic regression, it is conventional to code the dependent variable
>1=Yes and 0=No.  For CROSSTABS, it usually works out better (meaning you
get
>the odds ratio you want) to have 1=Yes and 2=No.  So it may be that you're
>getting loused up by that difference.  Why not use LOGISTIC REGRESSION to
>get both your crude and adjusted odds ratios?  To get the crude
(unadjusted)

>OR for a variable, enter it as the only explanatory variable.
>
>HTH.
>
>
>
>John wrote
>>
>> Hi,
>>
>> I would appreciate any help from the experienced here.
>>
>> I have alcohol drinking as the dependent variable. I need OR for Age,
Sex,

>> cigarette smoking, depression as independent variables.
>>
>> All are categorical variables as they have been coded
>>
>> When I used Alcohol vs each of the above variables, my OddsRatios  were
>> Age group 1 1.02
>> Age group 2 0.97
>> Age group 3 - reference group in this category
>> ______________
>> Sex (Male/ Female): 0.85
>> _____________
>> Cigarette (Yes/No): 3.54
>> _____________
>> depression (Yes/No) 1.74
>>
>> I used cross tabs, checked risk in the crosstab statistics - I got the
>> above odds ratios thus.
>>
>> ______________________________________________________
>> I wanted adjusted ratios for the same variable in the same order. I used
>>
>> click Analyze --> click Regression -> click Binary logistic -> enter in
>> Dependent variable ( alcohol) -> enter in covariates  (age, sex,
cigarette
>> smoking, depression as independent variables) -> click categorical ->
>> enter in categorical covariates age, sex, cigarette smoking,
depression ->
>> last as reference category -> click continue -> In options check CI for
>> exp
>> (B) 95% -> check display at each step -> In probability for stepwise
entry
>> (0.05) , removal (0.10) (default values) -> in classification cutoff 0.5
>> (default value this one also) -> Maximum Iterations (20) (default
value) -

>>> check include constant in model -> click on continue -> click on ok ->
>> from output, I am choosing Exp(B) as adjusted odds ratio
>>
>> From the output the adjusted odds ratios were (I am giving the numbers
>> below Exp(B) in the output tables)
>> Age group1 1.12
>> Age group2 1.06
>> Sex 1.08
>> cigarette smoking 0.73
>> depression 0.71
>>
>> My questions for the group:
>>
>> 1, Am I doing the correct procedure  in SPSS by using cross tabs (risk)
>> for odds ratios and logistic regression (for adjusted odds ratios)? All
I
>> need are the odds ratios and the adjusted odds ratios.
>> 2, Obviously the main problem is the numbers for cigarette smoking and
>> depression are so different for odds ratio and adjusted odds ratio. Can
>> the adjusted ratio be so much different than odds ratio?
>>
>> I am using the same dataset. The sample size of the total data set is
big
>> (n=5500) and the n for each of the answers of each variables are big
>> enough. There is no problem with the sample sizes for each variable. I
am

>> using point and click buttons in SPSS 19 version, unfortunately I don't
>> know coding to use syntax for output.
>>
>> I will appreciate any help. Thanks,
>>
>> John
>>
>> =====================
>> To manage your subscription to SPSSX-L, send a message to
>> LISTSERV@.UGA (not to SPSSX-L), with no body text except the
>> command. To leave the list, send the command
>> SIGNOFF SPSSX-L
>> For a list of commands to manage subscriptions, send the command
>> INFO REFCARD
>>
>
>
>-----
>--
>Bruce Weaver
>[hidden email]
>http://sites.google.com/a/lakeheadu.ca/bweaver/
>
>"When all else fails, RTFM."
>
>NOTE: My Hotmail account is not monitored regularly.
>To send me an e-mail, please use the address shown above.
>
>--
>View this message in context: http://spssx-
discussion.1045642.n5.nabble.com/Odds-Ratio-Adjusted-OR-
tp5065253p5065283.html
>Sent from the SPSSX Discussion mailing list archive at Nabble.com.
>
>=====================
>To manage your subscription to SPSSX-L, send a message to
>[hidden email] (not to SPSSX-L), with no body text except the
>command. To leave the list, send the command
>SIGNOFF SPSSX-L
>For a list of commands to manage subscriptions, send the command
>INFO REFCARD

Thanks, Bruce and Ryan.

Bruce, I have a question for you please. Thanks for mentioning me to code
1 and 0 for the dependent variable. I coded 1 and 2.

How about for the independent variables? Should I use 0 for independent
variables also?

My codes are:
Age group 1 = 1
Age group 2 = 2
Age group 3 = 3
Age group 4 = 4
Sex Male = 1
Female = 2
Cigarette Yes = 1
No = 2
depression yes = 1, no =2

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD