Date: Thu, 17 Oct 1996 11:29:15 -0400
Reply-to: "Ioannis C. Dimakos" <idimakos@MAILBOX.SYR.EDU>
From: "Ioannis C. Dimakos" <idimakos@MAILBOX.SYR.EDU>
Subject: PROC LOGISTIC question
To: Multiple recipients of list SAS-L <SAS-L@VM.MARIST.EDU>
A colleague is using PROC LOGISTIC with a model statement:
model y=x1 x2 x3 x4,
where y is group membership (0/1) and x1-x4 regular SES variables. The
question to which we could not find an answer is: "Can SAS report not only on
the effect of var. x2 on the outcome "y", but on the effect of various levels
of x2 (1, 2, 3, 4) on y?"
X2 represents "college level" and takes one of 4 possible values:
Any ideas, suggestions would be appreciated.
First, you may consider using 3 dummy variables to represent 4
possible college levels. Second, if you treat X2 as an ordinal
variable, you can use UNITS statement to calculate odds ratios
corresponding to increase in different unit (1,2, or 3).
Chun Huang, Ph.D.
Hawaii Osteoporosis Center
401 Kamakee St.
Honolulu, HI 96814
Phone #: 808-592-2635