|
Chapter Contents |
Previous |
Next |
| The LOGISTIC Procedure |


A similar calculation shows that the odds of an event for those
without the risk factor is
. The odds ratio is
defined as the ratio of the odds for those with the risk factor
to the odds for those without the risk factor, and it is given by

Suppose the values of the dichotomous risk factor are coded
as constants a and b instead of 0 and 1. The odds when
X = a becomes
, and the odds when
X = b becomes
. The odds ratio
corresponding to an increase in X from a to b is
![\psi = \exp[(b - a) \beta] = [\exp(\beta)]^{b-a} \equiv [\exp(\beta)]^c](images/lgseq131.gif)
In the displayed output of PROC LOGISTIC,
the "Analysis of Maximum Likelihood
Estimates" table contains an Odds Ratio column with values
.That is,
these odds ratios correspond to a unit increase in the
risk factors. To customize odds ratios for specific units of change,
you can use the
UNITS statement to specify a
list of relevant units for each explanatory variable in the model.
Estimates of these customized odds ratios are given in a separate table.
Confidence intervals for the odds ratios are derived from those
for the corresponding parameter estimates. Let (Lj,Uj)
be either
the likelihood ratio-based or Wald confidence
interval for
. The corresponding lower and
upper confidence limits for the customized odds ratio
are exp[cLj]
and exp[cUj], respectively (for c>0),
or exp[cUj] and exp[cLj], respectively (for c<0).
You use the CLODDS= option to request the confidence intervals
for the odds ratios.
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.