


This section describes how predicted probabilities and confidence limits are calculated by using the maximum likelihood estimates (MLEs) obtained from PROC LOGISTIC. For a specific example, see the section Getting Started: LOGISTIC Procedure. Predicted probabilities and confidence limits can be output to a data set with the OUTPUT statement.
For a vector of explanatory variables
, the linear predictor
![\[ \eta _ i= g(\Pr (Y\leq i~ |~ \mb{x})) = \alpha _{i}+\mb{x}’\bbeta \quad 1 \leq i \leq k \]](images/statug_logistic0355.png)
is estimated by
![\[ \hat{\eta }_ i={\widehat{\alpha }_{i}}+\mb{x}’{\widehat{\bbeta }} \]](images/statug_logistic0356.png)
where
and
are the MLEs of
and
. The estimated standard error of
is
, which can be computed as the square root of the quadratic form
, where
is the estimated covariance matrix of the parameter estimates. The asymptotic
confidence interval for
is given by
![\[ \hat{\eta }_ i\pm z_{\alpha /2}\hat{\sigma }({\hat{\eta }}_ i) \]](images/statug_logistic0363.png)
where
is the
th percentile point of a standard normal distribution.
The predicted probability and the
confidence limits for
are obtained by back-transforming the corresponding measures for the linear predictor, as shown in the following table:
|
Link |
Predicted Probability |
100(1– |
|---|---|---|
|
LOGIT |
|
|
|
PROBIT |
|
|
|
CLOGLOG |
|
|
The CONTRAST
statement also enables you to estimate the exponentiated contrast,
. The corresponding standard error is
, and the confidence limits are computed by exponentiating those for the linear predictor:
.
For a vector of explanatory variables
, define the linear predictors
, and let
denote the probability of obtaining the response value i:
![\[ \pi _ i = \left\{ \begin{array}{ll} \pi _{k+1} {e}^{\eta _ i} & 1\le i\le k \\ \displaystyle \frac{1}{1+\sum _{j=1}^{k} {e}^{\eta _ j}} & i=k+1 \end{array} \right. \]](images/statug_logistic0379.png)
By the delta method,
![\[ \sigma ^2({\pi }_ i) = \biggl ( \frac{\partial \pi _ i}{\partial \bbeta } \biggr )’ \bV ({\bbeta }) \frac{\partial \pi _ i}{\partial \bbeta } \]](images/statug_logistic0380.png)
A 100(1
)% confidence level for
is given by
![\[ {\widehat{\pi }}_ i \pm z_{\alpha /2} \hat{\sigma }({\widehat{\pi }}_ i) \]](images/statug_logistic0382.png)
where
is the estimated expected probability of response i, and
is obtained by evaluating
at
.
Note that the contrast
and exponentiated contrast
, their standard errors, and their confidence intervals are computed in the same fashion as for the cumulative response models,
replacing
with
.