CODE
<options> ;
The CODE statement enables you to write SAS DATA step code for computing predicted values of the fitted model either to a file or to a catalog entry. This code can then be included in a DATA step to score new data.
Table 54.2 summarizes the options available in the CODE statement.
Table 54.2: CODE Statement Options
Option |
Description |
---|---|
Names the catalog entry where the generated code is saved |
|
Retains the dummy variables in the data set |
|
Computes the error function |
|
Names the file where the generated code is saved |
|
Specifies the numeric format for the regression coefficients |
|
Specifies the group identifier for array names and statement labels |
|
Imputes predicted values for observations with missing or invalid covariates |
|
Specifies the line size of the generated code |
|
Specifies the algorithm for looking up CLASS levels |
|
Computes residuals |
For more information about the syntax of the CODE statement, see the section CODE Statement in Chapter 19: Shared Concepts and Topics.