ODDSRATIO <'label'> variable </ options>;
The ODDSRATIO statement produces odds ratios for variable
even when the variable is involved in interactions with other covariates, and for classification variables that use any parameterization.
You can also specify variables on which constructed effects
are based, in addition to the names of COLLECTION
or MULTIMEMBER
effects. You can specify several ODDSRATIO statements.
If variable
is continuous, then the odds ratios honor any values specified in the UNITS
statement. If variable
is a classification variable, then odds ratios comparing each pairwise difference between the levels of variable
are produced. If variable
interacts with a continuous variable, then the odds ratios are produced at the mean of the interacting covariate by default.
If variable
interacts with a classification variable, then the odds ratios are produced at each level of the interacting covariate by
default. The computed odds ratios are independent of the parameterization of any classification variable.
The odds ratios are uniquely labeled by concatenating the following terms to variable
:
If this is a polytomous response model, then prefix the response variable and the level describing the logit followed by a colon; for example, "Y 0:".
If variable
is continuous and the UNITS statement provides a value that is not equal to 1, then append "Units=value"; otherwise, if variable
is a classification variable, then append the levels being contrasted; for example, "cat vs dog".
Append all interacting covariates preceded by "At"; for example, "At X=1.2 A=cat".
If you are also creating odds ratio plots, then this label is displayed on the plots (see the PLOTS option for more information). If you specify a 'label' in the ODDSRATIO statement, then the odds ratios produced by this statement are also labeled: 'label', 'label 2', 'label 3',…, and these are the labels used in the plots. If there are any duplicated labels across all ODDSRATIO statements, then the corresponding odds ratios are not displayed on the plots.
The following options are available: