Click on the link below for relevant information regarding logistic regression:

http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0705C&L=sas-l&P=R12617Ryan

On Tue, Dec 21, 2010 at 4:04 PM, Bruce Weaver <

[hidden email]> wrote:

> Bruce Weaver wrote:

>>

>>

>> waqas imran wrote:

>>>

>>> May any body tell me the Command to calculate unadjusted and adjusted

>>> ODDS Ratio in SPSS. I have earch alot in the software but i haven't found

>>> it yet. Help me please.

>>>

>>> Thank You

>>>

>>

>> Look up LOGISTIC REGRESSION. Exp(B) = the odds ratio. for unadjusted (or

>> crude) odds ratios, run a model with only one explanatory variable; for

>> adjusted odds ratios, add the variables you wish to adjust for to the

>> model.

>>

>>

>

> I should have added that you must have exactly the same cases going into the

> two models. One way to ensure that is to run a single LOGISTIC REGRESSION

> command with multiple /ENTER sub-commands. E.g.,

>

> LOGISTIC REGRESSION VARIABLES Y

> /METHOD=ENTER X

> /METHOD=ENTER C

> /PRINT=CI(95)

> .

>

> Here, Y is the binary dependent variable (with values of 0 or 1); X is the

> explanatory variable of primary interest; and C is some other variable you

> wish to control for. For this syntax, both X and C are continuous

> variables.

>

> For any categorical explanatory variables, you'd have to add /CONTRAST

> sub-commands. E.g., the following syntax treats both X and C as categorical

> (with the first level of each as the reference category).

>

> LOGISTIC REGRESSION VARIABLES Y

> /METHOD=ENTER X

> /METHOD=ENTER C

> /CONTRAST (X)=Indicator(1)

> /CONTRAST (C)=Indicator(1)

> /PRINT=CI(95)

> .

>

>

>

> -----

> --

> 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-tp3313037p3314100.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

>

=====================

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