Академический Документы
Профессиональный Документы
Культура Документы
OUTPUT Statement
OUTPUT OUT=SAS-data-set < keyword ... keyword > ;
The OUTPUT statement creates a new SAS data set containing diagnostic measures
calculated after fitting the model.
You can request a variety of diagnostic measures that are calculated for each observation
in the data set. The new data set contains the variables specified in the MODEL statement
in addition to the requested variables. If no keyword is present, the data set contains only
the predicted values.
The names of the new variables that contain the statistics are formed by using a prefix of
one or more characters that identify the statistic, followed by an underscore (_), followed
by the dependent variable name.
For example, suppose that you have a dependent variable y, and you specify the
keywords PRED and ADIAG. In this case, the output SAS data set will contain the
variables P_y and ADIAG_y.