SCORE
<options> ;
The SCORE statement creates a data set that contains all the data in the DATA= data set together with posterior probabilities and, optionally, prediction confidence intervals. Fit statistics are displayed on request. If you have binary response data, the SCORE statement can be used to create a data set containing data for the ROC curve. You can specify several SCORE statements. FREQ, WEIGHT, and BY statements can be used with the SCORE statements. Weights do not affect the computation of predicted probabilities, their confidence limits, or the predicted response level. Weights affect some fit statistics as described in Fit Statistics for Scored Data Sets. The SCORE statement is not available with the STRATA statement.
If a SCORE statement is specified in the same run as fitting the model, FORMAT statements should be specified after the SCORE statement in order for the formats to apply to all the DATA= and PRIOR= data sets in the SCORE statement.
See the section Scoring Data Sets for more information, and see Example 58.15 for an illustration of how to use this statement.
Table 58.10 summarizes the options available in the SCORE statement.
Table 58.10: SCORE Statement Options
Option |
Description |
---|---|
Specifies the significance level |
|
Outputs the Wald-test-based confidence limits |
|
Outputs the cumulative predicted probabilities |
|
Names the SAS data that you want to score |
|
Displays fit statistics |
|
Names the SAS data set that contains the predicted information |
|
Names the SAS data set that contains the ROC curve |
|
Names the SAS data set that contains the priors of the response categories |
|
Specifies the prior event probability |
|
Specifies the criterion for grouping estimated event probabilities |
You can specify the following options: