OUTPUT
<OUT=SAS-data-set> <keyword=name> …<keyword=name> ;
The OUTPUT statement creates a new SAS data set containing statistics calculated after fitting the model. At least one specification of the form keyword=name is required.
All variables in the original data set are included in the new data set, along with the variables created as options for the OUTPUT statement. These new variables contain fitted values and estimated quantiles. If you want to create a SAS data set in a permanent library, you must specify a two-level name. For more information about permanent libraries and SAS data sets, see SAS Language Reference: Concepts. Each OUTPUT statement applies to the preceding MODEL statement. See Example 51.1 for illustrations of the OUTPUT statement.
The following specifications can appear in the OUTPUT statement:
The keywords allowed and the statistics they represent are as follows:
Table 51.11: Types of Value Lists
Type of List |
Specification |
|
---|---|---|
List separated by blanks |
.2 .4 .6 .8 |
|
List separated by commas |
.2,.4,.6,.8 |
|
x to y |
.2 to .8 |
|
x to y by z |
.2 to .8 by .1 |
|
Combination of methods |
.1,.2 to .8 by .2 |