Computing and saving predicted probabilities and their confidence intervals in PROC LOGISTIC


Predicted probabilities for each observation can be saved in a data set by using the P= or PREDPROBS= option in the OUTPUT statement. Typically, the PREDPROBS= option is preferred for these reasons:

For more information about the PREDPROBS= option, see "Details of the PREDPROBS= Option" in the Syntax: OUTPUT Statement section of the PROC LOGISTIC documentation.

Upper and lower confidence limits can also be added to the output data set by specifying the U= and L= options in the OUTPUT statement. Predicted probabilities and their confidence limits are computed as shown in "Linear Predictor, Predicted Probability, and Confidence Limits" in the Details section of the PROC LOGISTIC documentation.

For examples and more discussion, see the Allison reference.