SCORE Statement
- SCORE DATA=SAS-data-set OUT=SAS-data-set
;
The SCORE statement
calculates predicted values for a new data set. The variables generated
by the SCORE statement use the same naming conventions with prefixes as the OUTPUT statement.
If you have multiple data sets to predict, you can specify multiple
SCORE statements. You must use a SCORE statement for each data set.
The following options must be specified in the SCORE
statement.
-
DATA=SAS-data-set
-
specifies an input SAS data set containing all the variables included
in independent effects in the MODEL statement. The predicted response
is computed for each observation in the SCORE DATA= data set.
-
OUT=SAS-data-set
-
specifies the name of the SAS data set to contain
the predictions.
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.